[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Poor I/O Performance (test program attached)
It was suggested to me to post the program with which I did my
testing. And so, by popular demand, the code is attached.
You can compile the code using: "gcc -o vmtest vmtest.c"
The command line options are described within the comments at the top
of the source file.
I ran my tests with:
dd if=/dev/zero of=bigfile count=250000 bs=4096
time vmtest file bigfile threads 10 itr 1000 blocks 32 size 1000000000
(repeat last line, altering parameters as necessary)
Michal Ostrowski
mostrows@styx.uwaterloo.ca
vmtest.c.gz