Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: sergio@Ingres.COM (Sergio L Aponte)
Subject: Re: Swap space
Date: 2 Nov 93 17:07:00 GMT	[thread overview]
Message-ID: <1993Nov2.170700.24342@pony.Ingres.COM> (raw)
In-Reply-To: coleman.751854193@sparc1

Mike Coleman (coleman@sparc1.cstp.umkc.edu) wrote:
: mferrare@physics.adelaide.edu.au (Mark Ferraretto) writes:
: |How do you tell how much swap you have left under OSF/1  I have an alpha
: |500 that keeps on saying reached 10% of swap space or something like that.
: |There is  no pstat command so how do I do it?

: Say swapon -s.  You don't need to be root.

: Note that on a DEC OSF machine as shipped, only about 10% of your swap
: partition is usable.  Or, to put it another way, you need about ten times as
: much swap space as you would need on a typical Unix box in order to support
: the same amount of activity.

	Well, after some research, I found some info. Actually, it is explained
	in the OSF manual System Admin chapter 7 files and file systems.

	It would seem OSF on the Alpha (everywhere?) can do swapping two 
	different ways. The default one (at least on our machine), the OS
	reserves a page of swap for every modified page in memory, even if no
	swapping is been done. This caused our 64Mb mach to run out of 84Mb swap
	for the simplest of operations (like a compile), when it wasn't even
	swapping yet. You just run out of space to reserve.

	The second way is to go get a page of swap WHEN YOU NEED TO SWAP.
	The danger implied is that, under heavy load, if you need to swap and
	you ran out of swap, that process might die.

	So, we eliminated a link from /sbin/swapdefault to the swap device
	and rebooted. With the link gone, you run under method #2. With the
	link there, you run method #1. After this, we were able to compile
	programs, run Windows, etc, etc without the 10% deal...

	Off course, you assume responsability for not running out of swap...

	Hope this helps.

: -- 
: 		   Prodigy--The network for censored minds.

--
==========================================================================
Sergio L. Aponte, The ASK Group, Inc.
Internet : sergio@ingres.com
UUCP     : {sun,mtxinu,pyramid,pacbell}!ingres!sergio


  reply	other threads:[~1993-11-02 17:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2afn8a$6tl@huon.itd.adelaide.edu.au>
1993-10-29  0:23 ` Swap space Mike Coleman
1993-11-02 17:07   ` Sergio L Aponte [this message]
1993-11-03 19:47     ` Dr Marco Luchini
1993-11-05 20:44       ` Dave Cherkus
1993-11-09 18:37         ` Dan Mosedale
1994-10-21 20:48 swap space Pradeep Balachandran
1994-10-26 12:08 ` Jens Bloch Nielsen
1994-10-27 19:17   ` Tim Llewellyn
  -- strict thread matches above, loose matches on Subject: below --
1997-04-07  4:00 Swap space Jeffrey Potoff
1997-04-09  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-11-24  5:00 Swap Space Thomas Kofoed-Andersen
1999-11-24  5:00 ` Jesper Frank Nemholt
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