Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: upper limits of linux/alpha
@ 1996-12-12 19:24 Maurice Hilarius
  0 siblings, 0 replies; 18+ messages in thread
From: Maurice Hilarius @ 1996-12-12 19:24 UTC (permalink / raw)


At 10:19 AM 12-12-96 -0500, you wrote:
>On Wed, 11 Dec 1996, Maurice Hilarius wrote:
>
>> I have created and used a single 500MB swapfile on an EB164. It works fine.
>> The machine has 256MB RAM.
>
>The limit on swap file size for Linux is based on the page size, right? 
>Wouldn't that mean that swap files could be twice as big on the Alpha
>as on Intel?
>
>As for 500MB, I woulnd't believe the kernel was using all of that unlesss
>/proc/meminfo supports you.
>
>Erik
Hi Erik.

Here's my output from this machine:

>xxxx:/Users/xxxx>cat /proc/meminfo 
>        total:    used:    free:  shared: buffers:  cached:
>Mem:  262750208 191635456 71114752  3702784 129490944 38518784
>Swap: 536207360        0 536207360
>MemTotal:    256592 kB
>MemFree:      69448 kB
>MemShared:     3616 kB
>Buffers:     126456 kB
>Cached:       37616 kB
>SwapTotal:   523640 kB
>SwapFree:    523640 kB
>
>tnum:/Users/jmack>cat /proc/cpuinfo 
>cpu                     : Alpha
>cpu model               : EV5
>cpu variation           : 0
>cpu revision            : 0
>cpu serial number       : Linux_is_Great!
>system type             : EB164
>system variation        : 0
>system revision         : 0
>system serial number    : MILO-0000
>cycle frequency [Hz]    : 0
>timer frequency [Hz]    : 1024.00
>page size [bytes]       : 8192
>phys. address bits      : 40
>max. addr. space #      : 127
>BogoMIPS                : 297.79
>kernel unaligned acc    : 0 (pc=0,va=0)
>user unaligned acc      : 0 (pc=0,va=0)

Obviously we are not using any of the swap on this snapshot.
I haven't thought of a good way to drive it into heavy cache usage yet which
won't risk crashing the machine. Any suggestions?

Cheers,
        Maurice
+--------------------------------------------------------------------------+
| Maurice Hilarius                   | The Past is History                 |
| President  / Computer Entomologist |  The Future is Mystery              |
| Hard Data Ltd.                     |   Today is a Gift                   |
| 403-456-1510 / FAX 403-457-1338    | That is why they call it            |
| maurice@ellpspace.math.ualberta.ca |     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] 18+ messages in thread
[parent not found: <19617.199612121935@olib>]
[parent not found: <32B04E0B.345B@bob.usuf2.usuhs.mil>]
* Re: upper limits of linux/alpha
@ 1996-12-13  9:06 David A Rusling
  0 siblings, 0 replies; 18+ messages in thread
From: David A Rusling @ 1996-12-13  9:06 UTC (permalink / raw)


> I'm unfamiliar with Vfs on Linux.  How is it implemented?
> The Linux Virtual Partition System Project pointer at
> http://www.cc.gatech.edu/linux/ldp/
> is empty.  Is there a HOWTO somewhere?
> 
> Is this new Vfs only available in 2.1.x?

VFS is Virtual File System and it is, essentially a common interface to all of the physical file systems.
All of the real file systems register themselves with this layer of software and, whenever a filesystem is
mounted, VFS uses callbacks to first mount it and then to navigate the filesystem, finding files and so on.
All Linux filesystems are represented in VFS by a superblock (the basic description of the filesystem) with
each file (or directory) represented by inodes (an ancient Unix concept).  Whenever real filesystem stuff
happens, the code maps its data structures into VFS superblocks and VFS inodes via callbacks.  This is 
slightly confusing with the EXT2 filesystem as it does actually use Superblocks and inodes.  The EXT2 Inodes
look a lot like the VFS ones and the mapping is easy and efficient.  Buried in here is also access by the 
filesystems to the buffer cache as well as VFS's use of the directory and inode caches.  All of which make the
filesystems very efficient.   Ted T'so (MIT?) was looking at the EXT2 filesystem extensions.

To see the code look in /fs and in /fs/ext2.  I have seen some papers on this, probably at the LDP site, written
by Remy Card (inventor of EXT2) and Stephen Tweedie (expert and implementor of several go faster pieces).  There
are a couple of books on the Linux kernel out, I cannot remember their name  as I'm avoiding buying them; I
am in the middle of writing a book on the linux kernel myself and I don't want to be 'tainted'.  Guess which 
chapter I'm half way through writing?

Dave

----------------------------------------------------------------------
David A Rusling				Principal Engineer
European Semiconductor Applications	Digital Equipment Co Ltd.,
	Engineering			PO Box 121,
					Imperial Way,
					Worton Grange
					Reading RG2 0TU
Linux, Alpha, StrongArm, PCI		Tel: UK-(0)1734-204380
					Fax: UK-(0)1734-203133
----------------------------------------------------------------------

--
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] 18+ messages in thread
[parent not found: <1.5.4.32.19961213032223.006db074@tiger.avana.net>]
* Re: upper limits of linux/alpha
@ 1996-12-13  3:22 Michael W. Chalkley
  0 siblings, 0 replies; 18+ messages in thread
From: Michael W. Chalkley @ 1996-12-13  3:22 UTC (permalink / raw)


At 01:25 PM 12/12/96 -0500, you wrote:
>Joshua Snyder wrote:
>> 
>> On Thu, 12 Dec 1996, Robert Williams wrote:
>> > >  . What is the largest file that you can create?
>> > 2 Gb, a big problem with the ext2 filesystem.
>> >
>> I belive, at the Vfs level, in the new 2.1.x some of the old 32bit limits
>> have been pushed up to 64bit.  But I would think that we need a new set
>> e2fs utility's.  Is anyone working on the ext2 limits in 2.1.x or 2.0.x?
>
>I'm unfamiliar with Vfs on Linux.  How is it implemented?
>The Linux Virtual Partition System Project pointer at
>http://www.cc.gatech.edu/linux/ldp/

Check out:

http://dynamic.isdn.uiuc.edu/~roth/vps/

This is the new URL for the Vfs on Linux.

Mike

_______________________________________________________________________
Michael W. Chalkley                                Tel: +1.770.823.7846
ZapNet! Inc.                                       Fax: +1.770.475.7640
Suite 400-120                                   E-mail: mikech@well.com
10945 State Bridge Road                                mikech@avana.net
Alpharetta, GA 30202                    (wireless) mikech@radiomail.net

--
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] 18+ messages in thread
* Re: upper limits of linux/alpha
@ 1996-12-12 20:20 Scott Laird
  0 siblings, 0 replies; 18+ messages in thread
From: Scott Laird @ 1996-12-12 20:20 UTC (permalink / raw)


In message <Pine.LNX.3.93.961212101822.30990E-100000@redhat.com>, Erik Troan wr
ites:
>On Wed, 11 Dec 1996, Maurice Hilarius wrote:
>
>> I have created and used a single 500MB swapfile on an EB164. It works fine.
>> The machine has 256MB RAM.
>
>The limit on swap file size for Linux is based on the page size, right? 
>Wouldn't that mean that swap files could be twice as big on the Alpha
>as on Intel?

Actually, I think it should be based on the *square* of the page size
(the limit is a page worth of references to other pages), so 512MB
makes more sense than 256MB.  I've got about a gig free on my UDB's
/usr filesystem, so I guess I can try building a 600 MB swap file... 

[root@envy src]# ls -l tmpswap
-rw-r--r--   1 scott    users    629145600 Dec 12 16:17 tmpswap
[root@envy src]# /sbin/mkswap tmpswap
/sbin/mkswap: warning: truncating swap area to 523648kB
Setting up swapspace, size = 536207360 bytes
[root@envy src]# free
             total       used       free     shared    buffers     cached
Mem:         21408      21120        288       6256       8960       2416
-/+ buffers:             9744      11664
Swap:       139232      12256     126976
[root@envy src]# /sbin/swapon tmpswap
[root@envy src]# free
             total       used       free     shared    buffers     cached
Mem:         21408      20920        488       5672       8928       2464
-/+ buffers:             9528      11880
Swap:       662872      12240     650632

I guess that answers the question -- there's a ~512 MB limit on
swapfiles.  Like someone else said, there's a #define in the kernel
that limits you to 8 or so swap spaces at a time, but I think you can
just change that and recompile.

Scott

--
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] 18+ messages in thread
[parent not found: <Pine.LNX.3.93.961212101822.30990E-100000@redhat.com>]
* Re: upper limits of linux/alpha
@ 1996-12-12 18:25 Robert Williams
  0 siblings, 0 replies; 18+ messages in thread
From: Robert Williams @ 1996-12-12 18:25 UTC (permalink / raw)


Joshua Snyder wrote:
> 
> On Thu, 12 Dec 1996, Robert Williams wrote:
> > >  . What is the largest file that you can create?
> > 2 Gb, a big problem with the ext2 filesystem.
> >
> I belive, at the Vfs level, in the new 2.1.x some of the old 32bit limits
> have been pushed up to 64bit.  But I would think that we need a new set
> e2fs utility's.  Is anyone working on the ext2 limits in 2.1.x or 2.0.x?

I'm unfamiliar with Vfs on Linux.  How is it implemented?
The Linux Virtual Partition System Project pointer at
http://www.cc.gatech.edu/linux/ldp/
is empty.  Is there a HOWTO somewhere?

Is this new Vfs only available in 2.1.x?

-- 
from Bob Williams, mailto:bob@bob.usuf2.usuhs.mil

