From: volodya@mindspring.com
To: Rik van Riel <riel@conectiva.com.br>
Cc: Ed Tomlinson <tomlins@cam.org>, linux-mm@kvack.org
Subject: Re: [RFC] RSS guarantees and limits
Date: Fri, 23 Jun 2000 11:36:49 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.20.0006231126110.1106-100000@node2.localnet.net> (raw)
In-Reply-To: <Pine.LNX.4.21.0006231045220.4551-100000@duckman.distro.conectiva>
What about making some userspace hooks available and leaving the task to a
daemon ?
* pseudo-single mode: when memory pressure reserver a fixeed amount of
for root user owned fixed list of processes
* simple swapout algorithm (like in 2.0.x) by default
* hooks to allow a userspace program do all clever things as needed.
(partially mlocked userspace program ?)
why:
* it was a while this discussion is going on, a userspace solution will
allow more space for experimentation without risk of corrupting kernel
data
* isolate data collection and memory reclaim interfaces (I admit I am
vague on this part...) from the logic that takes decisiions
* swapping data out is expensive anyway (but reclaimation in read-only
mmaped files is not...)
* userspace daemons can differ for different setups. What is more one
can direct them to do something specific when, say, running squid,
apache or something very particular..
* when we know what to do and what works merge them back into kernel
(perhaps as kmod or perhaps as khttpd)
Vladimir Dergachev
On Fri, 23 Jun 2000, Rik van Riel wrote:
> On Thu, 22 Jun 2000, Ed Tomlinson wrote:
>
> > Just wondering what will happen with java applications? These
> > beasts typically have working sets of 16M or more and use 10-20
> > threads. When using native threads linux sees each one as a
> > process. They all share the same memory though.
>
> Ahh, but these limits are of course applied per _MM_, not
> per thread ;)
>
> regards,
>
> Rik
> --
> The Internet is not a network of computers. It is a network
> of people. That is its real strength.
>
> Wanna talk about the kernel? irc.openprojects.net / #kernelnewbies
> http://www.conectiva.com/ http://www.surriel.com/
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@kvack.org. For more info on Linux MM,
> see: http://www.linux.eu.org/Linux-MM/
>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
next prev parent reply other threads:[~2000-06-23 15:36 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-21 22:29 Rik van Riel
2000-06-22 18:00 ` John Fremlin
2000-06-22 19:12 ` Rik van Riel
2000-06-22 21:19 ` Stephen Tweedie
2000-06-22 21:37 ` Rik van Riel
2000-06-22 22:48 ` John Fremlin
2000-06-22 23:59 ` Stephen Tweedie
2000-06-23 16:08 ` John Fremlin
2000-06-22 22:39 ` John Fremlin
2000-06-22 23:27 ` Rik van Riel
2000-06-23 0:49 ` Ed Tomlinson
2000-06-23 13:45 ` Rik van Riel
2000-06-23 15:36 ` volodya [this message]
2000-06-23 15:52 ` John Fremlin
2000-06-24 11:22 ` Andrey Savochkin
2000-06-27 3:26 ` Stephen C. Tweedie
2000-06-22 14:41 [RFC] " frankeh
2000-06-22 15:31 ` Rik van Riel
2000-06-22 15:49 frankeh
2000-06-22 16:05 ` Rik van Riel
2000-06-22 16:22 frankeh
2000-06-22 16:38 ` Rik van Riel
2000-06-22 19:48 ` Jamie Lokier
2000-06-22 19:52 ` Rik van Riel
2000-06-22 20:00 ` Jamie Lokier
2000-06-22 20:07 ` Rik van Riel
2000-06-22 23:02 Mark_H_Johnson
2000-06-23 14:01 frankeh
2000-06-23 17:56 ` Stephen Tweedie
2000-06-23 18:07 frankeh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.20.0006231126110.1106-100000@node2.localnet.net \
--to=volodya@mindspring.com \
--cc=linux-mm@kvack.org \
--cc=riel@conectiva.com.br \
--cc=tomlins@cam.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox