public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* New readahead - ups and downs
@ 2006-06-27 13:07 Helge Hafting
       [not found] ` <20060627160624.GB6014@mail.ustc.edu.cn>
       [not found] ` <20060702235516.GA6034@mail.ustc.edu.cn>
  0 siblings, 2 replies; 8+ messages in thread
From: Helge Hafting @ 2006-06-27 13:07 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Many have noticed positive sides of the new readahead system.
I too see that, bootup is quicker and starting a big app like firefox is
also noticeable faster.

I made my own little io-intensive test, that shows a case where
performance drops.

I boot the machine, and starts "debsums", a debian utility that
checksums every file managed by debian package management.
As soon as the machine starts swapping, I also start
start a process that applies an mm-patch to the kernel tree, and
times this.

This patching took 1m28s with cold cache, without debsums running.
With the 2.6.15 kernel (old readahead), and debsums running, this
took 2m20s to complete, and 360kB in swap at the worst.

With the new readahead in 2.6.17-mm3 I get 6m22s for patching,
and 22MB in swap at the most.  Runs with mm1 and mm2 were
similiar, 5-6 minutes patching and 22MB swap.

My patching clearly takes more times this way.  I don't know
if debsums improved though, it could be as simple as a fairness
issue.  Memory pressure definitely went up.


Helge Hafting

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-07-04  1:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-27 13:07 New readahead - ups and downs Helge Hafting
     [not found] ` <20060627160624.GB6014@mail.ustc.edu.cn>
2006-06-27 16:06   ` Fengguang Wu
     [not found] ` <20060702235516.GA6034@mail.ustc.edu.cn>
2006-07-02 23:55   ` Fengguang Wu
2006-07-03 13:50   ` New readahead - ups and downs new test Helge Hafting
     [not found]     ` <20060703153930.GC5874@mail.ustc.edu.cn>
2006-07-03 15:39       ` Fengguang Wu
2006-07-03 20:36       ` Helge Hafting
2006-07-03 21:42       ` New readahead - ups and downs new test. Vm oddities Helge Hafting
     [not found]         ` <20060704012621.GA7236@mail.ustc.edu.cn>
2006-07-04  1:26           ` Fengguang Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox