[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
On Thursday 16 August 2001 01:54 pm, 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.
> 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
> nearly 7 minutes to complete the dd and near the end, the cdrom drive
> light was only occasionally flickering activity (not "on" as it was at the
> start), keystrokes were delayed, refreshes were sluggish.

Most of the current use once code is for the page cache, dd if=/dev/cdrom
will read from the buffer cache, where the pages will take longer to age out.
One of the patches between 2.4.8pre7 and 2.4.8final seems to have helped a
lot here, but I'm not sure which one it was (check out the 'still buffer
cache problems' thread). I'm also not sure if the speedup was intentional,
so it might go away during future tweaks.

Rik also posted a patch in 2.4.8-ac5 that deactivates buffer cache pages
after a threshold, which should help as well (and benefit reiserfs/ext3 in

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.206 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site