[lkml]   [2001]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: I/O causes performance problem with 2.4.8-ac3
Chris Schanzle wrote:
> This probably belongs in the "use-once" thread...
> I ran into a significant (lack of) performance situation with 2.4.8-ac3
> that does not exist with 2.4.8. Perhaps someone can shed some light on
> what happened and how to avoid it in the future.
> In other words, system had
> cached a bunch of buffers.
> Performance was excellent until I decided to "dd bs=1024k </dev/cdrom
> >somefile" a 600+MB cdrom while a kernel build was going on. It took
Such a big copy operation is exactly what "use-once" does well.
2.4.8 has use-once, 2.4.8ac3 don't have use-once.

One can construct scenarios where use-once performs worse too,
I believe this is why Alan Cox didn't want it yet.

A big copy without use-once will push everything else out of
cache, and push a lot of programs into swap in order to cache
a lot of the big copy. That's bad if the big
copy is done once and you don't really need the stuff again.
Then you want the "other" stuff to stay in cache instead.

Use-once may perform worse if stuff falls out of cache
and has to be re-read from disk.

Helge Hafting
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.055 / U:30.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site