* swapon - Reserved spaces
@ 1999-09-20 4:00 Stano Matkovcik
1999-09-28 4:00 ` Stano Matkovcik
0 siblings, 1 reply; 4+ messages in thread
From: Stano Matkovcik @ 1999-09-20 4:00 UTC (permalink / raw)
Hi,
I would like to know a meaning of
Reserved space: ....
in swapon -s command under Total swap allocation.
Thanks,
Stano Matkovcik
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: swapon - Reserved spaces
1999-09-20 4:00 swapon - Reserved spaces Stano Matkovcik
@ 1999-09-28 4:00 ` Stano Matkovcik
1999-10-18 4:00 ` clownfish3348
0 siblings, 1 reply; 4+ messages in thread
From: Stano Matkovcik @ 1999-09-28 4:00 UTC (permalink / raw)
... 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
>
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: swapon - Reserved spaces
1999-09-28 4:00 ` Stano Matkovcik
@ 1999-10-18 4:00 ` clownfish3348
1999-10-18 4:00 ` Jim Granfield
0 siblings, 1 reply; 4+ messages in thread
From: clownfish3348 @ 1999-10-18 4:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: swapon - Reserved spaces
1999-10-18 4:00 ` clownfish3348
@ 1999-10-18 4:00 ` Jim Granfield
0 siblings, 0 replies; 4+ messages in thread
From: Jim Granfield @ 1999-10-18 4:00 UTC (permalink / raw)
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 ==-----
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-10-18 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox