* Swap Partitions for Linux Alpha
@ 1997-09-22 4:00 Donald K.Sinclair
1997-09-22 4:00 ` Greg Lindahl
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Donald K.Sinclair @ 1997-09-22 4:00 UTC (permalink / raw)
I just took delivery of an Alpha clone with Linux preinstalled. When I noticed
that it had been configured with a 256 Mbyte swap partition, I queried the
vendor, since it was my understanding that 128 Mbytes was the largest swap
partition that could be used, and that if one had a swap partition larger than
128 Mbytes, only 128 Mbytes of it could ever be used. (For this reason I have
2 128Mbyte swap partitions on my Linux Intel box.) The vendor claimed that
they had configured systems with swap partitions as large as 1 Gbyte which
appeared to be usable. Does this mean that there is a larger limit for the
size of swap partitions on Linux Alpha than Linux Intel, or is the vendor in
error?
Don Sinclair.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Swap Partitions for Linux Alpha
1997-09-22 4:00 Swap Partitions for Linux Alpha Donald K.Sinclair
@ 1997-09-22 4:00 ` Greg Lindahl
1997-09-22 4:00 ` Andy Isaacson
1997-09-25 4:00 ` Richard Henderson
2 siblings, 0 replies; 4+ messages in thread
From: Greg Lindahl @ 1997-09-22 4:00 UTC (permalink / raw)
Donald K.Sinclair <dks@sgi9.hep.anl.gov> writes:
> Does this mean that there is a larger limit for the
> size of swap partitions on Linux Alpha than Linux Intel, or is the vendor in
> error?
The swap limit is proportional to the page size, so yes, it's
higher in the Alpha version. It would be really nice if this limit
were raised to something reasonable on x86 boxes, by allowing
N pages of swap map, but I digress...
-- g
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Swap Partitions for Linux Alpha
1997-09-22 4:00 Swap Partitions for Linux Alpha Donald K.Sinclair
1997-09-22 4:00 ` Greg Lindahl
@ 1997-09-22 4:00 ` Andy Isaacson
1997-09-25 4:00 ` Richard Henderson
2 siblings, 0 replies; 4+ messages in thread
From: Andy Isaacson @ 1997-09-22 4:00 UTC (permalink / raw)
On 22 Sep 1997 18:32:19 GMT, Donald K.Sinclair <dks@sgi9.hep.anl.gov> spake unto us:
>I just took delivery of an Alpha clone with Linux preinstalled. When I noticed
>that it had been configured with a 256 Mbyte swap partition, I queried the
>vendor, since it was my understanding that 128 Mbytes was the largest swap
>partition that could be used, and that if one had a swap partition larger than
>128 Mbytes, only 128 Mbytes of it could ever be used. (For this reason I have
>2 128Mbyte swap partitions on my Linux Intel box.) The vendor claimed that
>they had configured systems with swap partitions as large as 1 Gbyte which
>appeared to be usable. Does this mean that there is a larger limit for the
>size of swap partitions on Linux Alpha than Linux Intel, or is the vendor in
>error?
According to discussion on axp-list, the limit on the Alpha is higher than
on Intel. Apparently, the limit on swap partitions comes from the fact
that each swap partition is managed by a single page of physical RAM; since
on the Alpha pages are 8K instead of 4K, swap partitions can be larger.
How much larger, I don't know; 2, 4 or 8 times all seem like plausible
answers.
So, your vendor is correct. Swap partitions on Alpha _can_ be larger than
they can on Intel.
See the axp-list archives at
http://www.redhat.com/support/mailing-lists/axp-list/
for more information.
> Don Sinclair.
-andy
--
Andy Isaacson <adisaacs@mtu.edu> <adi@acm.org> / Linux/Alpha, C, Perl, Java
Fight Spam, join CAUCE: http://www.cauce.org / Ultimate Frisbee, Footbag
http://www.csl.mtu.edu/~adisaacs/ / I speak for noone but myself
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Swap Partitions for Linux Alpha
1997-09-22 4:00 Swap Partitions for Linux Alpha Donald K.Sinclair
1997-09-22 4:00 ` Greg Lindahl
1997-09-22 4:00 ` Andy Isaacson
@ 1997-09-25 4:00 ` Richard Henderson
2 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 1997-09-25 4:00 UTC (permalink / raw)
In article <606djj$k0v@milo.mcs.anl.gov>,
Donald K.Sinclair <dks@sgi9.hep.anl.gov> wrote:
>The vendor claimed that
>they had configured systems with swap partitions as large as 1 Gbyte which
>appeared to be usable. Does this mean that there is a larger limit for the
>size of swap partitions on Linux Alpha than Linux Intel, or is the vendor in
>error?
Both. The limit is based on one page of "in-use" bits, thus the
max usable swap varies with the square of the page size. Thus the
max usable swap parition on the Alpha is 4 times larger than on
Intel, i.e. 512MB.
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-09-25 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-22 4:00 Swap Partitions for Linux Alpha Donald K.Sinclair
1997-09-22 4:00 ` Greg Lindahl
1997-09-22 4:00 ` Andy Isaacson
1997-09-25 4:00 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox