Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Operating System Expert

Now that you've implemented the OS/161 system calls, let's improve their performance. Might as well start with getpid(), since it's simple. First, brie?y describe the overhead of performing a call to getpid() (1 point). Second, propose a way to reduce this overhead by exploiting properties of the getpid() system call . Finally, will this improve performance? If so, why? If not, why not? Justify
your answer 
2.Versioning is an attractive feature for ?lesystems to provide. It means that not only does the ?lesystem provide access to the most recent ?le content through the familiar API, but also uses available disk space to store older version of ?les and directories as well as deleted ?les and directories.
Let's consider how to add this feature to the traditional hierarchical ?lesystem designs we've discussed. Here are design requirements for Our Versioned Filesystem (OVFS):
-OVFS does not track every change to every ?le. Instead, it creates periodic snapshots that record the state of the ?lesystem at a particular point in time
-OVFS provides access to old ?le versions without changing the familiar UNIX ?le API-through open(), close(), read()-with the exception that old ?le versions cannot be written to, only read from. (Attempts to open ?le versions with prepare permissions or perform prepares can fail with an error.)
-OVFS utilizes all available space to store old ?le versions. Once the disk capacity is reached, it should apply a reasonable policy to remove old versions and create space for new ?le content.
Present a design for OVFS. First, describe changes to ?lesystem naming required to support #7 without causing undue interference to users' abilities to name ?les normally  Second, describe how to perform a snapshot to store old ?le versions. Keep in mind that other ?le activity may be taking place, and consider whether you can provide a coherent snapshot of the entire ?lesystem at an exact moment in time or something more approximate.
Third, present a default policy for removing old ?le versions and argue why it is an appropriate default.
Finally, describe one performance or storage optimization that you can implement in OVFS to either reduce the disk activity or storage overhead of ?le versioning compared with the simplest approach  

Operating System, Computer Science

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

Have any Question?


Related Questions in Operating System

Question you are a security administrator responsible for

Question: You are a security administrator responsible for providing secure configuration requirements for new laptop deployments. After reading Module 2 of Certified Secure Computer User v2exercises, apply the configura ...

Research types of operating systems that are currently

Research types of operating systems that are currently available and provide a scenario in which the operating system you chose would be appropriate to be used in this situation. Explain why you think the choice you made ...

Taskyour job in this assignment is to create two virtual

Task Your job in this assignment is to create two Virtual machines each running a different but the latest distribution of Linux e.g. Ubuntu Server and CentOS. Each of these VM's is to offer services to a user base. The ...

Discussion question this research assignment will give

Discussion Question : This research assignment will give further information on the nature and workings of multi-tasking and multi-processing operating systems. All information reported in this assignment is to be in the ...

Question description of lasa in this assignment you will

Question: Description of LASA: In this assignment, you will select a real-world operating system (can be for a PC, server, tablet, handheld, or embedded device). You will introduce the operating system and its components ...

State the required answer precisely and then provide proper

State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. Briefly describe the following concepts and indicate how they are related in the context ...

Question research hex editors available for mac os and

Question : Research hex editors available for Mac OS and Linux. Based on the documentation, how easy would validating these tools be? Select at least two hex editors for each OS, and discuss what you would do to validate ...

Question state the required answer precisely and then

Question : State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. What is the purpose of the command interpreter? Why is it usually separate fr ...

Question what do you see as the major differences between

Question : What do you see as the major differences between UNIX/Linux and other operating systems, such as Windows and Mac OS X? The response must be typed, single spaced, must be in times new roman font (size 12) and m ...

Show all stepssuppose that the following processes arrive

Show all steps Suppose that the following processes arrive for execution at the times indicated. Each process will run the listed amount of time. in answering the questions, use non-preemptive scheduling and base all dec ...

  • 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

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As