Select one of two possible short reportsfor your second and

Assignment Help Operating System
Reference no: EM13362174

Select one of two possible short reports

For your second (and final) assignment in this class, I would like to ask you to design an experiment on one of two subjects, and to submit a written report, describing your experiment and your conclusions. The two subjects are as follows (again, you should choose one of these subjects, and make it the subject of your report). Each subject is presented below in the form of a speculative question. Your goal in this assignment is to think about the question posed, and describe how you would answer it. You may actually conduct your proposed experiment (which would typically involve you writing and running some test code), in which case your report may be very brief and to the point (as long as you include your code, results, and both are clearly documented). On the other hand, you may instead present an argument and offer a more speculative answer (e.g., in the form of "if [X] conditions are true, then I would expect behavior/results [Y], and my reasoning for this is [Z]." If you opt for this more narrative and anecdotal approach, your report must describe in more detail how you would go about testing your hypothesis (verifying that the statements you are making are true), and so the report would be lengthier.

A good report should not need to be longer than two to four pages. Once again, I would like to take this opportunity to remind everyone that all work must be your own, and any external sources you use to support your conclusion, or to build upon your code, must be cited as such in your report. Please submit your answers as PDFs or Text files. 

Subject 1. Page Replacement Algorithms and Block Caching

Page replacement algorithms select which page (a fixed size region of memory storing bits) to remove from RAM (and probably replace with another that has been requested, and either does not exist or is stored on disk). Meanwhile block caches hold blocks (fixed size portions of storage, storing bits) that have been brought into RAM from disk, and in managing such block caches a big decision is which block to replace when a new one is requested. In this manner, page replacement and block cache management are very similar endeavors. However, in block caching we typically have a lot more time to make our decisions (and so LRU is feasible, unlike the case for virtual memory page replacement, where it is too expensive to implement). The question I would like you to answer is this: Should you use LRU for a block cache that receives its requests from another LRU cache? If yes, why? If no, why not and what else should you use?

 

The arrangement looks as follows:

BLOCK REQUESTS ->  [ CACHE 1 ] -> CACHE1 MISSES -> [CACHE 2] -> CACHE2 MISSES

 

The original requests are presented to "cache 1." If a block is not found in "cache 1" then we have a cache miss, and the request is forwarded to "cache2." If the item is not found in "cache2" then it is another cache miss and is retrieved from the remote device. When a cache miss occurs, an item is selected from that cache and replaced by the requested item. As far as "cache 2" is concerned, the list of blocks requested is the list of all the cache misses from "cache 1." You should assume that there is no communication between cache 1 and cache 2. The question you are addressing is whether it is useful to use LRU in cache 2. Make whatever assumptions you feel are reasonable regarding the caching algorithm used in cache 1. 

Subject 2. Storing Blocks and Remembering Where You Stored Them

The second subject is related to file systems and allocation policies. A big part of designing a file system is the allocation policy, and the addressing scheme you construct for finding blocks that form a file. For the final exam, you are expected to understand the workings of contiguous, linked, allocation-table, and index-node allocation schemes. If you elect to write about this subject, I would ask that you address the following question (regarding where to place a new block's worth of data in a storage system composed of block-sized locations): Is it better to assign a written data block to a location based on a uniform random distribution, or a random distribution with a heavy skew? In this hypothetical, you are faced with a data storage device that is the size of the planet, and you are being given data to store for later retrieval. You are not told the performance goal (so that is an assumption or range of assumptions you will need to make), but are told that the application that will be requesting data blocks will do its best to make your allocation policy seem bad. In other words, the only thing you know about the future reader of your stored data blocks is that it's an adversary to your allocation policy. And so it has been suggested that you place data randomly, thereby making it difficult for this future adversary to select a pattern of reads that results in poor performance. So once again the question is: should the random selection of location be performed using a uniform distribution, or a skewed distribution? The answer may seem obvious, or impossible to determine, but either way please remember the following as you write your report: the performance goals of the system have not been specified.

As you write your answer to either question, you are free to experiment and speculate regarding both the scope of the problem and I am looking more for your process of reasoning towards any suggested answer(s), than the specific answer you reach. Your goal is not to pick the right answer, but to demonstrate in a short report that you have thought about the question.

Reference no: EM13362174

Questions Cloud

Planning my essay templatetitle pagereport title to what : planning my essay templatetitle pagereport title to what extent do you agree with free market economies being more
Question if the full-employment level of y is 250 what : question if the full-employment level of y is 250 what fiscal policy might the government follow? d. suppose y 200 c
Exacta sa is a major french producer based in lyons of : exacta s.a. is a major french producer based in lyons of precision machine tools. about two-thirds of its output is
Question 1 the owner of a motel is considering outsourcing : question 1. the owner of a motel is considering outsourcing the daily room cleanup to duffys maid service. the manager
Select one of two possible short reportsfor your second and : select one of two possible short reportsfor your second and final assignment in this class i would like to ask you to
Identify how a business course you took has made you a : identify how a business course you took has made you a better business leader.be specific and provide examples.identify
An office manager is concerned with declining productivity : an office manager is concerned with declining productivity. despite the fact that regularly monitors her clerical staff
Who do you believe is the most outstanding leaderwhat is : who do you believe is the most outstanding leader?what is this thing called leadership? - discussionof the people you
The bp oil spill the challenges aheadexplain what is your : the bp oil spill the challenges aheadexplain what is your interpretation of what happened in the bp oil spill and how

Reviews

Write a Review

Operating System Questions & Answers

  Handling the situation as a system administrator team leader

While working with the System Administration group, they tell you that a huge part of the administrator's duties focus on troubleshooting troubles within the network.

  Designing crow foot e-r diagram

Make an IE Crow's Foot E-R diagram for the entities section and employee and the 1:N relationship between them. Suppose that a section/department does not require to have an employee.

  Program of law of total probability

Think about a system that generates ten million audit records every day. Also suppose that there are on average 10 attacks per day on this system and that each such attack is reflected in twenty records.

  Ddos attack on router

Recently had a DDoS attack on border router. Discuss how would you estimate where the attack came from and what would you put in place to save it from happening again?

  C language program to remove vowels from text

Create a function isvowel() that test whether or not character is a vowel. Use function in a program that reads standard input document and writes to the standard output document,

  Consider a version of the bounded buffer problem

Consider a version of the bounded buffer problem in which there is two producer processes (P1and P2) and one consumer processes (P3) all sharing the same buffer. Assume that the size of the buffer is n=4, and that we start with a completely empty buf..

  Central role of information systems in organisations

Information systems have become so integrated into the UK society and economy that the cashless society is a realistic possibility within the next 25 years.

  Describe three solutions to critical section problem

Describe three solutions to critical section problem Explain the different methods used to handle deadlocks Distinguish between "No preemption" and "circular wait" in deadlocks prevention

  How does interrupt disabling provide mutual exclusion

In Peterson's Algorithm, if both processes want to enter the critical section, can one process repeatedly use the critical section if both have reached the while loops? Explain.

  Question about throughput and capacity

Throughput and capacity are determining factors for effectiveness of a system more so than processor speed?

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Question about about telecommunications

Think about a simple telephone network consisting of two end offices and one intermediate switch with a 1-MHz full-duplex trunk in each end office and the intermediate switch.

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