Task 1nbspon a fictitious computer of 32 bits paging memory

Assignment Help Operating System
Reference no: EM13371107

Task 1 

On a fictitious computer of 32 bits, paging memory management system is used to manage its main memory (physical memory), 1G in size. In this computer, all the main memory can be used for user processes (i.e., ignoring the memory requirement for the operating system). A program requires an array of 512 elements, and each element requires 4M memory. To run this program, 2G memory space is thus needed for the array:

4M×512 = 22×220 ×29 =2×230=2G

For this assignment, we use this measure system: 

1K=210=1024, 

1M=1K×1K=210×210=220, and

1G=1K×1M=210×220=230

Explain how the computer system accommodating the 2G memory requirement by only using 1G physical memory. Assume that the page size is 4M, and so is the page frame size (This extraordinarily big size is chosen to make the calculation easier in this assignment task).

1. Explain what logic memory addresses are, what physical memory addresses are, and the relationship between them.

2. What are pages, page frames, page faults, and a page table?

3. In this computer system, how many bits are used for page numbers, and how many bits are used for the addresses inside of a page? What is the maximum number of pages? (Hint: the sum of the bits used for the page numbers and the bits used for the addresses inside of a page should be 32).

4. What is the minimum number of page faults incurred for the program to access each element of the array at least once? What situation makes the access of an element of the array longest in terms of time, and what situation makes the access of an element of the array shortest in terms of time?

Task 2

You are given 4 hard disks, 1 Terabyte each, to build a RAID system. You should use all the 4 disks. Please explain your choice of the RAID level and the size of your RAID disk (the virtual disk presented by the RAID) under each of the 2 restrictions listed below: 

  • the maximum possible RAID disk size, or
  • the best possible read/write performance.

Advanced Level Tasks

Task 1

Write a program with the programming language of your choice and on the platform of your choice to mimic the possible page faults incurred in Task 1, Intermediate Level Tasks. Assume that you are given only 32 page frames for the array of this program (process, when in execution), and the 32 page frames are for the array only. Page replacement is done by the least recently used (LRU) policy. Each array element is visited twice by the using the 2 different manners (in different runs) listed below:

  • Consecutive visit: the first visit to an element is immediately followed by the second visit to the element, and
  • Random visit: a random delay between the first visit to an element and the second visit to the element.

Please report your program logic and the experiment outcomes:

  • How many page faults, in average, with the consecutive visit manner?
  • How many page faults, in average, with the random visit manner?

Reference no: EM13371107

Questions Cloud

Case axolotl corporation is a relatively small company in : case axolotl corporation is a relatively small company in eastern washington that produces avionic parts and equipment
Case write-up montefiore medical centerbased upon the : case write-up montefiore medical centerbased upon the activities of the hospitals heart center construct a
You are to implement a simple file system with login : you are to implement a simple file system with login authentication and access control. specificallyconstruct a
1 calculate the costsand margins of the three different : 1. calculate the costsand margins of the three different office visits usingrcc methodtdabc method2. calculate the
Task 1nbspon a fictitious computer of 32 bits paging memory : task 1nbspon a fictitious computer of 32 bits paging memory management system is used to manage its main memory
Question one herbert simon and allen newell explored human : question one herbert simon and allen newell explored human decision making management science and artificial
Task design and implement 2 projects for the falling : task design and implement 2 projects for the falling letters game using c and windows presentation foundation wpf
Each of the following six mini-case scenarios involve : each of the following six mini-case scenarios involve ethical dilemmas associated with project management. how would
Question 1much has been written in previous years about the : question 1much has been written in previous years about the politicisation of the accounting standards-setting process.

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of the electronic medical record

Explain how the effectiveness the implementation of the electronic medical record change will be determined once implemented.

  Computer privacy related question

One of the main concerns with the expanding influence of information technology is issue of personal privacy. As more and more individuals and businesses are using computers to transact business and store data the protection of individual privacy is ..

  What is cpu utilization for round-robin scheduler

when a process requests for I/O operations, it will suspend and another process will need to be selected for execution. What is the CPU utilization for a round-robin scheduler.

  Multiplexor and demultiplexor?

statistical time division multiplexing with 24 stations inputting data at 9600 bps, and assuming that only 60 percent of those stations transmit at one time, what is the minimal speed necessary for the high speed link connecting multiplexor and demul..

  Security administrators to monitor servers

Discuss techniques used by security administrators to monitor servers for security purposes? For example, how are event logs and task or system monitors used?

  Describe a client or server protocol used in everyday life

Suppose a time-sharing operating system allocated time slices of 20 milliseconds and the machine executed an average of 5000 instructions per microsecond. How many instructions could be executed in a single time slice?

  Deadlock prevention.

Describe what changes could be made to an operating to break the conditions of non-preemption and hold and wait for deadlock prevention. What are the drawbacks of your changes?

  Analyze concepts of cryptography

You have been asked through the Training Manager to present a lunch and learn seminar on an area within your field of expertise. You select cryptography.

  Software faults - windows xp

Analysis shows that there are about five faults per 1000 lines of code in carefully made programs, which means that one million lines of codes will have 5000 faults.

  Write a java program on professional expression assignment

Write a java program on Professional Expression Assignment

  Question about sarbanes oxley act in the us

Sarbanes-Oxley Act in the United States has greatly increased the compliance obligations of publicly traded corporations.

  When a process enters the cpu your program must now forkand

when a process enters the cpu your program must now forkand exe a stand alone child process. you must use glxgears for

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