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.


We could add a new "limit" field, though. If it defaulted to 0 (unlimited)
the default behavior wouldn't change.
-
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: more on A + B
    ... There is no need to calculate the *precise* amount at ... with real production, so we have the trade-off we ... If the ratio of B is increasing to A, ... Credit Authority. ...
    (sci.econ)
  • Re: Swap space
    ... > twice the amount of RAM if you need to capture a dump for debugging. ... > If you won't ever be doing that, you may not need so much swap. ... least the size of physical memory. ...
    (freebsd-questions)
  • Re: My idea of fully-portable C code
    ... unused state in the middle of a list of values will "use the least ... amount of memory possible" only by luck, ... The only thing that counts is what the code does if used within the limits you actually specified, on a random host platform implementing standard C. ...
    (comp.arch.embedded)
  • Re: Lambda Calculus and Turing Equivalence
    ... memory of a TM exceeds the potential finite memory of a PC. ... principle compute problems that require greater storage than ... That is because the tape that Turing posited has no physical constraints. ... magically given an infinite amount of storage space." ...
    (comp.theory)
  • Re: Lambda Calculus and Turing Equivalence
    ... memory of a TM exceeds the potential finite memory of a PC. ... principle compute problems that require greater storage than ... That is because the tape that Turing posited has no physical constraints. ... magically given an infinite amount of storage space." ...
    (sci.math)