Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "M.C. Lewis" <mc2@geocities.com>
To: Sarah Addams <Sarah.Addams@telergy.com>
Subject: Re: Is Linux/Alpha 64 bit?
Date: 1997/11/20	[thread overview]
Message-ID: <3474BBF4.D94F2D8A@geocities.com> (raw)
In-Reply-To: 01bcefcc$3393c3a0$11779fc2@tornado


> Does it significantly improve on the max number of files per process as
> compared with other Unixes? I believe 255 is a typical maximum...

You can change this by editing some header files and recompiling the
kernel.  I have mine running with 4096 per process and 8192 system-wide.
I have tested it with 4000 sockets open between two applications
(8000 file descriptors total).

I was able to change it to 2048 without difficulty, but to get the
really large numbers I had to edit another header file. 

This is under Linux 2.0.0, Intel-based PC.  With this number of 
inodes, LILO behaves strangely -- if I let it boot straight into the
modified kernel, it works just fine, but if I hit SHIFT and select
that kernel, root's console hangs when logging on (the rest of the
machine is fine).

I should be getting an Alpha soon, and will make the same changes to
it (fd limits + a few others).

Also note that with large numbers of FDs, things like select() take
quite a while, as does forking (as thousands of FDs are copied), and
exiting a program takes a while, too (as thousands of inodes are
freed).

If you want specific instructions on how to do this, e-mail me and
I will pull up my header files and write back.



  parent reply	other threads:[~1997-11-20  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-13  5:00 Is Linux/Alpha 64 bit? Sarah Addams
1997-11-13  5:00 ` Jim Paradis
1997-11-13  5:00 ` Greg Lindahl
1997-11-20  5:00 ` M.C. Lewis [this message]
1997-11-21  5:00   ` Philippe Le Foll
1997-11-22  5:00     ` Christopher B. Browne
read-only archive

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