tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Balance swap space.
@ 1999-06-02 13:14 cedric.van.bellingen
  0 siblings, 0 replies; 2+ messages in thread
From: cedric.van.bellingen @ 1999-06-02 13:14 UTC (permalink / raw)
  To: tru64-unix-managers

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

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

* Balance swap space.
@ 1999-06-02 13:58 cedric.van.bellingen
  0 siblings, 0 replies; 2+ messages in thread
From: cedric.van.bellingen @ 1999-06-02 13:58 UTC (permalink / raw)
  To: tru64-unix-managers

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

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

end of thread, other threads:[~1999-06-02 13:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-02 13:58 Balance swap space cedric.van.bellingen
  -- strict thread matches above, loose matches on Subject: below --
1999-06-02 13:14 cedric.van.bellingen

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