Reference no: EM133325211
Assignment: Consider a paged logical address space [composed of 32 pages of .2 Kbytes each) mapped into a l-l-Tbyte physical memory space.
a. What is the format of the processors logical address
b. What is the length and width of the page table {disregarding all the control bitsj-r.i c. What is the effect on the page table if the physical memory space is reduced by half.
1 Assume that the number of page entries and page size stay the same.
a. Explain what a Race condition is. Discuss a concrete example of a race condition.
b. Why disabling interrupts is not a good mechanism to prevent race conditions? Explain and justify. Brie?y explain how Semaphores work. Explain, in detail, what an open operation must do. Consider the case of a file opened for APPETD. in a file system using a hierarchical directory structure.
2. a] {from Silberschatz} Consider a file system that uses inodes to represent files. Disk blocks are SKb in size. and a pointer to a disk block requires -l bytes. This ?le system has 12 direct disk blocks. as well as single= double and triple indirect disk blocks. What is the maximum size of a file that can be stored in this file system?
b) Explain what you can do in case {a} if you need to store a ?le that is larger than the maximum size computed. Giye an example showing how you cart define a larger file. and what the size of that file would be.