From: Jim Granfield <jgranfield@map.no-spam.com>
Subject: Re: swapon - Reserved spaces
Date: 1999/10/18 [thread overview]
Message-ID: <380B5E5E.1B4EAF50@map.no-spam.com> (raw)
In-Reply-To: 7ufgp3$n4l$1@nnrp1.deja.com
Immediate mode = default mode if the linked file "/sbin/swapdefault" is
there.
deferred mode = enable by removing "/sbin/swapdefault" .
see man swapon, sysadmin, or system tuning and performance manuals.
hth
clownfish3348@my-deja.com wrote:
>
> What are these two modes called?
>
> How do i check which mode i am in?
>
> Thanks,
>
> clownfish
> In article <7sqqou$anb$1@mailint03.im.hou.compaq.com>,
> "Stano Matkovcik" <stano@prosoft.sk> wrote:
> > ... from Alan:
> >
> > Tru64 UNIX (Digital UNIX or DEC OSF/1) has two modes of page/swap
> > space reservation. In the default mode, nearly every page of
> > virtual memory created has a page of swap space reserved for it,
> > to ensure that if the page needs to be written out, there will
> > be space for it. The reservation does little more than adjust
> > a counter with the actual allocation of space being held off
> > until needed.
> >
> > If the amount of reserved space exceeds 90% of the available
> > space, the kernel prints a warning to that affect.
> >
> > The other mode doesn't reserve space, but introduces the risk
> > that there won't be page/swap space available if something
> > needs it. When that happens the kernel looks for processes
> > to kill to free up their page/swap space. In the right
> > environments this other mode has advantages, but in the
> > wrong environment opens the system to an easy denial of
> > service attack.
> > --
> > Alan Rollow alan@nabeth.cxo.dec.com
> >
> > Stano Matkovcik <stano@prosoft.sk> wrote in message
> > news:7s5ah4$ep0$1@mailint03.im.hou.compaq.com...
> > > Hi,
> > >
> > > I would like to know a meaning of
> > >
> > > Reserved space: ....
> > >
> > > in swapon -s command under Total swap allocation.
> > >
> > > Thanks,
> > >
> > > Stano Matkovcik
> > >
> > >
> > >
> > >
> > >
> >
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
--
Jim Granfield
jgranfield@map.com
The Kimball Companies
East Longmeadow, Ma 01028
(413) 525-2400
PEG # 1998051103
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
prev parent reply other threads:[~1999-10-18 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-20 4:00 swapon - Reserved spaces Stano Matkovcik
1999-09-28 4:00 ` Stano Matkovcik
1999-10-18 4:00 ` clownfish3348
1999-10-18 4:00 ` Jim Granfield [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox