Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: James Nuckolls <jamesn@iadfw.net>
Subject: Re: Digital Unix 4.0D & Swap Space
Date: 1999/04/21	[thread overview]
Message-ID: <0B80FC85E5FF1867.7939D4963BB2C28B.B4FCA4BFC3F3F68C@library-proxy.airnews.net> (raw)
In-Reply-To: 371cdd44.441136510@news.iserv.net

On Tue, 20 Apr 1999 20:09:41 GMT, Matthew S. Blackburn <matt.blackburn@haushahn.com> wrote:

>at about 181 users.  I can get more disks installed but I'm thinking
>about changing to the deferred method of swap, so that the system
>doesn't allocate swap space up front, but when it needs it.  The
>problem with this is if we run out of space then the process
>requesting swap could be killed which may or may not crash our
>database, therefore crashing all of our users, this would not be
>liked.  I currently don't belive we are swapping that much only about
>143K paged out and 0 paged in every 15 minutes.  So if I'm reading

What does 'swapon -s' tell you?

>that correctly then I should be able to switch to immedidate mode and
>have very little swap activity.  Then monitor the situtation and
>determine if we need to add hard drives later.  Also DEC talks about
>overhead with deferred mode over immediate mode, as the system needs
>to maintain the swap space in immediate, now it stands to reason the
>more swap space the more overhead.

What we've found is that in immedidate mode, we spend a lot of time
allocating swap space we will never actually use[1].  In a few
cases (albeit extream), the performance difference was actually
noticeable.

>Does anybody have experience with this and what are you suggestions

If you find that you really aren't swapping now, and don't plan to
in the future, I would suggest moving to defered mode.




[1] The swap modes in DEC OSF are a product of the time when disk
was cheep, and ram was not.  In these cases, swaping was not
considered bad[2] DEC found that it was faster to preacclocate swap
space, which had the side affect of now allowing the the machine
to allocate more than it could possabily swap at any given point.

[2] Not that it is now, but with RAM so cheep there's really no
need to swap a lot.





      reply	other threads:[~1999-04-21  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-20  4:00 Digital Unix 4.0D & Swap Space Matthew S. Blackburn
1999-04-21  4:00 ` James Nuckolls [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