Questions from Operating Systems


Q: What characteristics distinguish the various elements of a memory hierarchy?

What characteristics distinguish the various elements of a memory hierarchy?

See Answer

Q: Also in Table Q.1, it is recommended that /

Also in Table Q.1, it is recommended that / should be used sparingly, and in situations where deadlocks/livelocks cannot occur. Explain why. Table Q.1:

See Answer

Q: In Table Q.1, what should be the limitations on

In Table Q.1, what should be the limitations on the use of / Explain? Table Q.1:

See Answer

Q: Techniques like memory over commit and page sharing permit virtual machines to

Techniques like memory over commit and page sharing permit virtual machines to be allocated more resources than are physically in a single virtualization host. Does this allow the aggregate of the vir...

See Answer

Q: The discussion of eCos spinlocks included an example showing why spinlocks should

The discussion of eCos spinlocks included an example showing why spinlocks should not be used on a uni-processor system if two threads of different priorities can compete for the same spinlock. Explai...

See Answer

Q: Consider a hierarchical file system in which free disk space is kept

Consider a hierarchical file system in which free disk space is kept in a free space list. a. Suppose the pointer to free space is lost. Can the system reconstruct the free space list? b. Suggest a sc...

See Answer

Q: In UNIX System V, the length of a block is 1

In UNIX System V, the length of a block is 1 Kbyte, and each block can hold a total of 256 block addresses. Using the inode scheme, what is the maximum size of a file?

See Answer

Q: Consider the organization of a UNIX file as represented by the inode

Consider the organization of a UNIX file as represented by the inode (see Figure 12.15). Assume there are 12 direct block pointers, and a singly, doubly, and triply indirect pointer in each inode. Fur...

See Answer

Q: Which type of process is generally favored by a multilevel feedback queuing

Which type of process is generally favored by a multilevel feedback queuing scheduler—a processor-bound process, or an I/O-bound process? Briefly explain why.

See Answer

Q: Type 1 hypervisors operate directly on physical hardware without any intervening operating

Type 1 hypervisors operate directly on physical hardware without any intervening operating system. Type 2 hypervisors run as an application installed on an existing operating system. Type 1 hypervisor...

See Answer