Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Swapon - Deferred vs. immediate swapping
@ 1997-02-03  5:00 Jeff Shervey
  1997-02-05  5:00 ` Joseph Thvedt
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Shervey @ 1997-02-03  5:00 UTC (permalink / raw)



We have a Alpha-2100 5/250 (2 processors) with 1 GB of Ram.  We were using
the default immediate swapping method that seemed to eat up tremendous
amounts of swap file space (> 1GB).  Memory always seemed to be used up -
it always seemed to be around 400 pages free.  We seemed to have problems
with the machine appearing to stall for a couple of seconds every now and
then.  While typing the cursor would freeze and then let go...and CPU usage
didn't appear to be a factor.  It even did this on the console so the IP
network was eliminated.

A DEC friend of ours told us that we should probably use the Deferred
swapping methodology.  We tried it and things appear to be much better.  We
seem to have plenty of free memory and our swap file usage is 0%.

What swapping method do other large memory UNIX alpha servers use?  Were
still running UNIX 3.2c with a ton of Oracle financial databases.  There
probably is about 400+ processes running on this machine via a ps -ef
command.  Also have HSZ-40 with 32 MB write-back cache.

Jeff Shervey (jeff.shervey@us.landisstaefa.com)



Virtual Memory Statistics: (pagesize = 8192)
  procs    memory         pages                          intr        cpu   
  
  r  w  u  act  free wire fault cow zero react pin pout  in  sy  cs  us  sy
 id
  3474 17  100K 6921  20K   1M 111K 359K  12K 124K  153  49 339 465   4   1
 96
  3474 17  100K 6801  20K  632   15  601    0   11    0  34 211 453   1   5
 94
  3474 17  100K 6801  20K  473    0  473    0    0    0  52  79 413   1   4
 95
  3474 17  100K 6797  20K  693    0  477    0    1    0 145 316 714   2   5
 93
  3474 17  100K 6797  20K  473    0  473    0    0    0  44 189 448   1   5
 94
  4473 17  100K 6797  20K  473    0  473    0    0    0  90  92 502   1   5
 95

# swapon -s
Swap partition /dev/rz0b:
    Allocated space:       117641 pages (919MB)
    In-use space:             279 pages (  0%)
    Free space:            117362 pages ( 99%)

Swap partition /dev/rz14c:
    Allocated space:       256905 pages (2007MB)
    In-use space:             250 pages (  0%)
    Free space:            256655 pages ( 99%)


Total swap allocation:
    Allocated space:       374546 pages (2926MB)
    In-use space:             529 pages (  0%)
    Available space:       374017 pages ( 99%)
# 


-- 
These comments do not necessarily reflect the views of Landis & Staefa, Inc.



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

* Re: Swapon - Deferred vs. immediate swapping
  1997-02-03  5:00 Swapon - Deferred vs. immediate swapping Jeff Shervey
@ 1997-02-05  5:00 ` Joseph Thvedt
  1997-02-10  5:00   ` David Starks-Browning
  0 siblings, 1 reply; 4+ messages in thread
From: Joseph Thvedt @ 1997-02-05  5:00 UTC (permalink / raw)



"Jeff Shervey" <jeff.shervey@us.landisstaefa.com> wrote:

[snip]

>What swapping method do other large memory UNIX alpha servers use?  Were
>still running UNIX 3.2c with a ton of Oracle financial databases.

[snip]

I'm running Oracle on an AS2100, DU 3.2C, with 640MB memory.  I
recently switched from immediate to deferred swapping.  Although my
swap numbers look much better (they dropped to zero), I haven't seen
any difference in behavior.

I gather from the docs that you have to watch your memory a bit more
closely with deferred mode.  DU is more likely to start killing off
processes when you least expect it.

---------------------
Joseph Thvedt
jthvedt@brookings.net

"Money is better than poverty, if only for financial reasons."
Woody Allen

O-




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

* Re: Swapon - Deferred vs. immediate swapping
  1997-02-05  5:00 ` Joseph Thvedt
@ 1997-02-10  5:00   ` David Starks-Browning
  1997-02-10  5:00     ` Matthew Tovey
  0 siblings, 1 reply; 4+ messages in thread
From: David Starks-Browning @ 1997-02-10  5:00 UTC (permalink / raw)
  To: Joseph Thvedt


In article <5d946j$614@news.corpcomm.net>, jthvedt@brookings.net (Joseph Thvedt) writes:
> "Jeff Shervey" <jeff.shervey@us.landisstaefa.com> wrote:
> 
> I'm running Oracle on an AS2100, DU 3.2C, with 640MB memory.  I
> recently switched from immediate to deferred swapping.  Although my
> swap numbers look much better (they dropped to zero), I haven't seen
> any difference in behavior.
> 
> I gather from the docs that you have to watch your memory a bit more
> closely with deferred mode.  DU is more likely to start killing off
> processes when you least expect it.

What can be distressing is that critical system services, like cron and/or
inetd, are the processes that are killed, not the user application which
oversubscribed the swap resources.  I think this is a serious deficiency
in Digital's implementation of deferred swap mode.

> ---------------------
> Joseph Thvedt
> jthvedt@brookings.net

=========================================================================
David Starks-Browning                         | starks@EMBL-Heidelberg.DE
Parallel Programming Consultant               |
Supercomputing Resource for Molecular Biology |
European Molecular Biology Laboratory         |
Meyerhofstrasse 1                             | tel: +49(0)6221-387 279
D-69117 Heidelberg, Germany                   | fax: +49(0)6221-387 306
=========================================================================




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

* Re: Swapon - Deferred vs. immediate swapping
  1997-02-10  5:00   ` David Starks-Browning
@ 1997-02-10  5:00     ` Matthew Tovey
  0 siblings, 0 replies; 4+ messages in thread
From: Matthew Tovey @ 1997-02-10  5:00 UTC (permalink / raw)



> > I gather from the docs that you have to watch your memory a bit more
> > closely with deferred mode.  DU is more likely to start killing off
> > processes when you least expect it.
> 
> What can be distressing is that critical system services, like cron and/or
> inetd, are the processes that are killed, not the user application which
> oversubscribed the swap resources.  I think this is a serious deficiency
> in Digital's implementation of deferred swap mode.

You've noticed this too, huh? Likewise, I've also found that when DUX
runs out of space in lazy mode, its cron and inetd that are always
killed. But you never know if something else important has been killed,
so it's reboot time again...

(Oops. A 'me too' post. Sorry folks!)

Matt
-- 
Matt Tovey 				http://wwwcn.cern.ch/~mtovey

24 hours in a day .... 24 beers in a slab .... coincidence?



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

end of thread, other threads:[~1997-02-10  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-03  5:00 Swapon - Deferred vs. immediate swapping Jeff Shervey
1997-02-05  5:00 ` Joseph Thvedt
1997-02-10  5:00   ` David Starks-Browning
1997-02-10  5:00     ` Matthew Tovey

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