Table of Contents
- 1 What is the problem of contiguous allocation?
- 2 Why is it advantageous to the user for an operating system to dynamically allocate its internal tables What are the penalties to the operating system for doing so?
- 3 What are the drawbacks for contiguous file allocation?
- 4 What are the advantages and disadvantages of contiguous memory allocation?
- 5 What is the main disadvantage of having the operating system support multiple file structures?
- 6 Why do many file systems avoid Recompacting and relocating files?
What is the problem of contiguous allocation?
The main disadvantage of contiguous memory allocation is memory wastage and inflexibility. As the memory is allocated to a file or a process keeping in mind that it will grow during the run. But until a process or a file grows many blocks allocated to it remains unutilized.
Why is it advantageous to the user for an operating system to dynamically allocate its internal tables What are the penalties to the operating system for doing so?
Answer: Dynamic tables allow more flexibility in system use growth— tables are never exceeded, avoiding artificial use limits. Unfortunately, kernel structures and code are more complicated, so there is more potential for bugs.
Why must the bitmap for file allocation be kept on mass storage rather than in main memory?
Why must the bit map for file allocation be kept on mass storage, rather than in main memory? It must remain consistent on disk to prevent corruption causing lost data or scrambled files.
What are the main disadvantages of associating a password with each file?
The use of passwords has a few disadvantages:
- The number of passwords are very large so it is difficult to remember the large passwords.
- If one password is used for all the files, then once it is discovered, all files are accessible; protection is on all-or-none basis.
What are the drawbacks for contiguous file allocation?
Disadvantages: Contiguous allocation method suffers internal as well as external fragmentation. In terms of memory utilization, this method is inefficient. It is difficult to increase the file size because it depends on the availability of contiguous memory.
What are the advantages and disadvantages of contiguous memory allocation?
Advantages: 1) This Memory allocation provides the direct and easy access. 3) In case of contiguous memory allocation the good performance remains a positive factor. Disadvantages: 1) For new files it is very difficult to find the spaces here.
Why have more than one file system type on a given system?
Why have more than one file system type on a given system? File systems can be designed and implemented with specific uses in mind, and optimized for those uses.
Why not make it that large and eliminate the device?
If a cache can be made as large as the device for which it is caching ( for instance, a cache as large as a disk), why not make it that large and eliminate the device? Answer: If the fast device finds the data it needs in the cache, it need not wait for the slower device.
What is the main disadvantage of having the operating system support multiple file structures?
The disadvantage of having the system provide support for defined file types is that it increases the size of the system. In addition, applications that may require different file types other than what is provided by the system may not be able to run on such systems.
Why do many file systems avoid Recompacting and relocating files?
Give three reasons why recompacting and relocation of files often are avoided. Relocation of files on secondary storage involves considerable overhead. Data blocks have to be read into main memory and written back out to their new locations.
What is the main problem with access control lists their maintenance their length their permissions all of the mentioned?
Discussion Forum
Que. | The main problem with access control lists is : |
---|---|
b. | their length |
c. | their permissions |
d. | all of the mentioned |
Answer:their length |
What are the advantages and disadvantages of contiguous allocation?