[lkml]   [2001]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Comment on patch to remove nr_async_pages limitA
On Tuesday 05 June 2001 23:00, Mike Galbraith wrote:
> On Tue, 5 Jun 2001, Benjamin C.R. LaHaise wrote:
> > Swapping early causes many more problems than swapping late as
> > extraneous seeks to the swap partiton severely degrade performance.
> That is not the case here at the spot in the performance curve I'm
> looking at (transition to throughput).
> Does this mean the block layer and/or elevator is having problems?
> Why would using avaliable disk bandwidth vs letting it lie dormant be
> a generically bad thing?.. this I just can't understand. The
> elevator deals with seeks, the vm is flat not equipped to do so.. it
> contains such concept.

Clearly, if the spindle a dirty file page belongs to is idle, we have

With process data the situation is a little different because the
natural home of the data is not the swap device but main memory. The
following gets pretty close to the truth: when there is memory
pressure, if the spindle a dirty process page belongs to is idle, we
have goofed.

Well, as soon as I wrote those obvious truths I started thinking of
exceptions, but they are silly exceptions such as:

- read disk block 0
- dirty last block of disk
- dirty 1,000 blocks starting at block 0.

For good measure, delete the file the last block of the disk belongs
to. We have just sent the head off on a wild goose chase, but we had
to work at it. To handle such a set of events without requiring
prescience we need to be able to cancel disk writes, but just ignoring
such oddball situations is the next best thing.

That's all by way of saying I agree with you.

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:54    [W:0.054 / U:1.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site