Ask Question, Ask an Expert


Ask Operating System Expert

problem 1

Disk requests come in to disk driver for cylinders 10, 22, 20, 2, 40, 6, and 38, in that order. A seek takes 6 mes per cylinder moved. How much seek time is required for

(a) First-come, first served.

(b) Closest cylinder next.

(c) Elevator algorithm (initially moving upward).

In all cases, the arm is initially at cylinder 20.

problem 2

A slight change of the elevator algorithm for scheduling disk requests is to always scan in the similar direction, In what respect is this modified algorithm better than elevator algorithm?

problem 3

A RAID could fail if two or more of its drives crash within the short time interval. Assume that probability of one drive crashing in a given hour is p. What is the probability of a k-drive RAID failing in a given hour?

problem 4

Consider magnetic disk consisting of 16 heads and 400 cylinders. This disk is divided into four 100-cylinder zones with the cylinders in different zones containing 160, 200, 240, and 280 sectors, respectively. Suppose that each sector contains 512 bytes, average seek time between adjacent cylinders is 1 msec, and disk rotates at 7200 RPM. Compute the (a) disk capacity, (b) optimal track skew, and (c) maximum data transfer rate.

problem 5

Some operating systems give a system call rename to give a file a new name. Is there any difference at all between using this call to rename a file and just copying the file to a new file with the new name, followed by deleting the old one?

problem 6

One way to use contiguous allocation of the disk and not suffer from holes is to compact disk every time a file is removed. As all files are contiguous, copying a file needs a seek and rotational delay to read file, followed by transfer at full speed. Writing file back needs the same work. Suppose a seek time of 5 msec, a rotational delay of 4 msec, a transfer rate of 8 MB/sec, and average file size of 8 KB, (a) how long does it take to read a file into main memory then prepare it back to disk at new location? (b) Using these numbers, how long will it take to compact half of a 16-GB disk? (c) Dose compacting the disk ever make any sense?

problem 7

Free disk space could be kept track of using a free list or a bit map. Disk addresses need D bits. For a disk with B blocks, F of which are free, state condition under which free list uses less space than bitmap. For D having value 16 bits, express your answer as a percentage of the disk space that should be free.

problem 8

What will happen if the bitmap or free list containing information about free disk blocks was totally lost due to a crash? Is there any way to recover from this disaster, or is it bye-bye disk? Discuss your answers for a UNIX and the FAT-16 file system separately.

Operating System, Computer Science

  • Category:- Operating System
  • Reference No.:- M91954

Have any Question? 

Related Questions in Operating System

Coding projectcpu schedulingdesign and implement a program

Coding Project CPU Scheduling Design and implement a program that simulates a simple CPU scheduling of an operating system. Your simulator must conform to the criteria established in these specifications. 1) The simulate ...

Please address the followingprovide one advantage or one

Please address the following: Provide ONE advantage or ONE disadvantage of a Microkernel OS Design or a Monolithic OS Design. Provide support (back up your claims) for your view. The following are examples with proper ju ...

Problemnbspdescriptionflash back to flash forward see

Problem  Description: Flash Back to Flash Forward (see Chapter 1 Practice Exercise 1.2 and the OS in DevOps Discussion Area) While having a discussion with your OS DevOps team, you are approached with the situation: our ...

Scripting the gnulinux shell1 write a script that stores

Scripting the GNU/Linux Shell 1. Write a script that stores the time it takes a command (your choice of command) to run in three variables, real, user, and system, corresponding to the three default times that time print ...

Question what is operating research and its application and

Question: What is operating research and its application and scope of operating research

Question moving function outside of the kernel or even

Question: Moving function outside of the kernel or even layering the kernel may provide some benefits. How does virtualization factor into a layered vs. non-layered design discussion? Provide specfic support for your ans ...

Operating systems assignmentwe have just 3 processes p1 p2

Operating Systems Assignment We have just 3 processes, P1, P2 and P3, and they arrive at 1, 15 and 23 milliseconds respectively, and they each have two CPU Burst as follows (there are no I/O Bursts). P1: 10 3 P2: 5 12 P3 ...

Questionwhen designing a kernel with rudimentary

Question: When designing a kernel with rudimentary functionality, what are the required services? Justify your answer and provide an example. provide atleast 15 lines. do the best. need reference which is good.

Outcomes1 evaluate process management techniques2 analyse

Outcomes: 1. Evaluate process management techniques. 2. Analyse different memory management strategies. 3. Become aware of the issues of operating systems in regards storage management. 4. Analyse the issues of protectio ...

Questionin the context of the os design discussions there

Question: In the context of the OS design discussions there is a dependence on the goal of the system and the environment. This is a very important aspect of any systems design. One can argue for or against a function, b ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen