|
This program measures performance of creating a file and zeroing it using
a few different methods:
1. using the posix_fallocate() syscall
2. using mmap() and then memset()
3. writing chunks to the file (currently 4k and 8k-sized chunks)
directly calling the Linux fallocate() syscall doesn't yet work; a bug has
been filed earlier for this in the Red Hat Bugzilla, #485487
A few results from running this program on my laptop and on my desktop are put
in the results.txt file.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|