* Re: Adding more than 8 swap partitions
[not found] <Pine.LNX.3.96.990520142733.30572A-100000@ferret.lmh.ox.ac.uk>
@ 1999-05-20 22:00 ` Peter Rival
1999-05-21 1:41 ` Wes Bauske
1999-05-21 8:19 ` Dr . David Alan Gilbert
0 siblings, 2 replies; 26+ messages in thread
From: Peter Rival @ 1999-05-20 22:00 UTC (permalink / raw)
To: Matthew Kirkwood; +Cc: linux-kernel, axp-list
[-- Attachment #1.1: Type: text/plain, Size: 5673 bytes --]
Okay, so I did that - I changed from:
#define MAX_SWAPFILES 8
to:
#define MAX_SWAPFILES 32
Now I can add up to 15 swap partitions, not 32. I have 20 disks hanging
off of an AS4000, with the possibility of somewhere in the area of 40
disks by the time I'm done. All of these disks are going to be configured
the same - 256MB for swap, and the rest as a standard ext2 filesystem.
Which brings me to my next point...This is a script of a session of me
trying to mount another of the 20 disks. The questioning comes after.
Script started on Fri Apr 14 13:26:59 1911
[root@frigate /root]# df -k
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sdm2 108870 53943 49305 52% /
/dev/sdm5 1748525 1015714 642446 61% /usr
/dev/sda2 3788613 13 3592607 0% /usr/pest/test1/1
/dev/sde2 3788613 13 3592607 0% /usr/pest/test1/2
/dev/sdi2 3788613 13 3592607 0% /usr/pest/test1/3
/dev/sds2 3788613 13 3592607 0% /usr/pest/test1/4
/dev/sdw2 3788613 13 3592607 0% /usr/pest/test1/5
/dev/sdb2 3788613 13 3592607 0% /usr/pest/test1/6
/dev/sdf2 3788613 13 3592607 0% /usr/pest/test1/7
/dev/sdt2 3788613 13 3592607 0% /usr/pest/test1/9
/dev/sdx2 3788613 13 3592607 0% /usr/pest/test1/0
/dev/sdk2 3788613 13 3592607 0% /usr/pest/test2/3
/dev/sdl2 3788613 13 3592607 0% /usr/pest/test2/8
/dev/sdj2 3788613 13 3592607 0% /usr/pest/test1/8
[root@frigate /root]# mount /dev/sdc2
mount: /dev/sdc2 already mounted or /usr/pest/test2/1 busy
[root@frigate /root]# df -k
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sdm2 108870 53943 49305 52% /
/dev/sdm5 1748525 1015714 642446 61% /usr
/dev/sda2 3788613 13 3592607 0% /usr/pest/test1/1
/dev/sde2 3788613 13 3592607 0% /usr/pest/test1/2
/dev/sdi2 3788613 13 3592607 0% /usr/pest/test1/3
/dev/sds2 3788613 13 3592607 0% /usr/pest/test1/4
/dev/sdw2 3788613 13 3592607 0% /usr/pest/test1/5
/dev/sdb2 3788613 13 3592607 0% /usr/pest/test1/6
/dev/sdf2 3788613 13 3592607 0% /usr/pest/test1/7
/dev/sdt2 3788613 13 3592607 0% /usr/pest/test1/9
/dev/sdx2 3788613 13 3592607 0% /usr/pest/test1/0
/dev/sdk2 3788613 13 3592607 0% /usr/pest/test2/3
/dev/sdl2 3788613 13 3592607 0% /usr/pest/test2/8
/dev/sdj2 3788613 13 3592607 0% /usr/pest/test1/8
[root@frigate /root]# umount /dev/sdc2
[root@frigate /root]# mount /dev/sdc2
[root@frigate /root]# df -k
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sdm2 108870 53943 49305 52% /
/dev/sdm5 1748525 1015714 642446 61% /usr
/dev/sda2 3788613 13 3592607 0% /usr/pest/test1/1
/dev/sde2 3788613 13 3592607 0% /usr/pest/test1/2
/dev/sdi2 3788613 13 3592607 0% /usr/pest/test1/3
/dev/sds2 1748525 1015714 642446 61%
/usr/pest/test1/4 <-- HUH??
/dev/sdw2 3788613 13 3592607 0% /usr/pest/test1/5
/dev/sdb2 3788613 13 3592607 0% /usr/pest/test1/6
/dev/sdf2 3788613 13 3592607 0% /usr/pest/test1/7
/dev/sdt2 3788613 13 3592607 0% /usr/pest/test1/9
/dev/sdx2 3788613 13 3592607 0% /usr/pest/test1/0
/dev/sdk2 3788613 13 3592607 0% /usr/pest/test2/3
/dev/sdl2 3788613 13 3592607 0% /usr/pest/test2/8
/dev/sdj2 3788613 13 3592607 0% /usr/pest/test1/8
/dev/sdc2 3788613 13 3592607 0% /usr/pest/test2/1
[root@frigate /root]# exit
exit
Script done on Fri Apr 14 13:27:42 1911
This happened before and after a reboot, and after all of the disks had
been mke2fs-ed again. I had tried to run "mount -a" before this all
happened, and several of the mounts complained of the device being already
mounted or the mount point busy, neither of which were the case.
It appears that the system is silently unmounting a _random_ filesystem,
and not taking its entry out of the list of mounted filesystems.
Strange...again... One of my co-workers had mentioned that this could be
because of the fact that this is a Durango, not a Rawhide, but all the
disks are off of the first two PCI busses (which is all Linux sees right
now) and the Durango is in the Rawhide family of systems. Anyway, does
anyone have any clues about this?
Oh, and lest I forget, this is stock 2.2.8, plus some axp patches that
Richard Henderson sent out (which work fine on another system without as
many disks...), with that one #define changed. I can send the patches to
anyone interested. All I know is, this is a configuration that _should_
be able to work...hmmm.....
- Pete
Matthew Kirkwood wrote:
> On Wed, 19 May 1999, Peter Rival wrote:
>
> > I just wanted to make sure that I can add more than 8 swap partitions
> > under 2.2.8 by only changing the MAX_SWAPFILES #define in
> > include/linux/swap.h.
>
> You should be fine, although:
>
> > What is the maximum limit?
>
> It's 2Gb in 2.2, although I think you may need a new mkswap.
>
> Matthew.
[-- Attachment #1.2: Type: text/html, Size: 11870 bytes --]
[-- Attachment #2: Card for Peter Rival --]
[-- Type: text/x-vcard, Size: 219 bytes --]
begin:vcard
n:Rival;Peter
x-mozilla-html:FALSE
org:Compaq Computer Corp.;Release Engineering Systems
adr:;;;;;;
version:2.1
email;internet:frival@zk3.dec.com
title:Engineer II
x-mozilla-cpt:;0
fn:Peter Rival
end:vcard
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-20 22:00 ` Peter Rival
@ 1999-05-21 1:41 ` Wes Bauske
1999-05-23 17:02 ` Richard Henderson
1999-05-21 8:19 ` Dr . David Alan Gilbert
1 sibling, 1 reply; 26+ messages in thread
From: Wes Bauske @ 1999-05-21 1:41 UTC (permalink / raw)
To: axp-list
Peter Rival wrote:
>
> Okay, so I did that - I changed from:
>
> #define MAX_SWAPFILES 8
> to:
> #define MAX_SWAPFILES 32
>
> Now I can add up to 15 swap partitions, not 32. I have 20 disks hanging off of an AS4000, with
> the possibility of somewhere in the area of 40 disks by the time I'm done. All of these disks are
> going to be configured the same - 256MB for swap, and the rest as a standard ext2 filesystem.
>
Keep in mind 16x256MB is 4GB. I suspect you're running into
an unsigned int limit somewhere. Anyone ever use 4GB or more
of swap space?
Wes
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-20 22:00 ` Peter Rival
1999-05-21 1:41 ` Wes Bauske
@ 1999-05-21 8:19 ` Dr . David Alan Gilbert
1999-05-21 12:52 ` Peter Rival
1 sibling, 1 reply; 26+ messages in thread
From: Dr . David Alan Gilbert @ 1999-05-21 8:19 UTC (permalink / raw)
To: axp-list
At 18:00 20/05/99 -0400, you wrote:
> Okay, so I did that - I changed from: 8
>to:
> 32 All of these disks are going to be configured the same - 256MB
>for swap, and the rest as a standard ext2 filesystem. The questioning
>comes after.
...
>[root@frigate /root]# mount /dev/sdc2
>mount: /dev/sdc2 already mounted or /usr/pest/test2/1 busy
I haven't tried this number of mounts myself - but as some suggestions:
1) Is there a limit on the maximum number of mounts?
2) There used to be an issue with the number of minor device numbers for
SCSI discs
- I can't remember how big the problem was, but I wodner if you are
hitting that?
Incidentally - what the hell are you doing with 40 discs :-)
Dave
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-21 8:19 ` Dr . David Alan Gilbert
@ 1999-05-21 12:52 ` Peter Rival
0 siblings, 0 replies; 26+ messages in thread
From: Peter Rival @ 1999-05-21 12:52 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Type: text/plain, Size: 1944 bytes --]
"Dr . David Alan Gilbert" wrote:
> At 18:00 20/05/99 -0400, you wrote:
....
>
> >[root@frigate /root]# mount /dev/sdc2
> >mount: /dev/sdc2 already mounted or /usr/pest/test2/1 busy
>
> I haven't tried this number of mounts myself - but as some suggestions:
>
> 1) Is there a limit on the maximum number of mounts?
That's what I thought, but I couldn't find it anywhere in the /proc area -
even super-max (in /proc/sys/fs) was set to 256, which is the default. I'm
going to poke around the source tree a bit to see what I can see. I wonder if
it's related to the (unsuccessful) change I made to up the number of swap
partitions to 32.
2) There used to be an issue with the number of minor device numbers for
> SCSI discs
> - I can't remember how big the problem was, but I wodner if you are
> hitting that?
I shouldn't be. Somewhere along the line in the 2.1 series I remember
Linus sneaking in a whole bunch of new entries into the devices.txt file
outlining major/minor pairings for up to 128 SCSI disks. Obviously you're
supposed to be able to do this, although maybe the intent was to use md. Too
bad that's probably not an option... :(
>
> Incidentally - what the hell are you doing with 40 discs :-)
Think really, really big benchmarking. Unfortunately, due to the fact that
it's an internally hacked kit, I don't know that I'll be able to release the
numbers. Maybe if I say that they're not official blah blah blah...who knows.
Suffice it to say this could be cause for some serious interest up the ladder -
IF I can get this to work...Oh...and 40 disks might not be all. Our resident
filesystems performance engineer told me that we would (at least, should)
_still_ be IO bound at 40 disks. This system, technically, can address 4 PCI
busses, which means 16 controllers (minus two - ethernet and video), so we have
12 slots times at least 4 disks per controller. _IF_ we get that far.
- Pete
[-- Attachment #2: Card for Peter Rival --]
[-- Type: text/x-vcard, Size: 219 bytes --]
begin:vcard
n:Rival;Peter
x-mozilla-html:FALSE
org:Compaq Computer Corp.;Release Engineering Systems
adr:;;;;;;
version:2.1
email;internet:frival@zk3.dec.com
title:Engineer II
x-mozilla-cpt:;0
fn:Peter Rival
end:vcard
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
@ 1999-05-22 15:35 Ken Hansen
1999-05-24 7:54 ` [OFFTOPIC] " Sean Hunter
0 siblings, 1 reply; 26+ messages in thread
From: Ken Hansen @ 1999-05-22 15:35 UTC (permalink / raw)
To: axp-list
I used to support an application (Telcom, 24x7, etc...) that had 2 Gig
of swap space under Solaris (we had 512 Meg RAM in the server and
4 different SCSI chains, you do the math) - everything was fine until
a Sun Tech. stopped by to look at the system and just laughed! He
had never seen such swap size outside of Wall Street, but they had
truely large RAM...
Bottom line, that is a WHOLE lot of swap, and if you have Gigabytes
of RAM, and are running a truely *staggering* amount of applications
it *could* make sense...
Ken
khansen@njcc.com
-----Original Message-----
From: Wes Bauske <wsb@paralleldata.com>
To: axp-list@redhat.com <axp-list@redhat.com>
Date: Thursday, May 20, 1999 10:17 PM
Subject: Re: Adding more than 8 swap partitions
>Keep in mind 16x256MB is 4GB. I suspect you're running into
>an unsigned int limit somewhere. Anyone ever use 4GB or more
>of swap space?
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-21 1:41 ` Wes Bauske
@ 1999-05-23 17:02 ` Richard Henderson
1999-05-23 20:28 ` Wes Bauske
0 siblings, 1 reply; 26+ messages in thread
From: Richard Henderson @ 1999-05-23 17:02 UTC (permalink / raw)
To: axp-list
On Thu, May 20, 1999 at 08:41:09PM -0500, Wes Bauske wrote:
> Keep in mind 16x256MB is 4GB. I suspect you're running into
> an unsigned int limit somewhere. Anyone ever use 4GB or more
> of swap space?
Yes, on an Intel no less. Swap is handled in pages not bytes.
r~
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-23 17:02 ` Richard Henderson
@ 1999-05-23 20:28 ` Wes Bauske
1999-05-23 21:13 ` warp
0 siblings, 1 reply; 26+ messages in thread
From: Wes Bauske @ 1999-05-23 20:28 UTC (permalink / raw)
To: axp-list
Richard Henderson wrote:
>
> On Thu, May 20, 1999 at 08:41:09PM -0500, Wes Bauske wrote:
> > Keep in mind 16x256MB is 4GB. I suspect you're running into
> > an unsigned int limit somewhere. Anyone ever use 4GB or more
> > of swap space?
>
> Yes, on an Intel no less. Swap is handled in pages not bytes.
>
OK. Then the problem must be tied to just the number of partitions
he's trying to allocate. If one really wanted that much swap space,
it seems dedicating a couple drives just for that purpose to keep
the swap I/O away from the application data I/O would make sense.
Wes
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-23 20:28 ` Wes Bauske
@ 1999-05-23 21:13 ` warp
1999-05-23 22:33 ` Wes Bauske
0 siblings, 1 reply; 26+ messages in thread
From: warp @ 1999-05-23 21:13 UTC (permalink / raw)
To: axp-list
Wes Bauske wrote:
> OK. Then the problem must be tied to just the number of partitions
> he's trying to allocate. If one really wanted that much swap space,
> it seems dedicating a couple drives just for that purpose to keep
> the swap I/O away from the application data I/O would make sense.
Erh, but does it make sense to run > 4GB swap?
IMHO, when using more then 512MB swap, it's time to fork
out some cash for extra RAM...
Cheers,
Antoine
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-23 21:13 ` warp
@ 1999-05-23 22:33 ` Wes Bauske
1999-05-24 9:27 ` Sean Hunter
0 siblings, 1 reply; 26+ messages in thread
From: Wes Bauske @ 1999-05-23 22:33 UTC (permalink / raw)
To: axp-list
warp@xs4all.nl wrote:
>
> Wes Bauske wrote:
>
> > OK. Then the problem must be tied to just the number of partitions
> > he's trying to allocate. If one really wanted that much swap space,
> > it seems dedicating a couple drives just for that purpose to keep
> > the swap I/O away from the application data I/O would make sense.
>
> Erh, but does it make sense to run > 4GB swap?
>
> IMHO, when using more then 512MB swap, it's time to fork
> out some cash for extra RAM...
>
Linux has limits on the amount of physical memory it can deal with,
2GB or so last I read. I run out of CPU long before I need that
much memory for what I do. 256MB is all thats needed to keep any
processor I've tested busy, including 21264's. Depends on the problem
working set size though. With 40 disks, this might be some sort of
database benchmark and the memory would be for caching the database.
Wes
^ permalink raw reply [flat|nested] 26+ messages in thread
* [OFFTOPIC] Re: Adding more than 8 swap partitions
1999-05-22 15:35 Adding more than 8 swap partitions Ken Hansen
@ 1999-05-24 7:54 ` Sean Hunter
0 siblings, 0 replies; 26+ messages in thread
From: Sean Hunter @ 1999-05-24 7:54 UTC (permalink / raw)
To: axp-list
We had a production sun server that had 4Gig of ram and about 16 of
swap. The process memory limit was 2Gig. We used to have an app that
_leaked_ about 256 meg a day, and so used to get killed and restarted
about twice a week.
And yes, this was a large bank.
The moral of the story is: Anything Slowaris can do we should be able
to do.
Sean
On Sat, May 22, 1999 at 11:35:41AM -0400, Ken Hansen wrote:
> I used to support an application (Telcom, 24x7, etc...) that had 2 Gig
> of swap space under Solaris (we had 512 Meg RAM in the server and
> 4 different SCSI chains, you do the math) - everything was fine until
> a Sun Tech. stopped by to look at the system and just laughed! He
> had never seen such swap size outside of Wall Street, but they had
> truely large RAM...
>
> Bottom line, that is a WHOLE lot of swap, and if you have Gigabytes
> of RAM, and are running a truely *staggering* amount of applications
> it *could* make sense...
>
> Ken
> khansen@njcc.com
>
> -----Original Message-----
> From: Wes Bauske <wsb@paralleldata.com>
> To: axp-list@redhat.com <axp-list@redhat.com>
> Date: Thursday, May 20, 1999 10:17 PM
> Subject: Re: Adding more than 8 swap partitions
>
>
> >Keep in mind 16x256MB is 4GB. I suspect you're running into
> >an unsigned int limit somewhere. Anyone ever use 4GB or more
> >of swap space?
>
>
> --
> 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] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-23 22:33 ` Wes Bauske
@ 1999-05-24 9:27 ` Sean Hunter
1999-05-24 11:43 ` Uncle George
0 siblings, 1 reply; 26+ messages in thread
From: Sean Hunter @ 1999-05-24 9:27 UTC (permalink / raw)
To: axp-list
On Sun, May 23, 1999 at 05:33:07PM -0500, Wes Bauske wrote:
> Linux has limits on the amount of physical memory it can deal with,
> 2GB or so last I read.
Isn't this only on intel?
Sean
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-24 9:27 ` Sean Hunter
@ 1999-05-24 11:43 ` Uncle George
1999-05-24 13:13 ` Dr . David Alan Gilbert
0 siblings, 1 reply; 26+ messages in thread
From: Uncle George @ 1999-05-24 11:43 UTC (permalink / raw)
To: axp-list
wether or not is/is not in intel, not many folks have 2gb or more of
main memory to play with. I suppose i'm saying that as you get nearer to
the 32bit limitations you may find some "other" 64 bit issues that
havent been tested/explored.
Sean Hunter wrote:
> On Sun, May 23, 1999 at 05:33:07PM -0500, Wes Bauske wrote:
> > Linux has limits on the amount of physical memory it can deal with,
> > 2GB or so last I read.
>
> Isn't this only on intel?
>
> Sean
>
> --
> 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] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-24 11:43 ` Uncle George
@ 1999-05-24 13:13 ` Dr . David Alan Gilbert
1999-05-24 14:52 ` Speedracer
1999-05-25 1:05 ` Uncle George
0 siblings, 2 replies; 26+ messages in thread
From: Dr . David Alan Gilbert @ 1999-05-24 13:13 UTC (permalink / raw)
To: axp-list
At 07:43 24/05/99 -0400, you wrote:
>wether or not is/is not in intel, not many folks have 2gb or more of
>main memory to play with. I suppose i'm saying that as you get nearer to
>the 32bit limitations you may find some "other" 64 bit issues that
>havent been tested/explored.
I think you would be surprised. While 2GB is still regarded as a lot,
512M is not unusual in hardware simulation contexts - which means by Moores
law 2GB is not far away.
Dave
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-24 13:13 ` Dr . David Alan Gilbert
@ 1999-05-24 14:52 ` Speedracer
1999-05-24 17:00 ` Sean Hunter
1999-05-25 1:05 ` Uncle George
1 sibling, 1 reply; 26+ messages in thread
From: Speedracer @ 1999-05-24 14:52 UTC (permalink / raw)
To: axp-list
We have 2 servers with 1 gig of main memory.
If alphalinux wants to compete at the "high end"
it MUST address this issue. Currently we are
looking at Solaris solutions that are clustered
to provide the level of service our customers demand.
Highly loaded web servers running mod_perl and/or PHP
will require a LOT of memory.
On Mon, 24 May 1999, Dr . David Alan Gilbert wrote:
> I think you would be surprised. While 2GB is still regarded as a lot,
> 512M is not unusual in hardware simulation contexts - which means by Moores
> law 2GB is not far away.
>
> Dave
\--------------------------------------------------------------------------/
\ Aaron Gee AKA Spdracer /
\"Maseratis are more than cars, they are a passion that is understood /
\by some, but enjoyed by a very few" /
\URL---> http://www.italian-cars.com /
\e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 /
\--------------------------------------------------------------/
\ | /
\_|_/
(---)
0
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-24 14:52 ` Speedracer
@ 1999-05-24 17:00 ` Sean Hunter
1999-05-24 20:10 ` Wes Bauske
0 siblings, 1 reply; 26+ messages in thread
From: Sean Hunter @ 1999-05-24 17:00 UTC (permalink / raw)
To: axp-list
I am sure that > 2gig of memory works on alpha. IIRC Linus has said
so. I will try to get sufficient memory to prove this, but I'm sure
it works. Last I heard, they were testing it by mmapping greater than
2 gig at a time!
i386 support for more than two gigs is being developed by Stephen
Tweedie, and as I understand it, is not far off.
H/A clusters are an important area that linux needs to address in the
next cycle.
Sean
On Mon, May 24, 1999 at 10:52:45AM -0400, Speedracer wrote:
>
> We have 2 servers with 1 gig of main memory.
> If alphalinux wants to compete at the "high end"
> it MUST address this issue. Currently we are
> looking at Solaris solutions that are clustered
> to provide the level of service our customers demand.
>
> Highly loaded web servers running mod_perl and/or PHP
> will require a LOT of memory.
>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-24 17:00 ` Sean Hunter
@ 1999-05-24 20:10 ` Wes Bauske
0 siblings, 0 replies; 26+ messages in thread
From: Wes Bauske @ 1999-05-24 20:10 UTC (permalink / raw)
To: axp-list
Sean Hunter wrote:
>
> I am sure that > 2gig of memory works on alpha. IIRC Linus has said
> so. I will try to get sufficient memory to prove this, but I'm sure
> it works. Last I heard, they were testing it by mmapping greater than
> 2 gig at a time!
>
Check the archives for more info:
http://www.lib.uaa.alaska.edu/axp-list/archive/1999-03/0546.html
It's not as straight forward as you might think with 32 bit PCI
and DMA issues.
Wes
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-25 1:05 ` Uncle George
@ 1999-05-25 1:03 ` Matti Aarnio
1999-05-25 10:11 ` Uncle George
1999-05-25 8:22 ` Dr . David Alan Gilbert
1 sibling, 1 reply; 26+ messages in thread
From: Matti Aarnio @ 1999-05-25 1:03 UTC (permalink / raw)
To: axp-list
Uncle George <gatgul@voicenet.com> wrote:
...
> AND After all. the alpha has 64 bits, but yet there isn't a file system
> supporting 64 bit disk addresses & files. :-( **2
The EXT2 has been 64-bit file size capable ever since 1.3
series -- although only when processor 'long' has been
64-bits long... (Oh, and UFS too.)
(And soon even 32-bit machines will be able to address up to
16 TB file offsets, once a few different L-F-S patches get
into the 2.3 series.)
/Matti Aarnio <matti.aarnio@sonera.fi>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-24 13:13 ` Dr . David Alan Gilbert
1999-05-24 14:52 ` Speedracer
@ 1999-05-25 1:05 ` Uncle George
1999-05-25 1:03 ` Matti Aarnio
1999-05-25 8:22 ` Dr . David Alan Gilbert
1 sibling, 2 replies; 26+ messages in thread
From: Uncle George @ 1999-05-25 1:05 UTC (permalink / raw)
To: axp-list, Dr . David Alan Gilbert
That May be true, but never the less you are now nearing the 2gig/4gig
barriers where signed ints, and unsigned ints may unexpectedly shaft u.
But i'd love to see a 2/4gig core dump ! what will gdb say!. How long will it
take to dump :-)
gat
AND After all. the alpha has 64 bits, but yet there isn't a file system
supporting 64 bit disk addresses & files. :-( **2
Dr . David Alan Gilbert wrote:
> At 07:43 24/05/99 -0400, you wrote:
> >wether or not is/is not in intel, not many folks have 2gb or more of
> >main memory to play with. I suppose i'm saying that as you get nearer to
> >the 32bit limitations you may find some "other" 64 bit issues that
> >havent been tested/explored.
>
> I think you would be surprised. While 2GB is still regarded as a lot,
> 512M is not unusual in hardware simulation contexts - which means by Moores
> law 2GB is not far away.
>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-25 1:05 ` Uncle George
1999-05-25 1:03 ` Matti Aarnio
@ 1999-05-25 8:22 ` Dr . David Alan Gilbert
1999-05-26 1:25 ` Peter Rival
1 sibling, 1 reply; 26+ messages in thread
From: Dr . David Alan Gilbert @ 1999-05-25 8:22 UTC (permalink / raw)
To: axp-list
At 21:05 24/05/99 -0400, you wrote:
>That May be true, but never the less you are now nearing the 2gig/4gig
>barriers where signed ints, and unsigned ints may unexpectedly shaft u.
My experience so far on the Alpha is that the size of int problems cause
problems on all programs - not just those that might use a lot of RAM - so
I don't
think it becomes much more of an issue.
>But i'd love to see a 2/4gig core dump ! what will gdb say!. How long will it
>take to dump :-)
But that leads to the obvious question of how much RAM do you need to run GDB
with a 2/4 GB core :-)
>gat
>
>AND After all. the alpha has 64 bits, but yet there isn't a file system
>supporting 64 bit disk addresses & files. :-( **2
It will happen.
Dave
P.S. The other good argument for vast memory is multiprocessing - if the Alpha
quad 21264 boards are around then it wouldn't be unreasonable to start
thinking
about 512MB-1GB of RAM for each processor.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-25 1:03 ` Matti Aarnio
@ 1999-05-25 10:11 ` Uncle George
1999-05-25 19:39 ` Wes Bauske
0 siblings, 1 reply; 26+ messages in thread
From: Uncle George @ 1999-05-25 10:11 UTC (permalink / raw)
To: axp-list
I dont know what u mean by "capable", but partition size may be >2gig ( at
the time I had only a 4 gig drive ), but file size was still 2gig. This was
with a 2.0linux on a redhat 4.0 compilation CD for the alpha.
Discussions since then about this limitation, only suggested that it was
possible to do, but not yet done so. After ALL why hold back?
Now u say its always been here ? I'd like to believe u, but my empirical
experience says thats just not true.
ANYBODY out there can create a file >2gig on linux/alpha ?
gat
Matti Aarnio wrote:
> Uncle George <gatgul@voicenet.com> wrote:
> ...
> > AND After all. the alpha has 64 bits, but yet there isn't a file system
> > supporting 64 bit disk addresses & files. :-( **2
>
> The EXT2 has been 64-bit file size capable ever since 1.3
> series -- although only when processor 'long' has been
> 64-bits long... (Oh, and UFS too.)
>
>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-25 10:11 ` Uncle George
@ 1999-05-25 19:39 ` Wes Bauske
1999-05-25 20:49 ` Michal Jaegermann
1999-05-25 22:00 ` Uncle George
0 siblings, 2 replies; 26+ messages in thread
From: Wes Bauske @ 1999-05-25 19:39 UTC (permalink / raw)
To: axp-list
Uncle George wrote:
>
> I dont know what u mean by "capable", but partition size may be >2gig ( at
> the time I had only a 4 gig drive ), but file size was still 2gig. This was
> with a 2.0linux on a redhat 4.0 compilation CD for the alpha.
> Discussions since then about this limitation, only suggested that it was
> possible to do, but not yet done so. After ALL why hold back?
> Now u say its always been here ? I'd like to believe u, but my empirical
> experience says thats just not true.
>
> ANYBODY out there can create a file >2gig on linux/alpha ?
> gat
Sure.
-rw-r--r-- 1 wsb pds 15039538080 May 16 23:01 junk
Just having troubles lseek()'ing into it past 2GB. Still
testing though so hopefully I can determine if it's
something I did wrong, or glibc/kernel.
Wes
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-25 19:39 ` Wes Bauske
@ 1999-05-25 20:49 ` Michal Jaegermann
1999-05-25 22:00 ` Uncle George
1 sibling, 0 replies; 26+ messages in thread
From: Michal Jaegermann @ 1999-05-25 20:49 UTC (permalink / raw)
To: axp-list
Wes Bauske wrote:
>
> Uncle George wrote:
> >
> > ANYBODY out there can create a file >2gig on linux/alpha ?
>
> Sure.
>
> -rw-r--r-- 1 wsb pds 15039538080 May 16 23:01 junk
>
> Just having troubles lseek()'ing into it past 2GB.
How about using ext2fs_llseek()?. From
/usr/include/ext2fs/ext2_io.h:
/* llseek.c */
ext2_loff_t ext2fs_llseek (int, ext2_loff_t, int);
The header is a part of e2fsprogs-devel package and, presumably,
a library which supplies this function belongs there as well.
BTW - manpage for llseek, at least for RH 5.2 distribution, is obviously
out of sync with headers.
> Still testing though so hopefully I can determine if it's
> something I did wrong, or glibc/kernel.
My bet would be on glibc (1/2 :-).
Michal
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-25 19:39 ` Wes Bauske
1999-05-25 20:49 ` Michal Jaegermann
@ 1999-05-25 22:00 ` Uncle George
1999-05-26 3:38 ` Wes Bauske
1 sibling, 1 reply; 26+ messages in thread
From: Uncle George @ 1999-05-25 22:00 UTC (permalink / raw)
To: axp-list
Gee, looks like 15gig.
Ok, is this a feature of 2.2.x ? right ? or on on a diff os?
Wes Bauske wrote:
> Uncle George wrote:
> >
> > I dont know what u mean by "capable", but partition size may be >2gig ( at
> > the time I had only a 4 gig drive ), but file size was still 2gig. This was
> > with a 2.0linux on a redhat 4.0 compilation CD for the alpha.
> > Discussions since then about this limitation, only suggested that it was
> > possible to do, but not yet done so. After ALL why hold back?
> > Now u say its always been here ? I'd like to believe u, but my empirical
> > experience says thats just not true.
> >
> > ANYBODY out there can create a file >2gig on linux/alpha ?
> > gat
>
> Sure.
>
> -rw-r--r-- 1 wsb pds 15039538080 May 16 23:01 junk
>
> Just having troubles lseek()'ing into it past 2GB. Still
> testing though so hopefully I can determine if it's
> something I did wrong, or glibc/kernel.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-25 8:22 ` Dr . David Alan Gilbert
@ 1999-05-26 1:25 ` Peter Rival
0 siblings, 0 replies; 26+ messages in thread
From: Peter Rival @ 1999-05-26 1:25 UTC (permalink / raw)
To: axp-list, linux-kernel
Boy...did I sure start something here...
"Dr . David Alan Gilbert" wrote:
> At 21:05 24/05/99 -0400, you wrote:
> >That May be true, but never the less you are now nearing the 2gig/4gig
> >barriers where signed ints, and unsigned ints may unexpectedly shaft u.
>
> My experience so far on the Alpha is that the size of int problems cause
> problems on all programs - not just those that might use a lot of RAM - so
> I don't
> think it becomes much more of an issue.
>
Well, I can say one thing - adding that much swap isn't the problem. I
successfully added ~5GB of swap earlier today before I decided that I was
satisfied that wasn't the problem I was seeing (not being able to add more than
X swap partitions). I just split up our 4GB disks into two sections (mkswap only
supports 2GB swap areas right now...unless I have an old mkswap). I swapped them
both on, as well as a few others, and voila!, 5+GB of swap. :)
>
> >But i'd love to see a 2/4gig core dump ! what will gdb say!. How long will it
> >take to dump :-)
>
> But that leads to the obvious question of how much RAM do you need to run GDB
> with a 2/4 GB core :-)
>
Ugh. One of the guys that I work with had the pleasure of watching (or
rather, not watching if you know what I mean) an 8GB core dump on an AS8400. I
don't remember how long it took, but suffice it to say that going out and eating
lunch wasn't long enough. ;)
<snip>
> Dave
>
> P.S. The other good argument for vast memory is multiprocessing - if the Alpha
> quad 21264 boards are around then it wouldn't be unreasonable to start
> thinking
> about 512MB-1GB of RAM for each processor.
<evil grin> I'm still trying to steal time on one of our ES40s...now _that_
will be fun. (4 CPU, 4 GB of memory, 20 some-odd disks - my kind of workstation
;)
As far as my earlier problems trying to mount >15 partitions and adding > 8
swap partitions, well, they seem to have cleared up (fingers crossed, knocking on
wood ;). I had to fiddle past a compile problem with the patch that Richard
Henderson sent out to the axp-list (does "alignment requested is not a constant"
in include/asm-alpha/smp.h at line 18 sound familiar to anyone?) but now that I
have that patched onto 2.2.9 and have changed MAX_SWAPFILES to 32 instead of 8, I
now have a system with 26 work-disks mounted (for a total of 30) and 27 swap
partitions turned on. I'm going to copy over the kernel to the Durango I'm
working on first thing tomorrow morning and see if it works there as well. As it
stands now, I've currently got a 2CPU Rawhide chugging away at an AIM VII shared
run. Hopefully everything will run nice and smoothly... Thanks to everyone who
sent in suggestions!
- Pete
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-25 22:00 ` Uncle George
@ 1999-05-26 3:38 ` Wes Bauske
1999-05-26 9:48 ` Uncle George
0 siblings, 1 reply; 26+ messages in thread
From: Wes Bauske @ 1999-05-26 3:38 UTC (permalink / raw)
To: axp-list
Uncle George wrote:
>
> Gee, looks like 15gig.
>
It is. In fact I have two 18GB disks, each with a file in
that neighborhood for tests. (copy tests for system utils)
simple dd seems OK. Need to test cat and somewhat more unusual
dd cases.
> Ok, is this a feature of 2.2.x ? right ? or on on a diff os?
>
I'm running 2.2.3 at this point. It's worked since around 2.1.9x
or so. There are some utilities that get a bit freaked out by
large files, at least the last time I seriously looked at it. I'm
looking at it again now because I have a problem that uses about
a 9GB work file and I would like to do some of the tests on my
XP1000. My RS/6000's have no problem with those data sizes.
Last I saw, tar, nfs, and rcp were not happy campers with large files.
rcp in particular used to crash the system in RH 5.2. Haven't done those
tests yet. Currently using RH6.0 on the XP1000 for the latest tests.
Wes
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: Adding more than 8 swap partitions
1999-05-26 3:38 ` Wes Bauske
@ 1999-05-26 9:48 ` Uncle George
0 siblings, 0 replies; 26+ messages in thread
From: Uncle George @ 1999-05-26 9:48 UTC (permalink / raw)
To: axp-list
Ah, as the java linux/alpha porter I had to keep my nose mostly in the
enviromnent distributed by redhat linux/alpha CD's. This ment using 2.0.x
kernels. going to an alternate universe like 2.1 wouldhave been more
interesting ( as the chinese proverb would go) .
I dont really need an 18 gig disk/partition. I should be able to create a
"sparse" file by just writing a byte every 100k seek offsets.
thanks for the info.
gat
Wes Bauske wrote:
> Uncle George wrote:
> >
> > Gee, looks like 15gig.
> >
>
> It is. In fact I have two 18GB disks, each with a file in
> that neighborhood for tests. (copy tests for system utils)
> simple dd seems OK. Need to test cat and somewhat more unusual
> dd cases.
>
> > Ok, is this a feature of 2.2.x ? right ? or on on a diff os?
> >
>
> I'm running 2.2.3 at this point. It's worked since around 2.1.9x
> or so. There are some utilities that get a bit freaked out by
> large files, at least the last time I seriously looked at it. I'm
> looking at it again now because I have a problem that uses about
> a 9GB work file and I would like to do some of the tests on my
> XP1000. My RS/6000's have no problem with those data sizes.
>
> Last I saw, tar, nfs, and rcp were not happy campers with large files.
> rcp in particular used to crash the system in RH 5.2. Haven't done those
> tests yet. Currently using RH6.0 on the XP1000 for the latest tests.
>
> Wes
>
> --
> 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] 26+ messages in thread
end of thread, other threads:[~1999-05-26 10:29 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-22 15:35 Adding more than 8 swap partitions Ken Hansen
1999-05-24 7:54 ` [OFFTOPIC] " Sean Hunter
[not found] <Pine.LNX.3.96.990520142733.30572A-100000@ferret.lmh.ox.ac.uk>
1999-05-20 22:00 ` Peter Rival
1999-05-21 1:41 ` Wes Bauske
1999-05-23 17:02 ` Richard Henderson
1999-05-23 20:28 ` Wes Bauske
1999-05-23 21:13 ` warp
1999-05-23 22:33 ` Wes Bauske
1999-05-24 9:27 ` Sean Hunter
1999-05-24 11:43 ` Uncle George
1999-05-24 13:13 ` Dr . David Alan Gilbert
1999-05-24 14:52 ` Speedracer
1999-05-24 17:00 ` Sean Hunter
1999-05-24 20:10 ` Wes Bauske
1999-05-25 1:05 ` Uncle George
1999-05-25 1:03 ` Matti Aarnio
1999-05-25 10:11 ` Uncle George
1999-05-25 19:39 ` Wes Bauske
1999-05-25 20:49 ` Michal Jaegermann
1999-05-25 22:00 ` Uncle George
1999-05-26 3:38 ` Wes Bauske
1999-05-26 9:48 ` Uncle George
1999-05-25 8:22 ` Dr . David Alan Gilbert
1999-05-26 1:25 ` Peter Rival
1999-05-21 8:19 ` Dr . David Alan Gilbert
1999-05-21 12:52 ` Peter Rival
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox