Question
1. File Systems In a certain file system, files are allocated most of their space in large blocks (16 kB) but any final, partial block
1. File Systems In a certain file system, files are allocated most of their space in large blocks (16 kB) but any final, partial block is allocated in scraps (1 kB each). Assume that 80% of the files have a size uniformly distributed between 1 B and 8 kB, and the other 20% of the files have sizes uniformly distributed between 8 kB and 1 MB. a. (3) What is the amount of wasted space as a percentage of total space allocated to files? Compare to a system that uses only blocks of 4 kB each. (Do not include i-node or directory overhead.) b. (4) Compare the data transfer rates of this system to one that uses only blocks of 4 kB each. Assume the system uses a disk that has mean seek time of 10 ms., rotational speed of 9000 RPM, and 100 sectors of 512 bytes each per track c. (4) Suppose you had to implement this in the Minix file system (FS, used generically here). What additional structures and functions would you need to handle this? Be explicit in terms of allocation and freeing of blocks and scraps, and in caching. d. (4) How would you organize the i-nodes and the rest of the files system utilities to handle file access (read/write, not access control)? Be explicit in terms of how the FS would determine how to find a specific byte in a file, what parts of the i-node the FS would have to consult, and how those elements would be used.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started