Re: [PATCH 8/8] vm: Add an tuning knob for vm.max_writeback_mb



On Tue, Sep 08, 2009 at 02:06:01PM -0400, Theodore Tso wrote:
Well, we can mostly do this now, using the XFS hack:

wbc->nr_to_write *= 4;

Which is another way of saying, we *know* the page writeback routines
are on crack, so we'll ignore their suggestion of how many pages to
write, and we'll try to write more than what they asked us to write.

(This wasn't a proposed change; it's in Linux 2.6 mainline already;
see fs/xfs/linux-2.6/xfs_aops.c, in xfs_vm_writepage). The fact that
filesystems are playing games like this should be a clear indication
that things are badly broken above....

Note that we did not put in this hack behind anyones back. The first
version from Chris was posted on fsdevel, lkml, the ext3 list and so on:

http://lkml.org/lkml/2008/10/9/237


An when we finally decided that we absolute need it it also made another
roundtrip to linux-mm to hope that we'd get something better from the VM
people:

http://article.gmane.org/gmane.comp.file-systems.xfs.general/29663

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: polkinghorne slams curious north american view of genesis
    ... To me it looks more like a suggestion however strong it may be; it is more like saying "Let him go", which may well be an expression of will - but that doesn't make it operative, does not by itself initiate any action. ... the listener will have to follow the suggestion to "let him go" - but that also means it must be within the listeners power to do so. ... And God is supposed to be the ultimate authority and all-powerful. ...
    (talk.origins)
  • Re: Am confused as to what Date = Date + 1 means?
    ... Well Dimwit, that is the Date function plus an integer. ... Are you also saying Mr Stiphout was out of line adding his suggestion about ...
    (comp.databases.ms-access)
  • Re: race result, RnR Las Vegas HM
    ... But your suggestion about the winter season misses the fact that in the ... Runs of 1:20 to 1:30 required more recovery than I had ... I suspected that more daily runs over about 45-50 mins were ... I remember George Sheehan in his later years saying he could not run 5 ...
    (rec.running)
  • Re: Notches in ground planes for multi-power multi-channel board
    ... suggestion to use tantalums is their Zen way of saying so without ... Even if they give you an ESR range it'll be in the figure section and thus typical, ...
    (sci.electronics.design)
  • Re: Return comination of Current record and next record fields
    ... I did try your last suggestion, but negleted to mention that bit. ... "It seems like you are saying that you want a sort order of the records so ... "John Spencer" wrote: ... significant fields ...
    (microsoft.public.access.queries)