lkml.org 
[lkml]   [1997]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: More on 2.1.65 slowdown (disc thrashing)
On 21 Nov 1997, Andi Kleen wrote:

> syslogd is the most prominent user of fsync() and log files tend to grow
> big..

Also, they tend to be _appended_ to... Usually only one block
would need to be synced. Couldn't there be a way of detecting
this special case.

Another strategy might be to just walk though the buffer cache
and sync all buffers associated with that file... A linear mem
walk is quite fast, and the test is very fast. We just need to
look at the 'page->inode' and see if this is the inode we want
to flush.

Rik.

----------
Send Linux memory-management wishes to me: I'm currently looking
for something to hack...


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