Re: RCU red-black tree (was: Re: [PATCH 4/6] kvm tools: Add rwlock wrapper)

Ingo Molnar
2011-05-31T19:31:59Z

* Prasad Joshi <prasadjoshi124@gmail.com> wrote:

> May be the DD of 1G file was a wrong test to calculate the
> performance. Sasha had asked me to run boniee++ for performance
> numbers. [...]

It's difficult to test IO performance. One way to 'stabilize' such
measurements would be to create a 'make test io' variant, which
builds not just a simple 'Hello World!' but also an IO performance
benchmark.

The advantage of such an approach (beyond the fun of writing it)
would be that it's executed at a very predictable point in the bootup
sequence, so if you keep the whole disk image in ramdisk (in
/dev/shm/ for example) then it would allow very precise measurements
that converge very quickly with very little noise.

Thanks,

Ingo