Two main techniques are used for memory management in modern computers and operating systems, as described in this module’s readings: paging and segmentation. Sometimes they are combined in a...

1 answer below »



Two main techniques are used for memory management in modern computers and operating systems, as described in this module’s readings: paging and segmentation. Sometimes they are combined in a segmentation with paging scheme.




Design a memory management scheme for a 50 bit computer architecture, using paging, segmentation or both, as described in this module's readings.




Your post should include a clear translation scheme from a 50 bit logical address to a 50 bit physical address including apicturethat shows how this translation takes place. In particular, each field of the logical address must be clearly depicted and its length in bits must be specified.




The proposed scheme must be at least somewhat realistic; for this reason, simple paging and simple segmentation schemes are automatically disqualified, due to the impossible requirements imposed on the implementation in this case (50 bits addresses).




Your proposed scheme must be different from your colleagues' schemes. If you use the same general technique (say, segmentation with paging) your scheme must be different with regard to the details, like: fields of the logical address, their size, type of paging, etc.

Answered Same DayFeb 13, 2023

Answer To: Two main techniques are used for memory management in modern computers and operating systems, as...

Amar Kumar answered on Feb 14 2023
34 Votes
For a 50-bit computer architecture, we can design a memory management scheme using both paging and segmentation. Here's how we can implement it:
Segmentation:
A programme is segmented into logical sections, each of which represents a piece of the programme that carries out a certain function. A programme could have a stack segment, a data segment, and a segment for the code. The logical address contains a segment number that is unique to each segment.
In our 50-bit computer architecture, we have a 20-bit segment field in the logical address, which can represent up to 2^20 (1,048,576) different segments. The remaining 30 bits in the logical address are used to represent the offset within the segment.
The CPU utilises the segment number to search a segment table for the base address of the segment when it needs to access a memory location. Each segment's starting location and length are listed in this table along with other details. The CPU may identify the physical address of the page table for that segment using this information.
A segment field of 20 bits and an offset field of 30 bits can be used to separate the logical address into two fields. The segment field will indicate which programme segment the address belongs to, and the offset field will indicate where in that segment the data is located.
Paging:
Paging further divides each segment into fixed-size pages, which are typically 4KB in size....
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here