Get premium membership and access questions with answers, video lessons as well as revision papers.
Swapping is the process of saving memory contents belonging to a particular process to a backing store
(most commonly a fast and large disk) temporarily and reloading it for continued execution.
Unfortunately, it does not permit an application requiring 16MiB of memory to run on a system with less
RAM, as the program requires the full contents of its memory to be in the physical memory at any one
time.
Titany answered the question on April 26, 2022 at 12:02
- List and describe the four memory allocation algorithms covered in lectures. Which two of the four are more commonly used in practice?(Solved)
List and describe the four memory allocation algorithms covered in lectures. Which two of the four are more commonly used in practice?
Date posted: April 26, 2022. Answers (1)
- Describe the difference between external and internal fragmentation. Indicate which of
the two are most likely to be an issues on a) a simple memory memory...(Solved)
Describe the difference between external and internal fragmentation. Indicate which of
the two are most likely to be an issues on a) a simple memory memory management machine
using base limit registers and static partitioning, and b) a similar machine using dynamic
partitioning.
Date posted: April 26, 2022. Answers (1)
- Why might filesystems managing external storage devices do write-through caching (avoid buffering writes) even though there is a detrimental affect on performance(Solved)
Why might filesystems managing external storage devices do write-through caching (avoid buffering writes) even though there is a detrimental affect on performance
Date posted: April 26, 2022. Answers (1)
- What does flushd do on a UNIX system?(Solved)
What does flushd do on a UNIX system?
Date posted: April 26, 2022. Answers (1)
- The filesystem buffer cache does both buffering and caching. Describe why buffering is
needed. Describe how buffering can improve performance (potentially to the detriment of file
system...(Solved)
The filesystem buffer cache does both buffering and caching. Describe why buffering is
needed. Describe how buffering can improve performance (potentially to the detriment of file
system robustness). Describe how the caching component of the buffer cache improves
performance
Date posted: April 26, 2022. Answers (1)
- What is the reference count field in the inode? You should consider its relationship to
directory entries in you answer(Solved)
What is the reference count field in the inode? You should consider its relationship to
directory entries in you answer
Date posted: April 26, 2022. Answers (1)
- The Berkeley Fast Filesystem (and Linux Ext2fs) use the idea of block groups. Describe what this idea is and what improvements block groups have over...(Solved)
The Berkeley Fast Filesystem (and Linux Ext2fs) use the idea of block groups. Describe what this idea is and what improvements block groups have over the simple filesystem layout of the System V file system
Date posted: April 26, 2022. Answers (1)
- What is the maximum file size supported by a file system with 16 direct blocks, single,
double, and triple indirection? The block size is 512 bytes....(Solved)
What is the maximum file size supported by a file system with 16 direct blocks, single,
double, and triple indirection? The block size is 512 bytes. Disk block numbers can be stored
in 4 bytes.
Date posted: April 26, 2022. Answers (1)
- Why might the direct blocks be stored in the inode itself?(Solved)
Why might the direct blocks be stored in the inode itself?
Date posted: April 26, 2022. Answers (1)
- How can the block count in an in order differ from the (file size / block size) rounded up to
the nearest integer. Can the block...(Solved)
How can the block count in an in order differ from the (file size / block size) rounded up to
the nearest integer. Can the block count be greater, smaller, or both
Date posted: April 26, 2022. Answers (1)
- Compare bitmap-based allocation of blocks on disk with a free block list(Solved)
Compare bitmap-based allocation of blocks on disk with a free block list
Date posted: April 26, 2022. Answers (1)
- What file allocation strategy is most appropriate for random access files?(Solved)
What file allocation strategy is most appropriate for random access files?
Date posted: April 26, 2022. Answers (1)
- What file access pattern is particularly suited to chained file allocation on disk?(Solved)
What file access pattern is particularly suited to chained file allocation on disk?
Date posted: April 26, 2022. Answers (1)
- Give an example where contiguous allocation of file blocks on disks can be used in practice(Solved)
Give an example where contiguous allocation of file blocks on disks can be used in practice
Date posted: April 26, 2022. Answers (1)
- Give a scenario where choosing a large filesystem block size might be a benefit; give an
example where it might be a hindrance(Solved)
Give a scenario where choosing a large filesystem block size might be a benefit; give an
example where it might be a hindrance
Date posted: April 26, 2022. Answers (1)
- Give an example of a scenario that might benefit from a file system supporting an append-only access write(Solved)
Give an example of a scenario that might benefit from a file system supporting an append-only access write
Date posted: April 26, 2022. Answers (1)
- Filesystems can support sparse files, what does this mean? Give an example of an
application's file organisation that might benefit from a file system's sparse file...(Solved)
Filesystems can support sparse files, what does this mean? Give an example of an
application's file organisation that might benefit from a file system's sparse file support
Date posted: April 26, 2022. Answers (1)
- Describe the general strategy behind deadlock prevention, and give an example of a practical deadlock prevention method(Solved)
Describe the general strategy behind deadlock prevention, and give an example of a practical deadlock prevention method
Date posted: April 26, 2022. Answers (1)
- What must the banker's algorithm know a priori in order to prevent deadlock?(Solved)
What must the banker's algorithm know a priori in order to prevent deadlock?
Date posted: April 26, 2022. Answers (1)
- Assuming the operating system detects the system is deadlocked, what can the operating
system do to recover from deadlock?(Solved)
Assuming the operating system detects the system is deadlocked, what can the operating
system do to recover from deadlock?
Date posted: April 26, 2022. Answers (1)