path: root/c_pgms
Commit message (Collapse)AuthorAgeFilesLines
* ping_pong: spawn multiple threads, which will do locking on the same fdRaghavendra Bhat2012-01-301-10/+38
| | | | | | | | | | | This patch provides an option for the user to give the number of threds as an argument. Before, ping_pong functionlity (i.e. locking the byte range) was done in a separate single thread. With this patch depending upon the input argument, multiple threads will be spawned all of which will try to do the locking using the same fd. Change-Id: Ib68bef407d75351664a76e81474814bd703d285c Signed-off-by: Raghavendra Bhat <>
* c_pgms/threaded_io: changes to take arguments from userRaghavendra Bhat2012-01-232-61/+211
| | | | | | | | Changes to take the working directory and the time duration for which the test has to run from the user. Change-Id: I2d56b0b0b640675dd52f4f3a6f17229e3cdf5d1a Signed-off-by: Raghavendra Bhat <>
* ping_pong: allocate the memory from heap instead of using the stack addressRaghavendra Bhat2012-01-131-4/+10
| | | | | | | | | | Currently the stack address of the structure which holds information about the number of locks, fd etc is passed to the thread doing the locking. Instead of sending the stack address, allocate memory from the heap and use that address to send to the other thread. Change-Id: I417e22aee0eed1fa921982e78239147553886786 Signed-off-by: Raghavendra Bhat <>
* c_pgms/threaded_io: changes in threaded_io to print some changesRaghavendra Bhat2011-12-223-145/+398
| | | | | | | Some benchmarking related changes in threaded-io to print total attempted and successful syscalls executed. Signed-off-by: Raghavendra Bhat <>
* c_pgms/truncte_write.c: program which creates a sparse file and writes at ↵Raghavendra Bhat2011-10-052-0/+158
| | | | | | | | some offset This program creats a file if it does not exist (filename given as an argument), opens it truncates it to the size mentioned in the argument (default 5GB), then writes some data to some offset. Thus in general creates a sparse file and write into it.
* c_pgms/ping_pong: validate the arguments given properlyRaghavendra Bhat2011-09-211-6/+65
* c_pgms/ping_pong: changes in ping_pong for giving running time as an argumentRaghavendra Bhat2011-09-212-1/+211
| | | | | | | ping_pong used to run indefinitely before. Now the locking functionality is made to run in a separate thread and the main thread sleeps for the number of seconds specified as a command line argument. By default it runs for 600 seconds.
* modified fs-perf-test to allow number of files to be opened to be given as ↵Raghavendra Bhat2011-09-202-0/+127
| | | | the argument
* separate INFO filesLakshmipathi2011-08-031-0/+13
* programs to truncate a file based on path as well as fd.Raghavendra Bhat2011-07-292-0/+56
| | | | Can be enhanced to write some truncate based application.
* program for monitoring the directory and sending mailRaghavendra Bhat2011-07-131-0/+87
* benchmarking application for calculating average time creation of different ↵Raghavendra Bhat2011-07-131-0/+290
| | | | file types
* Custom c programs for locking and multithreaded fopsRaghavendra Bhat2011-07-134-0/+602