On Fri, 2004-02-06 at 21:43, Jim Sibley wrote:
It seems to me with a hierarchical swap structure
(starting with the fastest as highest priority and
going down to the slowest) that each time you fill a
faster device then when your slower device kicks in,
the is a disportinate decrease in
Feature. That's what priority means, after all.
Use this one first, then that one, then all
these.
In SLES7, its a bug because it will not go to lower
priority swap (I found out the hard way). I have not
tested this in SLES8 or RHEL3.
As to different priorities on swap, that doesn't seem
to
As to different priorities on swap, that doesn't seem
to make much practical sense. It would tend to force
all your paging to a single device.
If you have different speed devices, it allows you to set up a hierarchy.
Think solid-state disk, fast 3390 disk, old 3380s as a possible scenario.
You
Ref: Your note of Fri, 6 Feb 2004 11:19:22 -0800 (attached)
In SLES7, its a bug because it will not go to lower
priority swap (I found out the hard way). I have not
tested this in SLES8 or RHEL3.
I've never had a problem with SLES 7 using multiple swap devices. In
fact, I set them up with
:
|
| Subject: Re: Adding Swap Space on the Fly
So you are saying that the entirety of swap at
highest priority was filled and you ran out of swap
or what, exactly?
With different priorities, at SLES7, we found that
Linux would go into a loop and lock out all other
tasks after the first swap with highest priority
filled. This was at the RC6
All the swap space needs to be the same priority.
Otherwise, Linux only uses the first swap space.
Feature or bug?
=
Jim Sibley
RHCT, Implementor of Linux on zSeries
Computer are useless.They can only give answers. Pablo Picasso
__
Do you Yahoo!?
Yahoo!
Feature. That's what priority means, after all. Use this one first,
then that one, then all these.
Mark Post
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Jim
Sibley
Sent: Thursday, February 05, 2004 1:55 PM
To: [EMAIL PROTECTED]
Subject: Adding Swap
On Thu, Feb 05, 2004 at 10:54:45AM -0800, Jim Sibley wrote:
All the swap space needs to be the same priority.
Otherwise, Linux only uses the first swap space.
Feature or bug?
??
As far as I can tell, if you add different swap spaces at different
priorities, you go to the second after you
.
Leland
-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED]
Behalf Of Jim
Sibley
Sent: Thursday, February 05, 2004 12:55 PM
To: [EMAIL PROTECTED]
Subject: Adding Swap Space on the Fly
All the swap space needs to be the same priority.
Otherwise, Linux only uses
Feature.
If you want to interleave the use of multiple swap files you set the priorites
to be the same.
If you want to use swap mutliple swap files in some sort of preferred order
(e.g. use a VDISK swap first, a swap partition second, a swap file third,
etc) you set the priority of each
On SLES 8 we added more swap space on the fly by doing the needed mkswap and swapon
commands. But it seems that the new swap space isn't being used:
usilws80q:~ # swapon -s
FilenameTypeSizeUsedPriority
/dev/dasda1 partition
: Adding Swap Space on the Fly
On SLES 8 we added more swap space on the fly by doing the needed mkswap and
swapon commands. But it seems that the new swap space isn't being used:
usilws80q:~ # swapon -s
FilenameTypeSizeUsedPriority
/dev/dasda1
13 matches
Mail list logo