Related differences

Linux vs Unix

Ques 66. What are the criteria for choosing a process for swapping into memory from the swap device?

The resident time of the processes in the swap device, the priority of the processes and the amount of time the processes had been swapped out.

Is it helpful? Add Comment View Comments
 

Ques 67. What are the criteria for choosing a process for swapping out of the memory to the swap device?

The process?s memory resident time,
Priority of the process and
The nice value.

Is it helpful? Add Comment View Comments
 

Ques 68. What do you mean by nice value?

Nice value is the value that controls {increments or decrements} the priority of the process. This value that is returned by the nice () system call. The equation for using nice value is: Priority = (?recent CPU usage?/constant) + (base- priority) + (nice value) Only the administrator can supply the nice value. The nice () system call works for the running process only. Nice value of one process cannot affect the nice value of the other process.

Is it helpful? Add Comment View Comments
 

Ques 69. What are conditions on which deadlock can occur while swapping the processes?

</SPAN>
All processes in the main memory are asleep.
All ?ready-to-run? processes are swapped out.
There is no space in the swap device for the new incoming process that are swapped out of the main memory.
There is no space in the main memory for the new incoming process.

Is it helpful? Add Comment View Comments
 

Ques 70. What are conditions for a machine to support Demand Paging?

Memory architecture must based on Pages,
The machine must support the ?restartable? instructions.

Is it helpful? Add Comment View Comments
 

Most helpful rated by users: