Re: [ext3][kernels >= 2.6.20.7 at least] KDE going comatose when FS is under heavy write load (massive starvation)



Linus Torvalds wrote:

On Fri, 27 Apr 2007, John Anthony Kazos Jr. wrote:
Could[/should] this stuff be changed from ratios to amounts? Or a quick boot-time test to use a ratio if the memory is small and an amount (like tax brackets, I would expect) if it's great?

Yes, the "percentage" thing was likely wrong. That said, there *is* some correlation between "lots of memory" and "high-end machine", and that in turn tends to correlate with "fast disk", so I don't think the percentage approach is really *horribly* wrong.

The main issue with the percentage is that we do export them as such through the /proc/ interface, and they are easy to change and understand. So changing them to amounts is non-trivial if you also want to support the old interfaces - and the advantage isn't obvious enough that it's a clear-cut case.

I wonder if it would be useful if the limit was 'data we can write out in 1 (configurable) second. This would typically mean either one 50mb (depending on disk) contigous block or 100-200 scattered blocks (since the typical disk latency is about 5-10ms).

Has anyone tried something like this?

Mark
-
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: limiting Buf memory
    ... that 110MB of memory is comprised of backing store from the disk which is in the Active or Inactive states. ... It varies based mostly upon the specific tasks being run because it consists mainly the of read-only pure TEXT segments, so there is only one copy underlying in physical RAM, even if multiple instances of a process are running. ... If you really want to reduce the amount of RAM the system uses, you can set hw.physmem="256M" or whatever in /boot/loader.conf to force the system to not use all of the physical RAM available. ...
    (freebsd-questions)
  • Re: Descreasing the amount of RAM that Store.exe uses.
    ... paging to disk. ... reduce the amount of memory that store.exe is using?". ... using 100% of my RAM memory is not why I posed the question. ... RAM, which is going to be very fast, rather than only use say, half the RAM, ...
    (microsoft.public.exchange.admin)
  • Re: SLUB performance regression vs SLAB
    ... You repeatedly read zeros from a smaller disk into the same amount of ... memory, and sort that as if it were real data instead. ...
    (Linux-Kernel)
  • Detecting total and free disk/memory space
    ... I want my VB.NET-program to detect the total and used amount of disk ... space and memory of the system. ... Posted Via Usenet.com Premium Usenet Newsgroup Services ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Detecting total and free disk/memory space
    ... > I want my VB.NET-program to detect the total and used amount of disk ... > space and memory of the system. ... M S Herfried K. Wagner ...
    (microsoft.public.dotnet.languages.vb)