lkml.org 
[lkml]   [1999]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: OOM
From
Hi,

Stephen C. Tweedie wrote:
> Without an aging mechanism of some sort, you simply do not know
> which pages are frequently used. Think of the "age" as rather being
> "count of how much it has been accessed recently" --- that's what it
> is. So you don't like aging, but want to identify frequently
> accessed pages... just how exactly do you propose to do it?

I like aging in principle, I just think the current aging algorithm is not
good enough. It isn't easy to design a better one, though ;-).

The per-process limits do nicely on single memory hogs, perhaps too nicely
(I remember running a synthesis job on a .5 GB memory Solaris machine, and
the synthesis process never got more than 200 MB RSS, the rest was swapped
out. Free memory: roughly another 200 MB. Ouch). But malicious attacks don't
care about per-process limits. They can just fork and produce new hogs.

--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/

Sent through Global Message Exchange - http://www.gmx.net

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

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