edited by
452 views
0 votes
0 votes

An operating system supports a paged virtual memory, using a central processor with a cycle time of 1 microsecond. It costs an additional 1 microsecond to access a page other than the current one. Pages have 1000 words, and the paging device is a drum that rotates at 3000 revolutions per minute and transfers 1 million words per second. The following statistical measurements were obtained from the system:

  • 1 percent of all instructions executed accessed a page other than the current page.
  •  Of the instructions that accessed another page, 80 percent accessed a page already in memory. 
  •  When a new page was required, the replaced page was modified 50 percent of the time.

Calculate the effective instruction time on this system, assuming that the system is running one process only and that the processor is idle during drum transfers.

The answer given is 34us. Please anybody explain..

Also, I am getting highly frustrated over such questions. Please tell me how to solve these questions correctly?

edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
2
sripo asked Dec 28, 2018
926 views
What is the reason for Belady’s Anomaly,I am aware that it is not a stack based algorithm and for a certain set of pages it shows this anomaly where the increase in pag...
66 votes
66 votes
9 answers
4
Kathleen asked Sep 18, 2014
23,922 views
The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined bythe instruction set architecturepage sizenum...