Deprecated: Implicit conversion from float-string "1522026738.666" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1522026738.666" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1522026738.666" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1522026738.666" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1522026738.666" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1681887519.410" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1681887519.410" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1681887519.410" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1681887519.410" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1681887519.410" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1575437405.834" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1575437405.834" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1575437405.834" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1575437405.834" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1575437405.834" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1636609262.293" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1636609262.293" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1636609262.293" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1636609262.293" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1636609262.293" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594
Operating System: GATE CSE 2004 | Question: 21, ISRO2007-44
edited by
23,791 views
66 votes
66 votes

The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by

  1. the instruction set architecture
  2. page size
  3. number of processes in memory
  4. physical memory size
edited by

9 Answers

9 votes
9 votes

The minimum number of page frames to be allocated to a process depends upon the Instruction Set Architecture. Why? Because say an instruction requires 5 pages to operate — 1 for the instruction itself, 2 for data segment, 1 for code segment, and 1 for stack. If we allocate 4 pages to that instruction, it could never run.

Hence, ISR fixes a minimum page frame number to a running process. This is also done in an attempt to prevent thrashing.

Option A


The maximum number of frames that a process can have in the physical memory depends on Options B, C and D.

Page size and physical memory size determine the total number of frames. And the number of processes in the physical memory also play a role (in the "Equal frame allocation" algorithm)

1 votes
1 votes

Each process needs minimum number of pages based on instruction set architecture. Example IBM 370: 6 pages to handle MVC (storage to storage move) instruction
Instruction is 6 bytes, might span 2 pages.
2 pages to handle from.
2 pages to handle to

1 votes
1 votes

 

The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by

The Instruction Set architecture.

which is governed by addressing modes and instruction format.

---------------------------------------------------------------------------------------------------

Also, in Thrashing avoidance, Working set model used to determine requirement of frames for a process. before it's execution, but as working set model is not in options. the more appropriate answer is The instruction set architecture.

Answer:

Related questions

111k
views
7 answers
87 votes
Kathleen asked Sep 18, 2014
110,535 views
Identify the correct translation into logical notation of the following assertion.Some boys in the class are taller than all the girlsNote: $\text{taller} (x, y)$ is true...
22.1k
views
9 answers
47 votes
Kathleen asked Sep 18, 2014
22,066 views
In an $SR$ latch made by cross-coupling two NAND gates, if both $S$ and $R$ inputs are set to $0$, then it will result in$Q = 0, Q' = 1$$Q = 1, Q' = 0$$Q = 1, Q' = 1$Inde...
5.5k
views
3 answers
6 votes
go_editor asked Jun 10, 2016
5,529 views
The term ‘aging’ refers tobooting up the priority of the process in multi-level of queue without feedback.gradually increasing the priority of jobs that wait ...
4.1k
views
3 answers
4 votes
go_editor asked Jun 10, 2016
4,109 views
Virtual memory isPart of Main Memory only used for swappingA technique to allow a program, of size more than the size of main memory, to runPart of secondary storage used...