Discussion
Frame allocation among processes may be done by
Answer: B
Correct answer: equal or proportional allocation according to process size
Frames are distributed among processes chiefly by equal allocation, dividing them evenly, or proportional allocation, giving each process a share according to its size. Equal allocation is simple but wasteful: a small process receives frames it cannot use while a large one starves. Proportional allocation is better, though it takes no account of priority - a variation weights the shares by priority as well as size. A second, orthogonal distinction is between local and global replacement. Under local replacement a process may only take a frame from its own allocation, so its performance is predictable and unaffected by others; under global replacement it may take a frame from any process, which uses memory better overall but means a process’s fault rate depends on the behaviour of its neighbours. Global is more common in practice. Neither scheme prevents thrashing by itself. That requires the working set model or page-fault frequency control, which adjust allocation according to what each process is actually referencing.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development