Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Digital Unix 4.0D & Swap Space
@ 1999-04-20  4:00 Matthew S. Blackburn
  1999-04-21  4:00 ` James Nuckolls
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew S. Blackburn @ 1999-04-20  4:00 UTC (permalink / raw)


My customer in their infinte wisdom has decided to increase the
ammount of physical ram in there system DEC Alpha 4100's from 1 GIG to
2 GIG.  With 1 GIG we were setup with 2.5 GIG of swap space and now
I'm being told we need to increase that to 5.0 GIG of swap space.  We
are running in immediate mode for swap and we are running out of swap
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
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.

Does anybody have experience with this and what are you suggestions

If possible please respond via direct email to:

matt.blackburn@haushahn.com

Regards,
Matthew S. Blackburn
Sr. Systems Engineer
Haushahn Systems & Engineers




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Digital Unix 4.0D & Swap Space
  1999-04-20  4:00 Digital Unix 4.0D & Swap Space Matthew S. Blackburn
@ 1999-04-21  4:00 ` James Nuckolls
  0 siblings, 0 replies; 2+ messages in thread
From: James Nuckolls @ 1999-04-21  4:00 UTC (permalink / raw)


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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-04-21  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-20  4:00 Digital Unix 4.0D & Swap Space Matthew S. Blackburn
1999-04-21  4:00 ` James Nuckolls

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox