Re: Filesystem Tests

Jamie Lokier
2003-08-09T09:33:58Z

Szakacsits Szabolcs wrote:
> I just can't believe reiser4 is so fast on an unloaded system (from the
> numbers one could also expect it's the slowest on loaded systems and JFS
> seems to be the winner on those).

reiser4 is using approximately twice the CPU percentage, but completes
in approximately half the time, therefore it uses about the same
amount of CPU time at the others.

Therefore on a loaded system, with a load carefully chosen to make the
test CPU bound rather than I/O bound, one could expect reiser4 to
complete in approximately the same time as the others, _not_ slowest.

That's why it's misleading to draw conclusions from the CPU percentage alone.

> Disks have a speed/seek limits. To be faster, one must ignore
> 'sync', do less IO (file/tail packing, compression, etc) and/or
> optimise seek times.

reiser4 literature claims that it does less IO (wandering logs) and
suggests better seek patterns (deferred allocation).

> > Another interesting statistic would be the number of blocks read and
> > written during the test.
>
> Yes, but I would collect those stats after these short term tests for an
> additional X seconds to make sure no additional "optimization" is involved
> (aka data is indeed on the disk).

Indeed. Even sync() is not guaranteed to flush the data to disk in
its final form, if the filesystem state is already committed to the
journal.

-- Jamie