Re: 2.6.9-rc1-mm1

Rick Lindsley
2004-08-27T21:59:51Z

> Rafael, what baseline release are you comparing to? I should be able
> to provide some tools to measure the effect on updatedb directly for
> both 2.6.9-rc1 and your baseline (so long as it's 2.6-based)

2.6.8.1, for example. I'd like to compate it with the 2.6.9-rc1-mm1, which
contains the Nick's scheduler (2.6.9-rc1 has the same scheduler as 2.6.8.1,
AFAIK).

Okay. A schedstats patch for 2.6.8.1 is available at

http://eaglet.rain.com/rick/linux/schedstat/patches/schedstat-2.6.8.1
or
http://oss.software.ibm.com/linux/patches/?patch_id=730

You can also pick up the program "latency.c" at

http://eaglet.rain.com/rick/linux/schedstat/v9/latency.c

With these two things in hand, you should be able to measure the latency
on 2.6.8.1 of a particular process.

A patch is not necessary for 2.6.9-rc1-mm1 (schedstats is already in there)
but you will need to config the kernel to use it. Then retrieve a slightly
different latency.c:

http://eaglet.rain.com/rick/linux/schedstat/v10/latency.c

since 2.6.9-rc1-mm1 output format is different (as you noted, it's a
different scheduler.) Then you should be able to see if the latency of
a particular process (updatedb, for instance) changes.

Rick