--
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] 18+ messages in thread
[parent not found: <32B0152D.5656@bob.usuf2.usuhs.mil>]
[parent not found: <199612120645.XAA04346@ellpspace.math.ualberta.ca>]
* Re: upper limits of linux/alpha
@ 1996-12-12 14:22 Robert Williams
  0 siblings, 0 replies; 18+ messages in thread
From: Robert Williams @ 1996-12-12 14:22 UTC (permalink / raw)


Eric Sven Ristad wrote:
> 
> I would like to run big jobs on big multiprocessor AlphaServers.
> 
>  . What is the most swap space that your process can use?

I'm using 512 Mbytes.  Don't know about a single process yet
because:

>  . What is the largest file that you can create?

2 Gb, a big problem with the ext2 filesystem.  
This is the only bottleneck that
I've seen.  Anyone, is this being fixed in the development
kernel?

-- 
from Bob Williams, mailto:bob@bob.usuf2.usuhs.mil

--
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] 18+ messages in thread
* Re: upper limits of linux/alpha
@ 1996-12-12  6:45 Maurice Hilarius
  0 siblings, 0 replies; 18+ messages in thread
From: Maurice Hilarius @ 1996-12-12  6:45 UTC (permalink / raw)


At 12:59 AM 12-12-96 +0100, you wrote:
>On Wed, 11 Dec 1996, Eric Sven Ristad wrote:
>
>>  . What is the most swap space that your process can use?
>A swapfile can usually (meaning Linux/Intel, I didn't verify this for AXP)
>be 127MB or so large. By default, the kernel allows for 8 swap files, see
>also /usr/src/linux/include/linux/swap.h.
I have created and used a single 500MB swapfile on an EB164. It works fine.
The machine has 256MB RAM.

Cheers,
        Maurice
+--------------------------------------------------------------------------+
| Maurice Hilarius                   | The Past is History                 |
| President  / Computer Entomologist |  The Future is Mystery              |
| Hard Data Ltd.                     |   Today is a Gift                   |
| 403-456-1510 / FAX 403-457-1338    | That is why they call it            |
| maurice@ellpspace.math.ualberta.ca |     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] 18+ messages in thread
[parent not found: <199612112322.SAA23897@nordica.CS.Princeton.EDU>]
* upper limits of linux/alpha
@ 1996-12-11 23:22 Eric Sven Ristad
  0 siblings, 0 replies; 18+ messages in thread
From: Eric Sven Ristad @ 1996-12-11 23:22 UTC (permalink / raw)


I would like to run big jobs on big multiprocessor AlphaServers.  
(After all, isn't that the point of using Alpha instead of p5/p6?)
Please help me figure out if Linux/Alpha is up to the task:

 . Does Linux support the full 64 bit virtual address space?
 . What is the maximum RAM that Linux will support?
 . What is the most swap space that your process can use?
 . What is the largest file that you can create?
 . Does the kernal fully support multiprocessing?

Please don't speculate.  Only reply if you are very confident in your
knowledge, eg., you've actually created a file larger than 2gb or 4gb,
actually declared a 4gb swap partition, actually run a 4gb process on
your machine, or really brought up Linux on your Alpha SMP machine and
watched different jobs dynamically run on different processors.
Thanks,
Eric

--
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] 18+ messages in thread

end of thread, other threads:[~1997-01-13 20:16 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-12 19:24 upper limits of linux/alpha Maurice Hilarius
     [not found] <19617.199612121935@olib>
1997-01-13 20:16 ` Erik Troan
     [not found] <32B04E0B.345B@bob.usuf2.usuhs.mil>
1996-12-13 13:03 ` Toon van der Pas
  -- strict thread matches above, loose matches on Subject: below --
1996-12-13  9:06 David A Rusling
     [not found] <1.5.4.32.19961213032223.006db074@tiger.avana.net>
1996-12-13  4:13 ` Joshua Snyder
1996-12-13  3:22 Michael W. Chalkley
1996-12-12 20:20 Scott Laird
     [not found] <Pine.LNX.3.93.961212101822.30990E-100000@redhat.com>
1996-12-12 19:35 ` Martin Radford
1996-12-12 18:25 Robert Williams
     [not found] <32B0152D.5656@bob.usuf2.usuhs.mil>
1996-12-12 16:39 ` Joshua Snyder
     [not found] <199612120645.XAA04346@ellpspace.math.ualberta.ca>
1996-12-12 15:19 ` Erik Troan
1996-12-12 14:22 Robert Williams
1996-12-12  6:45 Maurice Hilarius
     [not found] <199612112322.SAA23897@nordica.CS.Princeton.EDU>
1996-12-11 23:59 ` Andreas Kostyrka
1996-12-12  0:33 ` Richard Henderson
1996-12-13 12:51   ` Toon van der Pas
1996-12-12  0:39 ` Jim Nance
1996-12-11 23:22 Eric Sven Ristad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox