From: Bodo Eggert <7eggert@gmx.de>
To: Bryan Henderson <hbryan@us.ibm.com>
Cc: Theodore Tso <tytso@MIT.EDU>, Bodo Eggert <7eggert@gmx.de>,
Andreas Dilger <adilger@clusterfs.com>,
Andreas Dilger <adilger@sun.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Adrian Bunk <bunk@kernel.org>, David Chinner <dgc@sgi.com>,
linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org,
linux-linux-kernel@vger.kernel.org, Ric Wheeler <ric@emc.com>,
Valerie Henson <val@vahconsulting.com>,
Valdis.Kletnieks@vt.edu
Subject: Re: [RFC] Parallelize IO for e2fsck
Date: Sat, 26 Jan 2008 00:01:20 +0100 (CET) [thread overview]
Message-ID: <alpine.LSU.0.999.0801252338460.26260@be1.lrz> (raw)
In-Reply-To: <OF1E5FD388.EC04F1B3-ON882573DB.00620670-882573DB.0063346F@us.ibm.com>
On Fri, 25 Jan 2008, Bryan Henderson wrote:
> > AIX basically did this with SIGDANGER (the signal is ignored by
> > default), except there wasn't the ability for the process to tell the
> > kernel at what level of memory pressure before it should start getting
> > notified, and there was no way for the kernel to tell how bad the
> > memory pressure actually was. On the other hand, it was a relatively
> > simple design.
>
> AIX does provide a system call to find out how much paging backing store
> space is available and the thresholds set by the system administrator.
> Running out of paging space is the only memory pressure AIX is concerned
> about. While I think having processes make memory usage decisions based
> on that is a shoddy way to manage system resources, that's what it is
> intended for.
If you start partitioning the system into virtual servers (or something
similar), being close to swapping may be somebody else's problem.
(They shouldn't have exceeded their guaranteed memory limit).
> Incidentally, some context for the AIX approach to the OOM problem: a
> process may exclude itself from OOM vulnerability altogether. It places
> itself in "early allocation" mode, which means at the time it creates
> virtual memory, it reserves enough backing store for the worst case. The
> memory manager does not send such a process the SIGDANGER signal or
> terminate it when it runs out of paging space. Before c. 2000, this was
> the only mode. Now the default is late allocation mode, which is similar
> to Linux.
This is an interesting approach. It feels like some programs might be
interested in choosing this mode instead of risking OOM.
--
The programmer's National Anthem is 'AAAAAAAAHHHHHHHH'
next prev parent reply other threads:[~2008-01-25 23:01 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9Mo9w-7Ws-25@gated-at.bofh.it>
[not found] ` <9Mo9w-7Ws-23@gated-at.bofh.it>
[not found] ` <9OdWm-7uN-25@gated-at.bofh.it>
[not found] ` <9Oi9A-5EJ-3@gated-at.bofh.it>
[not found] ` <9OiMg-6IC-1@gated-at.bofh.it>
[not found] ` <9OlqL-2xG-3@gated-at.bofh.it>
[not found] ` <9Orda-3ub-45@gated-at.bofh.it>
2008-01-24 17:32 ` [RFC] Parallelize IO for e2fsck Bodo Eggert
2008-01-24 22:07 ` Andreas Dilger
2008-01-24 23:08 ` Adrian Bunk
2008-01-24 23:40 ` Theodore Tso
2008-01-25 0:25 ` Zan Lynx
2008-01-25 11:09 ` Andreas Dilger
2008-01-26 0:55 ` Zan Lynx
2008-01-26 11:56 ` KOSAKI Motohiro
2008-01-25 18:03 ` Bryan Henderson
2008-01-25 23:01 ` Bodo Eggert [this message]
2008-01-26 1:55 ` Bryan Henderson
2008-01-26 13:21 ` Theodore Tso
2008-01-26 12:32 ` KOSAKI Motohiro
[not found] <70b6f0bf0801161322k2740a8dch6a0d6e6e112cd2d0@mail.gmail.com>
2008-01-16 21:30 ` Valerie Henson
2008-01-18 1:15 ` David Chinner
2008-01-18 1:43 ` Valerie Henson
2008-01-21 23:00 ` Andreas Dilger
2008-01-22 3:38 ` David Chinner
2008-01-22 4:17 ` Valdis.Kletnieks
2008-01-22 7:00 ` Andreas Dilger
2008-01-22 13:05 ` Alan Cox
[not found] ` <20080122144052.GC17804@mit.edu>
[not found] ` <20080128193005.GC4032@ucw.cz>
2008-01-28 19:56 ` Theodore Tso
2008-01-29 8:29 ` david
[not found] ` <20080128200105.GA4719@ucw.cz>
2008-02-03 13:51 ` KOSAKI Motohiro
2008-01-22 7:05 ` Andreas Dilger
2008-01-22 8:16 ` David Chinner
2008-01-22 17:42 ` Bryan Henderson
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=alpine.LSU.0.999.0801252338460.26260@be1.lrz \
--to=7eggert@gmx.de \
--cc=Valdis.Kletnieks@vt.edu \
--cc=adilger@clusterfs.com \
--cc=adilger@sun.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bunk@kernel.org \
--cc=dgc@sgi.com \
--cc=hbryan@us.ibm.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-linux-kernel@vger.kernel.org \
--cc=ric@emc.com \
--cc=tytso@MIT.EDU \
--cc=val@vahconsulting.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