Do the results vary across file-system types

Assignment Help Basic Computer Science
Reference no: EM131056535

Write a program that measures the time required to create and then remove a large number of 1-byte files from a single directory. The program should create files with names of the form xNNNNNN, where NNNNNN is replaced by a random six-digit number. The files should be created in the random order in which their names are generated, and then deleted in increasing numerical order (i.e., an order that is different from that in which they were created). The number of files (NF) and the directory in which they are to be created should be specifiable on the command line. Measure the times required for different values of NF (e.g., in the range from 1000 to 20,000) and for different file systems (e.g., ext2, ext3, and XFS). What patterns do you observe on each file system as NF increases? How do the various file systems compare? Do the results change if the files are created in increasing numerical order (x000001, x000001, x0000002, and so on) and then deleted in the same order? If so, what do you think the reason(s) might be? Again, do the results vary across file-system types?

Reference no: EM131056535

Questions Cloud

Discuss the three indicators of health : Discuss the three indicators of health: life expectancy, infant mortality, and subjective well-being for the state of Virginia in 150 words. Find out the statistics and facts about the life expectant, infant mortality and the subjective well being..
Experiment with different file and buffer sizes : Try performing these timing tests on a range of file systems (e.g., ext3, XFS, Btrfs, and JFS). Are the results similar? Are the trends the same when going from small to large buffer sizes?
What is the location : What is the location from which the 1st computer instructions are available on boot up?
Personal ethics-professional ethics : Discuss how "Personal Ethics" differ from "Professional Ethics". What do you think about these differences? How does aspirational ethics contribute to the attraction of engineering as a profession?
Do the results vary across file-system types : Write a program that measures the time required to create and then remove a large number of 1-byte files from a single directory.
The time-line of development of management theories : HI 6005: Management and Organisations in a Global Environment. Groups choose from the list of topics that are based on the lectures. However, in this assignment you must do better than recycle the lecture. You are to research your topic in more dep..
Create subnets for a typical medium-sized business : Assume you are using the 192.168.0.0/16 address block to create subnets for a typical medium-sized business with about 2000 employees.
What causes the pain or discomfort : Create a picture log of your family or friends that have habitual holding patterns. Use 10 pictures that look like they're from 10 different people. From the pictures guess what area of the body is creating the holding patter, pain or discomfort a..
Write a simple version of the chattr(1) command : Write a simple version of the chattr(1) command

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write the code for invoking a method named sendobject

Write the code for invoking a method named sendObject . There is one argument for this method which is of type Customer . Assume that there is a reference to an object of type Customer , in a variable called John_Doe . Use this reference as your a..

  Using jflap construct a turing machine

Using JFLAP construct a turing machine that does integer division for numbers in unary notation. For example your machine should execute the calculation

  Organize a charity event and insert graphics into wordpad

Include as many graphics (such as Clip Art) in your file as you like. To insert graphics into WordPad,

  What is the purpose of the finally block

How does a method declare that it can throw an exception? How does it actually throw an exception? Use Java code to illustrate your answer.

  Which machine has better mips

We are comparing the performance of two different microprocessors, M1 and M2

  Left for the address part of the instruction

a. How many bits are needed for the opcode? b. How many bits are left for the address part of the instruction? c. What is the maximum allowable size for memory?

  Indicate how an http server might apply it

find out about the programming interface for this mechanism, and indicate how an HTTP server might apply it.

  Strong understanding of polymorphic variables

In a recent task that Sam had you complete, he noticed that you struggled with Polymorphic Variables. Just to make sure that you have a strong understanding of Polymorphic Variables

  Hexadecimal and binary value of the given number

What is its value in hexadecimal if the integer is converted to a 32 bit integer - Find the decimal, hexadecimal and binary value of the given number.

  What about a 1024*768 pixel graphics screen

Assuming that it takes 2 nsec to copy a byte, how much time does it take to completely rewrite the screen of an 80 character ´ 25 line text mode memory-mapped screen? What about a 1024 ´ 768 pixel graphics screen with 24-bit color?

  What are the three major classes of guided media

)An AP may connect a wireless network to a wired network. Does the AP need to have two MAC addresses in this case? Why or why not?

  Implement the closest-pair algorithm

1. Write a program to implement the closest-pair algorithm. 2. What is the asymptotic running time of quickselect using a median-of-median-of- three partitioning strategy?

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