linux390:~ # swapon -s
Filename                        Type            Size    Used    Priority
/mnt/md/swap1                   file            131064  14396   5
/mnt/md/swap2                   file            262136  14420   5
linux390:~ #

All ok.

In /etc/fstab:

/mnt/md/swap1    swap                     swap            pri=5   0   0
/mnt/md/swap2    swap                     swap            pri=5   0   0


Have you the same value at the  sixth field?


WBR, Sergey



                    Jim Sibley
                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]
                    m.com>                 cc:
                    Sent by: Linux         Subject:     Unbalanced use of swap spaces
                    on 390 Port
                    <[EMAIL PROTECTED]
                    ARIST.EDU>


                    16.07.2002
                    01:56
                    Please respond
                    to Linux on 390
                    Port






We are running some database runs which overcommit memory. One of the
things I've noticed is that, with mulitple swap volumes, it does NOT spread
the load, but fills up the first swap volume, then the second and so forth.

The result during heavy paging is then a bottleneck against the fullest
device and the other devices are idle.

Shouldn't the paging algorithm spread the I/O across all of the swap
devices available to balance the load?

Regards, Jim
Linux S/390-zSeries Support, SEEL, IBM Silicon Valley Labs
t/l 543-4021, 408-463-4021, [EMAIL PROTECTED]
*** Grace Happens ***

Reply via email to