lkml.org 
[lkml]   [2004]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] RSS ulimit enforcement for 2.6.8
Rik van Riel wrote:
> On Thu, 5 Aug 2004, Bill Davidsen wrote:
>
>>Rik van Riel wrote:
>>
>>>The patch below implements RSS ulimit enforcement for 2.6.8-rc3-mm1.
>
>
>>Wish there was something like RSS for cache, so that one process reading
>>every inode on the planet, or doing an md5 on an 11GB file wouldn't push
>>every damn process out if it's waiting for me to finish typing a line...
>
>
> I guess that's beyond the scope of a simple patch, you may
> be interested in CKRM for something like that:
>
> http://ckrm.sf.net/

Interesting stuff.
>
> For now I'm just interested in filling out the holes in
> rlimit for the mainline kernel, as well as putting some
> simple resource enforcement things in place.
>
> I'm not about to add something complex at this stage ;)
>
I really wasn't asking that you should, just mumbling and hoping that
some VM-savvy person would say "I can do that!" and offer an elegant
solution. Given how little more cache helps for most loads on a machine
with adequate memory, it seems silly to have almost all the programs on
a 2GB machine pushed out to make room for pages read exactly once by a
program copying a 4GB file.


--
bill davidsen <davidsen@tmr.com>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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