Explain what logic memory addresses

Assignment Help Operating System
Reference no: EM1378872

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: EM1378872

Questions Cloud

Definition of journalistic integrity : Discuss a definition of journalistic integrity. Analyze policy guidelines for journalistic integrity utilizing the internet. Draft a policy guideline that you believe is important for practitioners in this field.
Discuss the media influence in promotion of a book : A novice writer wrote a moving memoir and was lucky enough to be included in the book club list of a reputable talk show host. As a result, the memoir was an overnight achievement.
Universal human principles : In studying for my final essay exam, I am thinking there are a few things about some of the philosophers that I do not completely understand
Philosophy readings on kant and mill : In my philosophy readings on Kant and Mill, I discovered Kant enlightening, but very difficult to understand in most respects.
Explain what logic memory addresses : 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 and Explain what logic memory addresses are, what physical memory addresses are..
Camus image of sisyphus : Discuss what does MacIntyre mean in his statement the good life for man is the life spent in seeking the good life for man & how is it related to Camus's picture of Sisyphus?
Question about racial discrimination : Discuss is it true that racial and sexual discrimination continues in contemporary society? If so, in what forms does this discrimination exist and how significant an influence does it have on those who are discriminated against?
Simon-newell rational decision making process : Describe how you would use the Simon-Newell rational decision making process to purchase a new vehicle. Was there bounded rationality involved? What does that mean? Be specific about your final decision. Is your decision satisficing"? What doe..
Analyzing morality associated with animals : The corporation farms are just giving the customers what they want! We are a capitalist society, so of course businesses will try to produce the most meat at lowest cost possible!

Reviews

Write a Review

Operating System Questions & Answers

  Formulate the above in terms of a linear programming problem

Formulate the above in terms of a Linear Programming problem Solve this linear program graphically. Determine the quantity of each type of toaster that will maximise the maximum profit

  Write down three parts of linux kernel version number

Write down the three parts of Linux kernel version number, and which is least probable to change? What are "BogoMIPS", and what is their significance?

  Determining race condition in protocol

What is race condition in this protocol?debitcard machine determine current value of card in dollars which is stored in value x.

  Give three advantages of virtual machine

In different communications models, communication may take place using either "message passing" or "shared memory". Distinguish between "message passing" and "shared memory", illustrating your answer with a diagram Give three advantages of virt..

  What percentage of memory-s total operating time refreshes

Consider a dynamic RAM that must be given a refresh cycle 64 times per ms. What percentage of the memory's total operating time must be given to refreshes?

  Advantages and disadvantages of major operating system

Consider the advantages and disadvantages of each major operating system that Amy might use on the Web server. In a one-page memorandum to Amy.

  Change current operating system of plant

The software house has been contacted by a Governmental Nuclear Reactor Agency that wants to change the current Operating System of their plant.

  Operating system maps user-level threads to kernel

Suppose an operating system maps user-level threads to the kernel using the many-to-many model and the mapping is done through LWPs.

  Write list of three known vulnerabilities for sql server

Using the internet as a source, compile a list of three known vulnerabilities for SQL Server on Windows operating systems and three vulnerabilities for Oracle on Unix.

  Vliw processor

VLIW processor - assembler

  Page table entries are needed for two-level paging

Assume that word 0 is part of a hole and that the highest word in memory contains valid tries are needed in the page table if traditional(one-level) paging is used? how many page table entries are needed for two-level paging, with 10 bits in ea..

  Analyse the different methods for collecting data

Analyse the different methods for collecting data Explain by taking examples 3 types of Sampling techniques.

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