From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Robert Love <rml@tech9.net>
Cc: akpm@zip.com.au, Linus Torvalds <torvalds@transmeta.com>,
riel@conectiva.com.br, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] VM strict overcommit
Date: 21 Jul 2002 01:59:21 +0100 [thread overview]
Message-ID: <1027213161.16818.65.camel@irongate.swansea.linux.org.uk> (raw)
In-Reply-To: <1027207835.1116.861.camel@sinai>
On Sun, 2002-07-21 at 00:30, Robert Love wrote:
> But "works for me" is a start and we can work on tuning it. No
> "swapless" mode will be perfect and while 65% may work for, another load
> with gross overhead may need more room.
>
> I sent you an email and told you I was doing this and asked your opinion
> on a percentage. Why are you picking on me now?
When did you send me mail - I certainly never saw it.
In terms of percentages I measured real world workloads. Its easy to
fail at apparently low values because the kernel has no kernel resource
management (beancounter never got merged) and because a process can
consume substantial real resources that are not its own address space
(page tables, kernel structures, file buffers and so forth)
Its also important to remember that executable pages are mapped
read-only and thus free. This means that the magic 50 value works on a
swapless ipaq in real use just as well as it does on a giant server.
If its actually a serious concern, eg for some of the weirder embedded
stuff you guys run at Montavista then I'd suggest changing it to have
three modes
0 and 1 as before
2 - some percentage of memory (default 50), and expose the percentage
setting by sysctl too.
That allows people to experiment, handles weird cases and deals with the
problem.
BTW: The oracle tests were not swapless, they were on a system with lots
of swap. The kernel overhead in some cases is just plain scary as I
suspect the IBM folks who have been working on large oracle setups can
testify..
next prev parent reply other threads:[~2002-07-20 23:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-20 20:20 Robert Love
2002-07-21 0:32 ` Alan Cox
2002-07-20 23:30 ` Robert Love
2002-07-21 0:59 ` Alan Cox [this message]
2002-07-20 23:56 ` Robert Love
2002-07-21 1:07 ` Alan Cox
2002-07-20 23:57 ` Robert Love
2002-07-21 1:21 ` Alan Cox
2002-07-21 0:54 ` Alan Cox
2002-07-20 23:48 ` Linus Torvalds
2002-07-21 1:05 ` Alan Cox
2002-07-21 0:09 ` Linus Torvalds
2002-07-21 0:12 ` Rik van Riel
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=1027213161.16818.65.camel@irongate.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=akpm@zip.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=riel@conectiva.com.br \
--cc=rml@tech9.net \
--cc=torvalds@transmeta.com \
/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
all inboxes | Powered by JetHome®