<feed xmlns='http://www.w3.org/2005/Atom'>
<title>alloc-perf.git, branch master</title>
<subtitle>Test performance of allocating a zeroed file via various methods on various file systems</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/amitshah/public_git/alloc-perf.git/'/>
<entry>
<title>Support for running test in current dir</title>
<updated>2009-05-21T11:52:21+00:00</updated>
<author>
<name>Amit Shah</name>
<email>amit.shah@redhat.com</email>
</author>
<published>2009-05-21T11:52:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/amitshah/public_git/alloc-perf.git/commit/?id=80e1f90b3ce141c84f3770db522c2861cbad7481'/>
<id>80e1f90b3ce141c84f3770db522c2861cbad7481</id>
<content type='text'>
The test in recent versions only worked by mounting and unmounting
partitions where the test is to be run. This was done to correctly
measure the time taken to run the tests.

However, this meant the tests can't be run on systems that don't
have a spare partition (like my development machine). Adding
support for running the test in the current working dir here so
that the program can be tested. Of course, the results should
not be trusted.

Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test in recent versions only worked by mounting and unmounting
partitions where the test is to be run. This was done to correctly
measure the time taken to run the tests.

However, this meant the tests can't be run on systems that don't
have a spare partition (like my development machine). Adding
support for running the test in the current working dir here so
that the program can be tested. Of course, the results should
not be trusted.

Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test for chunk-writing case</title>
<updated>2009-04-20T12:49:31+00:00</updated>
<author>
<name>Amit Shah</name>
<email>amit.shah@redhat.com</email>
</author>
<published>2009-04-20T12:49:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/amitshah/public_git/alloc-perf.git/commit/?id=7ea205fbf513452edc3f680120dab47a7e52f433'/>
<id>7ea205fbf513452edc3f680120dab47a7e52f433</id>
<content type='text'>
A few runs that resulted in bad timings for chunk-sized writes led Jan
Kara and Mike Galbraith to discuss why it might be so and Mike spotted
the error in the code -- we allocated a buffer of the size of the file
instead of the size of the chunk -- in my case, 4G instead of 4K.

Thanks Mike.

Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A few runs that resulted in bad timings for chunk-sized writes led Jan
Kara and Mike Galbraith to discuss why it might be so and Mike spotted
the error in the code -- we allocated a buffer of the size of the file
instead of the size of the chunk -- in my case, 4G instead of 4K.

Thanks Mike.

Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Show 'mountpoint' in usage instead of 'target'</title>
<updated>2009-04-17T17:18:11+00:00</updated>
<author>
<name>Amit Shah</name>
<email>amit.shah@redhat.com</email>
</author>
<published>2009-04-17T17:18:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/amitshah/public_git/alloc-perf.git/commit/?id=1bd92f4c1db9a406cbd49a470d7f5cc5c287e13f'/>
<id>1bd92f4c1db9a406cbd49a470d7f5cc5c287e13f</id>
<content type='text'>
Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add gnuplot script that draws bar graphs for results</title>
<updated>2009-04-15T13:45:17+00:00</updated>
<author>
<name>Amit Shah</name>
<email>amit.shah@redhat.com</email>
</author>
<published>2009-04-15T13:45:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/amitshah/public_git/alloc-perf.git/commit/?id=c2d10a4cbd48f60f70c56466f70867f867fb41ed'/>
<id>c2d10a4cbd48f60f70c56466f70867f867fb41ed</id>
<content type='text'>
The results from running the test via the run_tests.sh script are not
yet formatted the way this gnuplot script needs them to be, but when
formatted so, this script can be used to draw the bar graphs.

My knowledge on gnuplot is elementary; just about 1h worth of searching
and reading the demo files and this is a modified script I picked up
from the gnuplot website. More customisations are surely possible, like
piping the resulting image to image processors and dumping a png
directly instead of 'copy to clipboard'-&gt;paste in gimp-&gt;save.

The run_results.txt file that this script parses should look like this:

filesystem      posix-fallocate mmap    chunk-4096      chunk-8192      posix-fallocate mmap    chunk-4096      chunk-8192
ext2            74              96      761             81              33              37      37              36
ext3-writeback  87              97      202             93              34              40      39              36

The first set of 4 columns contains seconds; the 2nd set contains fragments.

Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The results from running the test via the run_tests.sh script are not
yet formatted the way this gnuplot script needs them to be, but when
formatted so, this script can be used to draw the bar graphs.

My knowledge on gnuplot is elementary; just about 1h worth of searching
and reading the demo files and this is a modified script I picked up
from the gnuplot website. More customisations are surely possible, like
piping the resulting image to image processors and dumping a png
directly instead of 'copy to clipboard'-&gt;paste in gimp-&gt;save.

The run_results.txt file that this script parses should look like this:

filesystem      posix-fallocate mmap    chunk-4096      chunk-8192      posix-fallocate mmap    chunk-4096      chunk-8192
ext2            74              96      761             81              33              37      37              36
ext3-writeback  87              97      202             93              34              40      39              36

The first set of 4 columns contains seconds; the 2nd set contains fragments.

Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add script to automate running of the test for various filesystems</title>
<updated>2009-04-14T09:30:14+00:00</updated>
<author>
<name>Amit Shah</name>
<email>amit.shah@redhat.com</email>
</author>
<published>2009-04-14T06:24:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/amitshah/public_git/alloc-perf.git/commit/?id=26b84ac17b32b85504ac2a642bea8b7ab63e2dfc'/>
<id>26b84ac17b32b85504ac2a642bea8b7ab63e2dfc</id>
<content type='text'>
This script takes care of creating a new file system, adjusting various parameters
for the fs when needed for different cases and runs the test.

Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This script takes care of creating a new file system, adjusting various parameters
for the fs when needed for different cases and runs the test.

Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Properly convert input value to GB</title>
<updated>2009-04-14T09:20:59+00:00</updated>
<author>
<name>Amit Shah</name>
<email>amit.shah@redhat.com</email>
</author>
<published>2009-04-14T08:02:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/amitshah/public_git/alloc-perf.git/commit/?id=81aafdcb3950f2afa5a03b4e94e59dc920ab2ef7'/>
<id>81aafdcb3950f2afa5a03b4e94e59dc920ab2ef7</id>
<content type='text'>
Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sync() before running any test to flush out data to disk</title>
<updated>2009-04-13T11:28:58+00:00</updated>
<author>
<name>Amit Shah</name>
<email>amit.shah@redhat.com</email>
</author>
<published>2009-04-13T11:20:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/amitshah/public_git/alloc-perf.git/commit/?id=e51793b310401340899de51f75705dee367dd62f'/>
<id>e51793b310401340899de51f75705dee367dd62f</id>
<content type='text'>
Flush out data in buffers / caches not belonging to our test. This data can
figure in our timings if the kernel decides to write them out during
our testing, so it's best to get it out beforehand.

Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Flush out data in buffers / caches not belonging to our test. This data can
figure in our timings if the kernel decides to write them out during
our testing, so it's best to get it out beforehand.

Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add pre-run and post-run routines for tests; support mounting and unmounting</title>
<updated>2009-04-13T11:28:58+00:00</updated>
<author>
<name>Amit Shah</name>
<email>amit.shah@redhat.com</email>
</author>
<published>2009-04-02T15:23:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/amitshah/public_git/alloc-perf.git/commit/?id=6e11de0a98959885c3f81f6ecc05fdb4bfe08ccd'/>
<id>6e11de0a98959885c3f81f6ecc05fdb4bfe08ccd</id>
<content type='text'>
* Support for mouting and unmounting file systems. This will
  flush out data for sure -- so the times we collect will
  reflect the time needed to actually write everything we want to
  to the disk.

* Add pre-run and post-run functions that take care of the common
  functionality needed by each test run

Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Support for mouting and unmounting file systems. This will
  flush out data for sure -- so the times we collect will
  reflect the time needed to actually write everything we want to
  to the disk.

* Add pre-run and post-run functions that take care of the common
  functionality needed by each test run

Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>License: Add COPYING file that contains the text of the GPL v2</title>
<updated>2009-04-13T11:28:36+00:00</updated>
<author>
<name>Amit Shah</name>
<email>amit.shah@redhat.com</email>
</author>
<published>2009-04-13T11:28:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/amitshah/public_git/alloc-perf.git/commit/?id=acd59b229f0b295b6c9cfdf28d405a0051189ca7'/>
<id>acd59b229f0b295b6c9cfdf28d405a0051189ca7</id>
<content type='text'>
Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ftruncate instead of lseek and write to create sparse file</title>
<updated>2009-03-19T12:52:28+00:00</updated>
<author>
<name>Amit Shah</name>
<email>amit.shah@redhat.com</email>
</author>
<published>2009-03-19T12:52:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/amitshah/public_git/alloc-perf.git/commit/?id=09517a9839f530a34971a236a3043c51c74ccf9f'/>
<id>09517a9839f530a34971a236a3043c51c74ccf9f</id>
<content type='text'>
Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Amit Shah &lt;amit.shah@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
