From: cedric.van.bellingen () belgacom ! be
To: tru64-unix-managers
Subject: Balance swap space.
Date: Wed, 02 Jun 1999 13:58:08 +0000 [thread overview]
Message-ID: <96079044115495.tru64-unix-managers.marc@archive.invalid> (raw)
Hi,
Having read the archives, I found a very relevant advice from Dr. Tom Blinn
saying "I would comment that the [round-robin] algorithm works best when all
the swap partitions are of about the same size".
As I have the following situation, I wonder if my "not balanced" swap space
does come from that:
swapvol: 131MB (rz0b and rz2b)
swapvol2: 2006MB (rz1 and rz3)
swapvol3: 2006MB (rz4 and rz5)
As you can see, all swap volumes are mirrored via LSM.
Here is what my swapspace use looks like, which is quite not well balanced:
ecar2a:/etc/fdmns# swapon -s
Swap partition /dev/vol/rootdg/swapvol (default swap):
Allocated space: 16863 pages (131MB)
In-use space: 16176 pages ( 95%)
Free space: 687 pages ( 4%)
Swap partition /dev/vol/rootdg/swapvol2:
Allocated space: 256872 pages (2006MB)
In-use space: 30940 pages ( 12%)
Free space: 225932 pages ( 87%)
Swap partition /dev/vol/rootdg/swapvol3:
Allocated space: 256872 pages (2006MB)
In-use space: 23377 pages ( 9%)
Free space: 233495 pages ( 90%)
Total swap allocation:
Allocated space: 530607 pages (4145MB)
Reserved space: 229546 pages ( 43%)
In-use space: 70493 pages ( 13%)
Available space: 301061 pages ( 56%)
As we use Polycenter Console Manager, we recurrently get a message saying
the machine is running out of swap space (that is not true, except if you
only consider primary swap).
Then I think about doing a change in the configuration. I'd remove the
"swapvol" volume from /etc/fstab and change the links for /sbin/swapdefault
and /sbin/swapdefault.lsm making them pointing to swapvol2 instead of
swapvol. This way, I'd have 2*2 Gb Swap space instead of 1*130 Mb and 2*2
Gb.
We run DU4.0D PK2.
Have any of you been facing similar problem and give some comment and/or
procedure? I'll summarize.
TIA.
Cedric.
____________________
Cedric Van Bellingen
Belgacom - ISD
UNIX System Group - DEC/Compaq
mailto:cedric.van.bellingen@belgacom.be
tel: 02/2445996 fax: 02/2446089
next reply other threads:[~1999-06-02 13:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-02 13:58 cedric.van.bellingen [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-06-02 13:14 Balance swap space cedric.van.bellingen
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