Compute the effective instruction time on the system, Operating System

Assignment Help:

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

  • One percent of all instructions implemented accessed a page other than the current page.
  • An instructions that accessed another page 80 percent accessed a page already in memory.
  • When a fresh page was required the replaced page was modified 50 percent of the time.

Compute the effective instruction time on this system assuming that the system is running one process only in addition to that the processor is idle during drum transfers.

Answer:

Effective access time                                                  = 0.99 × (1 μ sec + 0.008 × (2 μ sec)

+ 0.002 × (10,000 μ sec + 1,000 μ sec)

+ 0.001 × (10,000 μ sec + 1,000 μ sec)

= (0.99 + 0.016 + 22.0 + 11.0) μ sec

= 34.0 μ sec


Related Discussions:- Compute the effective instruction time on the system

Shell scripting in both a windows and unix environment, Purpose This is...

Purpose This is intended to help you develop your understanding of shell scripting in both a Windows and Unix environment. Deliverables For both the first and second op

Explain hashed page table method, Hashed page table method A general ap...

Hashed page table method A general approach for managing address spaces larger than 32 bits is to use a hashed page table with the hash values being the virtual-page number.

What is virtual file system?, What is virtual file system? A Virtual f...

What is virtual file system? A Virtual file system switch (VFS) or Virtual file system is an abstraction layer   on top of a more concrete file system. The purpose of a VFS

Explain important fuction of virtual file system, Virtual File System serve...

Virtual File System serves two important functions. 1. It divides file-system-generic operations from their execution by defining a clean VFS interface. 2. The VFS is based

search tree generated by hill-climbing search, Show the search tree genera...

Show the search tree generated by Hill-Climbing search (text figure 4.2, page 122; or Local Search lecture, slide 6) for each of the two heuristics (a) and (b) applied to the follo

Find the parent process and the child process, Q. When a process creates a...

Q. When a process creates a fresh process using the fork() operation which of the following state is shared among the parent process and the child process? 1 Stack 2 Heap

Objective, what are the objective of operating system assignment

what are the objective of operating system assignment

What is directory, What is Directory? The device directory or simply ca...

What is Directory? The device directory or simply called as directory records information-such as name, location, size, and type  for all files on that certain partition. The d

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd