Question

Q1. The logical address space in a computer system consists of 128 segments. Each segment can have up to 32 pages of 8KB each

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Total number of pages = 4K = 4000

bits required to store 4000 pages = log2(4000) = 12 bits

bits required for 128 segments = log2(128) = 7 bits

number of pages in each segment = 4000/128 = 32 approx.

number of bits required to address 32 pages ie one segment = log2(32) = 5

Maximum size of each segment is when all 32 pages are present = 32 * 5 = 160 bits = 20 bytes

Total size of all segments = 128 * 20 = 2560 bytes = 2.5 KB

Add a comment
Know the answer?
Add Answer to:
Q1. The logical address space in a computer system consists of 128 segments. Each segment can...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • In a system using paged segmentation, the logical address space of each process consists of a...

    In a system using paged segmentation, the logical address space of each process consists of a maximum of 16 segments, each of which can be up to 64 Kbytes in size. Physical pages are 512 bytes. Determine how many bits are needed to specify each of the quantities below, justifying each of your answers by demonstrating the calculations. a) Segment number (segment address) b) Number of a logical page within the segment c) Displacement within a page e) Complete logical...

  • Consider a computer system with a 32-bit logical address and 8-KB page size. The system supports...

    Consider a computer system with a 32-bit logical address and 8-KB page size. The system supports up to 1GB of physical memory. How many entries are there in a page table?

  • A computer system has a 36-bit virtual address space with a page size of 8K, and...

    A computer system has a 36-bit virtual address space with a page size of 8K, and 4 bytes per page table entry. How many pages are in the virtual address space? What is the maximum size of addressable physical memory in this system? If the average process size is 8GB, would you use a one-level, two-level, or three-level page table? Why? Compute the average size of a page table in part c above

  • A logical address is divided into 3 bits segment number, 4 bits page number, and 9...

    A logical address is divided into 3 bits segment number, 4 bits page number, and 9 bits page offset. {(s,p,w) = (3,4,9)} Answer the following questions in relation to the address space. 1) The maximum number of segments per process is given by 2) The maximum number of pages per segment is given by 3) The maximum page size is given by 4) The maximum segment size is given by 5) The maximum size of the address space is given...

  • A certain byte-addressable computer system has 32-bit words, a virtual address space of 4GB, and a...

    A certain byte-addressable computer system has 32-bit words, a virtual address space of 4GB, and a physical address space of 1GB. The page size for this system is 4 KB. Assume each entry in the page table is rounded up to 4 bytes. a) Compute the size of the page table in bytes. b) Assume this virtual memory system is implemented with a 4-way set associative TLB (Translation Lookaside Buffer) with a total of 256 address translations. Compute the size...

  • Address Translation Question [8 points] Suppose a computing system uses paging with a logical add...

    Address Translation Question [8 points] Suppose a computing system uses paging with a logical address of 24 bits and a physical address of 32 bits. The page size is 4KB. Answer each of the following. If an answer is a power of 2, you can leave it in the form of a power of 2. ... 2. [20 points] Memory address translation and TLB performance [8 points] Suppose a computing system uses paging with a logical address of 24 bits...

  • 6) Paging [26 pts] Suppose you have a computer system with a 38-bit logical address, page size of 16K, and 4 bytes per...

    6) Paging [26 pts] Suppose you have a computer system with a 38-bit logical address, page size of 16K, and 4 bytes per page table entry a) How many pages are there in the logical address space? Suppose we use two level paging and each page table can fit completely in a frame. [4 pts] How many pages? [2 pts] Show your calculations here: b) For the above-mentioned system, give the breakup of logical address bits clearly indicating number of...

  • 1. Consider a simple paging system with the following parameters: 232 bytes of physical memory; page...

    1. Consider a simple paging system with the following parameters: 232 bytes of physical memory; page size of 210 bytes; 216 pages of logical address space. How many bits are in a logical address? How many bytes are in a frame! How many bits in the physical address specify the frame? How many entries are in the page table? How many bits are in each page table entry? Assume each page table entry contains a valid/invalid bit. 2. Consider a...

  • Its multi part. please make sure to solve all parts. Consider a logical address space of...

    Its multi part. please make sure to solve all parts. Consider a logical address space of eight pages of 1024 words, each mapped onto a memory of 32 frames. c. How many bits are in the offset for the logical address d. How many bits are in the offset for the physical address e. How many bits are in the Frame Number f. How many bits are in the Page Number

  • SN 6 A system implements a paged virtual address space for each process using a one-level...

    SN 6 A system implements a paged virtual address space for each process using a one-level page table. The maximum size of virtual address space is 4KB. The page table for the running process Includes the following valid entries: Virtual Virtual page 7 - Page frame 4 Virtual Virtual page 5 - Page frame 0 Virtual Virtual page 20 - Page frame 1 Virtual Virtual page 10 - Page frame 3 Virtual Virtual page 3 - Page frame 2 The...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT