* Re: Alpha SWAP space limits???
[not found] <Pine.LNX.3.96.971127154011.2855A-100000@wopr.campus.luth.se>
@ 1997-11-27 15:18 ` hellebrandt
0 siblings, 0 replies; 20+ messages in thread
From: hellebrandt @ 1997-11-27 15:18 UTC (permalink / raw)
On 27 Nov, Andreas Johansson wrote:
> Adding Swap: 51192k swap-space (priority -1)
> Adding Swap: 51192k swap-space (priority -2)
>
> This sounds like it will use up one partition before it starts on the
> other, which defeats my purpose of having two swap partitions: parallel
> use of two disks (one partition is on sda, the other on sdb).
>
> Is this true?
Not necessarily. This is an excerpt from man 2 swapon:
Swap pages are allocated from areas in priority order,
highest priority first. For areas with different priori-
ties, a higher-priority area is exhausted before using a
lower-priority area. If two or more areas have the same
priority, and it is the highest priority available, pages
are allocated on a round-robin basis between them.
^^^^^^^^^^^
Martin
--
Martin Hellebrandt <hellebrandt@stochastik.rwth-aachen.de>
RWTH-Aachen, Wuellnerstr. 3 Tel.: +49 241 804776
D-52056 Aachen, Germany Fax : +49 241 8888130
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Alpha SWAP space limits???
@ 1997-12-03 11:01 Uncle George
0 siblings, 0 replies; 20+ messages in thread
From: Uncle George @ 1997-12-03 11:01 UTC (permalink / raw)
i guess the ans is true, according to doc. u gotta get prio to be same for
the round robin to work, the default setting of fstab does not do this.
i guess i'm gonna try this - does uneven partitions, at same priorities,
confuse linux?
hellebrandt@stochastik.rwth-aachen.de wrote:
> On 27 Nov, Andreas Johansson wrote:
> > Adding Swap: 51192k swap-space (priority -1)
> > Adding Swap: 51192k swap-space (priority -2)
> >
> > This sounds like it will use up one partition before it starts on the
> > other, which defeats my purpose of having two swap partitions: parallel
> > use of two disks (one partition is on sda, the other on sdb).
> >
> > Is this true?
>
> Not necessarily. This is an excerpt from man 2 swapon:
>
> Swap pages are allocated from areas in priority order,
> highest priority first. For areas with different priori-
> ties, a higher-priority area is exhausted before using a
> lower-priority area. If two or more areas have the same
> priority, and it is the highest priority available, pages
> are allocated on a round-robin basis between them.
> ^^^^^^^^^^^
>
> Martin
>
> --
> Martin Hellebrandt <hellebrandt@stochastik.rwth-aachen.de>
> RWTH-Aachen, Wuellnerstr. 3 Tel.: +49 241 804776
> D-52056 Aachen, Germany Fax : +49 241 8888130
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <199711261900.MAA07303@ellpspace.math.ualberta.ca>]
* Re: Alpha SWAP space limits???
[not found] <199711261900.MAA07303@ellpspace.math.ualberta.ca>
@ 1997-11-27 14:45 ` Andreas Johansson
0 siblings, 0 replies; 20+ messages in thread
From: Andreas Johansson @ 1997-11-27 14:45 UTC (permalink / raw)
On Wed, 26 Nov 1997, Michal Jaegermann wrote:
> Michael Larocque wrote:
>
> > Enabling swap: 256MB (Priority -1)
> >
> > Since the man page says that priority is a value between 0 and 32K,
> > why is a *negative* number being reported?
>
> This most likely means that a priority is not set (or you are getting an
> accidental sign extension somwhere :-). Would have to dive into sources
> to be really sure.
>
> Michal
Hmm.. Don't think it's a "not set" value - if you add two swap partitions,
this happends:
Adding Swap: 51192k swap-space (priority -1)
Adding Swap: 51192k swap-space (priority -2)
This sounds like it will use up one partition before it starts on the
other, which defeats my purpose of having two swap partitions: parallel
use of two disks (one partition is on sda, the other on sdb).
Is this true?
--
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
: E-mail: ajo@wopr.campus.luth.se :
: S-mail: Andreas Johansson, Karhusvagen 5 6:618, 977 54 Lulea, SWEDEN :
: Have you had your dose of 261.62 BogoMIPS today? - Run Alpha! :
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <m2sosjfrl6.fsf@blinky.bfr.co.il>]
* Re: Alpha SWAP space limits???
[not found] <m2sosjfrl6.fsf@blinky.bfr.co.il>
@ 1997-11-26 19:18 ` Hugo van der Kooij
0 siblings, 0 replies; 20+ messages in thread
From: Hugo van der Kooij @ 1997-11-26 19:18 UTC (permalink / raw)
On 26 Nov 1997, Harvey J. Stein wrote:
>
> Hugo van der Kooij <hvdkooij@caiw.nl> writes:
> > On 26 Nov 1997, Harvey J. Stein wrote:
> >
> > > Occasional crashes may be due to the misalignment trap handling bugs
> > > in "Pristine 2.0.30 + Jay's alpha patches applied". If you apply the
> > > alpha patches, also apply the patch from genie. See "Linux Alpha
> > > Patches and Bug Fixes - Kernels, GCC, and Profiling" for details. You
> > > can get it from this list's archive.
> >
> > Wouldn't it be better to write the document in SGML and put it on the web?
>
> Does that mean you're volunteering translation services & a web site?
I wrote a piece in dutch based on a posting of you and personal
experience. Te main feature is a step-by-step approach on installing
Linux RedHat on the ALpha XL 300. I intend to rewrite it in English and
have pepole volunteer to add those pieces to the puzzle. (Adding details
for each group of machines.
We could easily host some Alpha stuff on our LUG's server. (Current
writeing is on http://www.nllgg.nl/linux/Alpha but we could easily extend
this to be a generic Alpha corner.
> In any case, it *is* pointed to in section 11.4 of the Linux/Alpha
> homepage FAQ, but I think that's a little obscure for newbies
> searching for help with crashes & kernel compilation. And I just
> posted a new version which hasn't made it to this web site yet. For
> reference, that'd be http://users.bart.nl/~geerten/patches.txt.
I found the FAQ obscure (to say the least) on some issue's. Partly the
reason I started writing the dutch article.
So basicly as of next week (after the 'HCC dagen') I could do something
more for Linux Alpha in general. (besides making RPM's for KDE ;-)
Hugo.
+------------------------+------------------------------+
| Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl |
| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
| 3155 VJ Maasland | (De man met de rode hoed) |
+------------------------+------------------------------+
"Computers let you make more mistakes faster than any other invention in
human history, with the possible exception of handguns and tequila."
(Mitch Radcliffe)
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <Pine.SOL.3.96.971126104055.5937B-100000@riscan>]
* Re: Alpha SWAP space limits???
[not found] <Pine.SOL.3.96.971126104055.5937B-100000@riscan>
@ 1997-11-26 19:00 ` Michal Jaegermann
0 siblings, 0 replies; 20+ messages in thread
From: Michal Jaegermann @ 1997-11-26 19:00 UTC (permalink / raw)
Michael Larocque wrote:
> > Follow that with 'man 2 swapon' for details - as the man sez. :-)
>
> Yup, that's the first thing I did 'way back when' when I first noticed
> this. ;-> The message on boot is something like:
>
> Enabling swap: 256MB (Priority -1)
>
> Since the man page says that priority is a value between 0 and 32K,
> why is a *negative* number being reported?
This most likely means that a priority is not set (or you are getting an
accidental sign extension somwhere :-). Would have to dive into sources
to be really sure.
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Alpha SWAP space limits???
@ 1997-11-26 18:16 Harvey J. Stein
0 siblings, 0 replies; 20+ messages in thread
From: Harvey J. Stein @ 1997-11-26 18:16 UTC (permalink / raw)
Hugo van der Kooij <hvdkooij@caiw.nl> writes:
> On 26 Nov 1997, Harvey J. Stein wrote:
>
> > Occasional crashes may be due to the misalignment trap handling bugs
> > in "Pristine 2.0.30 + Jay's alpha patches applied". If you apply the
> > alpha patches, also apply the patch from genie. See "Linux Alpha
> > Patches and Bug Fixes - Kernels, GCC, and Profiling" for details. You
> > can get it from this list's archive.
>
> Wouldn't it be better to write the document in SGML and put it on the web?
Does that mean you're volunteering translation services & a web site?
In any case, it *is* pointed to in section 11.4 of the Linux/Alpha
homepage FAQ, but I think that's a little obscure for newbies
searching for help with crashes & kernel compilation. And I just
posted a new version which hasn't made it to this web site yet. For
reference, that'd be http://users.bart.nl/~geerten/patches.txt.
I also submitted it to the LDP for inclusion with the Mini HowTos,
which might make it easier to see, but it might be obsolete by the
time it makes it onto the net (with the imminent arrival of RH5.0).
--
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <199711261716.KAA07147@ellpspace.math.ualberta.ca>]
* Re: Alpha SWAP space limits???
[not found] <199711261716.KAA07147@ellpspace.math.ualberta.ca>
@ 1997-11-26 18:02 ` Michael Larocque
0 siblings, 0 replies; 20+ messages in thread
From: Michael Larocque @ 1997-11-26 18:02 UTC (permalink / raw)
On Wed, 26 Nov 1997, Michal Jaegermann wrote:
> Michael Larocque wrote:
> >
> > Speaking of swap... When I boot and the 'Enabling swap' message (not
> > sure of the exact wording) is displayed, at the end of the line the
> > following is added: (Priority -1)
> >
> > Does anyone know what this means?
>
> $ man swapon
>
> [ ... snip ... ]
>
> -p priority
> Specify priority for swapon. This option is only
> available if swapon was compiled under and is used
> under a 1.3.2 or later kernel. priority is a value
> between 0 and 32767. See swapon(2) for a full
> description of swap priorities. Add pri=value to
> the option field of /etc/fstab for use with swapon
> -a.
>
> [ ... snip ... ]
>
> Follow that with 'man 2 swapon' for details - as the man sez. :-)
Yup, that's the first thing I did 'way back when' when I first noticed
this. ;-> The message on boot is something like:
Enabling swap: 256MB (Priority -1)
Since the man page says that priority is a value between 0 and 32K,
why is a *negative* number being reported? It's the fact that it's
report -1 that I'm curious about.
Sorry, I'm not at my system now, nor do we have any linux boxes at
work :-( so I can't check any details 'til tonight.
<*> Michael Larocque : mrl@riscan.com <*>
- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2
mQCNAzLc/0oAAAEEAJ6qHzuY7KUAE19EksW+EaH0gR1Z53BjeFx1z/fWoMmHlrUS
NavWTvXQbP5bnFzdjXU6hy28aRtv9umBDw8RSimZvrvF4g68rM331+w6X0ZKxMWB
JIZnfcowxxtdEe883bQYLFyNV0reQQbHHvLLGi6QwuAROqy4WZjKIrVKuYC5AAUR
tCRNaWNoYWVsIFIuIExhcm9jcXVlIDxtcmxAcmlzY2FuLmNvbT4=
=CCsD
- -----END PGP PUBLIC KEY BLOCK-----
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <m22003hc2e.fsf@blinky.bfr.co.il>]
* Re: Alpha SWAP space limits???
[not found] <m22003hc2e.fsf@blinky.bfr.co.il>
@ 1997-11-26 18:00 ` Hugo van der Kooij
0 siblings, 0 replies; 20+ messages in thread
From: Hugo van der Kooij @ 1997-11-26 18:00 UTC (permalink / raw)
On 26 Nov 1997, Harvey J. Stein wrote:
> Michael Larocque <mrl@riscan.com> writes:
>
> > On Wed, 26 Nov 1997, Stephen Zedalis wrote:
> >
> > Does anyone know what this means? I've suspected that this may have
> > had something to do with my occasional crashes, which _seem_ to occur
> > when swap is being accessed.
> >
> > System is:
> > PC164-500
> > 256MB ram
> > 256MB swap (one partition)
> > Pristine 2.0.30 + Jay's alpha patches applied
>
> Occasional crashes may be due to the misalignment trap handling bugs
> in "Pristine 2.0.30 + Jay's alpha patches applied". If you apply the
> alpha patches, also apply the patch from genie. See "Linux Alpha
> Patches and Bug Fixes - Kernels, GCC, and Profiling" for details. You
> can get it from this list's archive.
Wouldn't it be better to write the document in SGML and put it on the web?
Hugo.
+------------------------+------------------------------+
| Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl |
| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
| 3155 VJ Maasland | (De man met de rode hoed) |
+------------------------+------------------------------+
"Computers let you make more mistakes faster than any other invention in
human history, with the possible exception of handguns and tequila."
(Mitch Radcliffe)
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <Pine.SOL.3.96.971126084715.5937A-100000@riscan>]
* Re: Alpha SWAP space limits???
[not found] <Pine.SOL.3.96.971126084715.5937A-100000@riscan>
@ 1997-11-26 17:16 ` Michal Jaegermann
0 siblings, 0 replies; 20+ messages in thread
From: Michal Jaegermann @ 1997-11-26 17:16 UTC (permalink / raw)
Michael Larocque wrote:
>
> Speaking of swap... When I boot and the 'Enabling swap' message (not
> sure of the exact wording) is displayed, at the end of the line the
> following is added: (Priority -1)
>
> Does anyone know what this means?
$ man swapon
[ ... snip ... ]
-p priority
Specify priority for swapon. This option is only
available if swapon was compiled under and is used
under a 1.3.2 or later kernel. priority is a value
between 0 and 32767. See swapon(2) for a full
description of swap priorities. Add pri=value to
the option field of /etc/fstab for use with swapon
-a.
[ ... snip ... ]
Follow that with 'man 2 swapon' for details - as the man sez. :-)
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Alpha SWAP space limits???
@ 1997-11-26 16:09 Harvey J. Stein
0 siblings, 0 replies; 20+ messages in thread
From: Harvey J. Stein @ 1997-11-26 16:09 UTC (permalink / raw)
Michael Larocque <mrl@riscan.com> writes:
> On Wed, 26 Nov 1997, Stephen Zedalis wrote:
>
> Does anyone know what this means? I've suspected that this may have
> had something to do with my occasional crashes, which _seem_ to occur
> when swap is being accessed.
>
> System is:
> PC164-500
> 256MB ram
> 256MB swap (one partition)
> Pristine 2.0.30 + Jay's alpha patches applied
Occasional crashes may be due to the misalignment trap handling bugs
in "Pristine 2.0.30 + Jay's alpha patches applied". If you apply the
alpha patches, also apply the patch from genie. See "Linux Alpha
Patches and Bug Fixes - Kernels, GCC, and Profiling" for details. You
can get it from this list's archive.
--
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <Pine.LNX.3.95.971126071016.22151A-100000@tarpon.exis.net>]
* Re: Alpha SWAP space limits???
[not found] <Pine.LNX.3.95.971126071016.22151A-100000@tarpon.exis.net>
@ 1997-11-26 15:54 ` Michael Larocque
0 siblings, 0 replies; 20+ messages in thread
From: Michael Larocque @ 1997-11-26 15:54 UTC (permalink / raw)
On Wed, 26 Nov 1997, Stephen Zedalis wrote:
>
> Yep, I was already corrected on this, I did not know they doubled the
> bitmap as well. Now they just have to figure why two individuals have
> reported crashes at 256K. (Probably unrelated to swap, maybe the error
<snip>
Speaking of swap... When I boot and the 'Enabling swap' message (not
sure of the exact wording) is displayed, at the end of the line the
following is added: (Priority -1)
Does anyone know what this means? I've suspected that this may have
had something to do with my occasional crashes, which _seem_ to occur
when swap is being accessed.
System is:
PC164-500
256MB ram
256MB swap (one partition)
Pristine 2.0.30 + Jay's alpha patches applied
Mike
<*> Michael Larocque : mrl@riscan.com <*>
- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2
mQCNAzLc/0oAAAEEAJ6qHzuY7KUAE19EksW+EaH0gR1Z53BjeFx1z/fWoMmHlrUS
NavWTvXQbP5bnFzdjXU6hy28aRtv9umBDw8RSimZvrvF4g68rM331+w6X0ZKxMWB
JIZnfcowxxtdEe883bQYLFyNV0reQQbHHvLLGi6QwuAROqy4WZjKIrVKuYC5AAUR
tCRNaWNoYWVsIFIuIExhcm9jcXVlIDxtcmxAcmlzY2FuLmNvbT4=
=CCsD
- -----END PGP PUBLIC KEY BLOCK-----
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <19971126083045.14635@tat.physik.uni-tuebingen.de>]
* Re: Alpha SWAP space limits???
[not found] <19971126083045.14635@tat.physik.uni-tuebingen.de>
@ 1997-11-26 12:14 ` Stephen Zedalis
1997-11-26 15:07 ` Maurice W. Hilarius
1 sibling, 0 replies; 20+ messages in thread
From: Stephen Zedalis @ 1997-11-26 12:14 UTC (permalink / raw)
Yep, I was already corrected on this, I did not know they doubled the
bitmap as well. Now they just have to figure why two individuals have
reported crashes at 256K. (Probably unrelated to swap, maybe the error
that caused problems when out of physical memory that is reported fixed in
2.0.32) BTW, what alpha patches if any are the best for 2.0.32? I've
seen alot of traffic regarding 2.0.30.
On Wed, 26 Nov 1997, Harald Koenig wrote:
>On Nov 25, Maurice W. Hilarius wrote:
>
>> Sorry Stephen, but I've seen the 500MB swap running more than once, and it
>> is usable.
>>
>> 512MB is the limit.
>
>correct, because both the size of the bitmap for swap area pages is doubled
>and the size of each page is doubled too. so this gives
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: Alpha SWAP space limits???
[not found] <19971126083045.14635@tat.physik.uni-tuebingen.de>
1997-11-26 12:14 ` Stephen Zedalis
@ 1997-11-26 15:07 ` Maurice W. Hilarius
1 sibling, 0 replies; 20+ messages in thread
From: Maurice W. Hilarius @ 1997-11-26 15:07 UTC (permalink / raw)
With regards to your message at 08:30 AM 11-26-97 +0100, Harald Koenig.
Where you stated:
>On Nov 25, Maurice W. Hilarius wrote:
>
>> Sorry Stephen, but I've seen the 500MB swap running more than once, and it
>> is usable.
>>
>> 512MB is the limit.
>
>correct, because both the size of the bitmap for swap area pages is doubled
>and the size of each page is doubled too. so this gives
>
> 8k bitmap * 8 bits/byte * 8k pages = 512M
>
>
Makes sense, Harald. Thanks for pointing that out. I was missing the reason.
Cheers,
+--------------------------------------------------------+
| Maurice Hilarius | The Past is History |
| | The Future is Mystery |
| | Today is a Gift |
| Phone/FAX (403) 456-1510 | That is why they call it |
| email:harddata@bigfoot.com | The Present |
+--------------------------------------------------------+
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <Pine.LNX.3.95.971125190803.7437C-100000@tarpon.exis.net>]
* Re: Alpha SWAP space limits???
[not found] <Pine.LNX.3.95.971125190803.7437C-100000@tarpon.exis.net>
@ 1997-11-26 5:52 ` Maurice W. Hilarius
1997-11-26 7:30 ` Harald Koenig
0 siblings, 1 reply; 20+ messages in thread
From: Maurice W. Hilarius @ 1997-11-26 5:52 UTC (permalink / raw)
With regards to your message at 07:10 PM 11-25-97 -0500, Stephen Zedalis.
Where you stated:
>> My question is could the larger partition be causeing problems, or does
>>Alpha Linux support larger swap areas? (I'm running kernel 2.0.30).
>
>It does... and you are right at the limit. The formula for maximum swap
>size takes into account page size. The page size of the Alpha is twice
>as large as Intel so the maximum swap area is twice as large. So the
>maximum is 256M which you are right at. You may want to lower the swap
>space to the amount of RAM you have (That is the usual thumbrule over
>about 32 MB) and see if that helps.
>
>Stephen
Sorry Stephen, but I've seen the 500MB swap running more than once, and it
is usable.
512MB is the limit.
Cheers,
+--------------------------------------------------------+
| Maurice Hilarius | The Past is History |
| | The Future is Mystery |
| | Today is a Gift |
| Phone/FAX (403) 456-1510 | That is why they call it |
| email:harddata@bigfoot.com | The Present |
+--------------------------------------------------------+
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: Alpha SWAP space limits???
1997-11-26 5:52 ` Maurice W. Hilarius
@ 1997-11-26 7:30 ` Harald Koenig
0 siblings, 0 replies; 20+ messages in thread
From: Harald Koenig @ 1997-11-26 7:30 UTC (permalink / raw)
On Nov 25, Maurice W. Hilarius wrote:
> Sorry Stephen, but I've seen the 500MB swap running more than once, and it
> is usable.
>
> 512MB is the limit.
correct, because both the size of the bitmap for swap area pages is doubled
and the size of each page is doubled too. so this gives
8k bitmap * 8 bits/byte * 8k pages = 512M
Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <Pine.SOL.3.96.971125130851.344D-100000@riscan>]
[parent not found: <Pine.LNX.3.95.971125150851.8259A-100000@mail.sjcme.edu>]
* Re: Alpha SWAP space limits???
[not found] <Pine.LNX.3.95.971125150851.8259A-100000@mail.sjcme.edu>
@ 1997-11-25 20:16 ` Michael Larocque
1997-11-25 20:48 ` Michal Jaegermann
1997-11-26 0:10 ` Stephen Zedalis
2 siblings, 0 replies; 20+ messages in thread
From: Michael Larocque @ 1997-11-25 20:16 UTC (permalink / raw)
On Tue, 25 Nov 1997, Benjamin J. Greslick wrote:
>
> Regarding the DEC Alpha PC164 128MB RAM that I have and the crashes I
> hav ebeen experiencing, I also have a 256M swap partition (one partition).
> I have recently read in a few Linux books (based on Intel Linux) that you
> can have upto a 128MB swap partition, but multiple swap partitions. One
> book claims that if your swap partition exceeds 128MB, it will only use
> the first 128M.
>
My understanding is that the 128 MB limit is intel-only. I don't
recall the alpha limit, but it is larger than 256MB. I had the same
suspicions as you when I was having 'random' crashes on my 256MB
PC164-500 system with a single 256MB swap partition. However I've
recently replaced my 2940UW with an IntraServer 3140UW (NCR53c875
based), and I've yet to see so much as a hiccup. Coincidence? Piece o'
crap 2940? Buggy drivers? I don't know...
Mike
<*> Michael Larocque : mrl@riscan.com <*>
- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2
mQCNAzLc/0oAAAEEAJ6qHzuY7KUAE19EksW+EaH0gR1Z53BjeFx1z/fWoMmHlrUS
NavWTvXQbP5bnFzdjXU6hy28aRtv9umBDw8RSimZvrvF4g68rM331+w6X0ZKxMWB
JIZnfcowxxtdEe883bQYLFyNV0reQQbHHvLLGi6QwuAROqy4WZjKIrVKuYC5AAUR
tCRNaWNoYWVsIFIuIExhcm9jcXVlIDxtcmxAcmlzY2FuLmNvbT4=
=CCsD
- -----END PGP PUBLIC KEY BLOCK-----
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: Alpha SWAP space limits???
[not found] <Pine.LNX.3.95.971125150851.8259A-100000@mail.sjcme.edu>
1997-11-25 20:16 ` Michael Larocque
@ 1997-11-25 20:48 ` Michal Jaegermann
1997-11-26 0:10 ` Stephen Zedalis
2 siblings, 0 replies; 20+ messages in thread
From: Michal Jaegermann @ 1997-11-25 20:48 UTC (permalink / raw)
>
>
> I have recently read in a few Linux books (based on Intel Linux) that you
> can have upto a 128MB swap partition,
This limit does exist but is 512MB on Alpha. It applies not only to
swap partitions but to all "swap areas" - which can be partitions or
files.
> but multiple swap partitions.
A "regular" kernel supports up to eight swap areas. If you are willing
to dive into kernel sources this number can be changed.
> One
> book claims that if your swap partition exceeds 128MB, it will only use
> the first 128M.
This limit is caused by mapping swap pages to bits in maps. A page
which is unmappable will be not used. Different mapping on alpha
makes for a different limit.
Books could be a bit more precise in what they say.
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: Alpha SWAP space limits???
[not found] <Pine.LNX.3.95.971125150851.8259A-100000@mail.sjcme.edu>
1997-11-25 20:16 ` Michael Larocque
1997-11-25 20:48 ` Michal Jaegermann
@ 1997-11-26 0:10 ` Stephen Zedalis
2 siblings, 0 replies; 20+ messages in thread
From: Stephen Zedalis @ 1997-11-26 0:10 UTC (permalink / raw)
On Tue, 25 Nov 1997, Benjamin J. Greslick wrote:
>
> Regarding the DEC Alpha PC164 128MB RAM that I have and the crashes I
>hav ebeen experiencing, I also have a 256M swap partition (one partition).
>I have recently read in a few Linux books (based on Intel Linux) that you
>can have upto a 128MB swap partition, but multiple swap partitions. One
>book claims that if your swap partition exceeds 128MB, it will only use
>the first 128M.
>
> My question is could the larger partition be causeing problems, or does
>Alpha Linux support larger swap areas? (I'm running kernel 2.0.30).
It does... and you are right at the limit. The formula for maximum swap
size takes into account page size. The page size of the Alpha is twice
as large as Intel so the maximum swap area is twice as large. So the
maximum is 256M which you are right at. You may want to lower the swap
space to the amount of RAM you have (That is the usual thumbrule over
about 32 MB) and see if that helps.
Stephen
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
* Alpha SWAP space limits???
@ 1997-11-25 20:13 Benjamin J. Greslick
0 siblings, 0 replies; 20+ messages in thread
From: Benjamin J. Greslick @ 1997-11-25 20:13 UTC (permalink / raw)
Regarding the DEC Alpha PC164 128MB RAM that I have and the crashes I
hav ebeen experiencing, I also have a 256M swap partition (one partition).
I have recently read in a few Linux books (based on Intel Linux) that you
can have upto a 128MB swap partition, but multiple swap partitions. One
book claims that if your swap partition exceeds 128MB, it will only use
the first 128M.
My question is could the larger partition be causeing problems, or does
Alpha Linux support larger swap areas? (I'm running kernel 2.0.30).
<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>
Benjamin Greslick http://www.sjcme.edu/~ben
Email: ben@sjcme.edu Numeric Pager: 821-3071
greslickb@acm.org Alpha Pager: 1-800-639-7707
Linux - the choice of a GNU generation
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~1997-12-03 11:01 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.3.96.971127154011.2855A-100000@wopr.campus.luth.se>
1997-11-27 15:18 ` Alpha SWAP space limits??? hellebrandt
1997-12-03 11:01 Uncle George
[not found] <199711261900.MAA07303@ellpspace.math.ualberta.ca>
1997-11-27 14:45 ` Andreas Johansson
[not found] <m2sosjfrl6.fsf@blinky.bfr.co.il>
1997-11-26 19:18 ` Hugo van der Kooij
[not found] <Pine.SOL.3.96.971126104055.5937B-100000@riscan>
1997-11-26 19:00 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1997-11-26 18:16 Harvey J. Stein
[not found] <199711261716.KAA07147@ellpspace.math.ualberta.ca>
1997-11-26 18:02 ` Michael Larocque
[not found] <m22003hc2e.fsf@blinky.bfr.co.il>
1997-11-26 18:00 ` Hugo van der Kooij
[not found] <Pine.SOL.3.96.971126084715.5937A-100000@riscan>
1997-11-26 17:16 ` Michal Jaegermann
1997-11-26 16:09 Harvey J. Stein
[not found] <Pine.LNX.3.95.971126071016.22151A-100000@tarpon.exis.net>
1997-11-26 15:54 ` Michael Larocque
[not found] <19971126083045.14635@tat.physik.uni-tuebingen.de>
1997-11-26 12:14 ` Stephen Zedalis
1997-11-26 15:07 ` Maurice W. Hilarius
[not found] <Pine.LNX.3.95.971125190803.7437C-100000@tarpon.exis.net>
1997-11-26 5:52 ` Maurice W. Hilarius
1997-11-26 7:30 ` Harald Koenig
[not found] <Pine.SOL.3.96.971125130851.344D-100000@riscan>
1997-11-26 0:12 ` Stephen Zedalis
[not found] <Pine.LNX.3.95.971125150851.8259A-100000@mail.sjcme.edu>
1997-11-25 20:16 ` Michael Larocque
1997-11-25 20:48 ` Michal Jaegermann
1997-11-26 0:10 ` Stephen Zedalis
1997-11-25 20:13 Benjamin J. Greslick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox