Skip to content

Creates multiple threads, which opens the same file and dos fops on their respective fds

Notifications You must be signed in to change notification settings

raghavendrabhat/threaded-io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The program creates multiple threads, where each thread opens the same file
(thus creating the file if it does not exist), and does different operations
such as read, write, stat, chown etc on their respective ids. The program runs
for 10 minutes and at the end gives the statistics of how many times each fop
is done. It also does readdir from different threads.

TODO:

Make the time configurable through the command line argument.


2> Web server:

It is a web server which shows the files and the directories present in the exported
directory.

3> Createbench:

Creates different types of the files such as directories, regular files, fifos, device files
etc, and gives the average time needed to create each type of the entry.

4> sparse:

Creates a sparse file whose size can be given as an argument (default 5GB) and the filename is also given as
an argument (creates the file if it does not exist) and then writes some data to an offset.

5> unclassified:

This directory contains the small programs written.

About

Creates multiple threads, which opens the same file and dos fops on their respective fds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published