Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Re: Is Linux/Alpha 64 bit?
  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
  2 siblings, 0 replies; 6+ messages in thread
From: Greg Lindahl @ 1997-11-13  5:00 UTC (permalink / raw)



"Sarah Addams" <Sarah.Addams@telergy.com> writes:

> Is the Alpha version of Linux 64 bit?

Yes.

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

No, other Unixes are either 256 or 1024 or unlimited, but if it's
limited, you can generally always up it by recompiling the kernel. I
don't know where to do this in Linux...

-- g




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Is Linux/Alpha 64 bit?
@ 1997-11-13  5:00 Sarah Addams
  1997-11-13  5:00 ` Jim Paradis
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sarah Addams @ 1997-11-13  5:00 UTC (permalink / raw)



I have an application which I'd like to port to a 64bit UNIX, which is very
heavily multithreaded. I've used Linux/Intel  2.0.30 for some time now, and
I know that the kernel thread support will be brought into the library
interface with libc version 6.

Is the Alpha version of Linux 64 bit?

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Is Linux/Alpha 64 bit?
  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
  2 siblings, 0 replies; 6+ messages in thread
From: Jim Paradis @ 1997-11-13  5:00 UTC (permalink / raw)



"Sarah Addams" <Sarah.Addams@telergy.com> writes:
> Is the Alpha version of Linux 64 bit?

Yes it is.  Specifically, the programming model used in C is:

	char		8 bits
	short		16 bits
	int		32 bits
	long		64 bits
	void *		64 bits
	float		32 bits
	double		64 bits

This is the same model used by Digital UNIX.

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

The 2.0 kernel has a pretty hard limit of 256 on both Intel and Alpha.  

The 2.1 kernel changes this to 1024.  If you need more, you can bump
this constant in include/linux/fs.h and build a new kernel.  You'll
need to rebuild your application as well, and you may (I'm not sure)
need to rebuild libc from source as well...


-- 
Jim Paradis   jrp@jrp.tiac.net   http://www.tiac.net/users/jrp/index.html
"It's not procrastination, it's my new Just-In-Time Workload Management System!"



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Is Linux/Alpha 64 bit?
  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
  1997-11-21  5:00   ` Philippe Le Foll
  2 siblings, 1 reply; 6+ messages in thread
From: M.C. Lewis @ 1997-11-20  5:00 UTC (permalink / raw)
  To: Sarah Addams


> 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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Is Linux/Alpha 64 bit?
  1997-11-20  5:00 ` M.C. Lewis
@ 1997-11-21  5:00   ` Philippe Le Foll
  1997-11-22  5:00     ` Christopher B. Browne
  0 siblings, 1 reply; 6+ messages in thread
From: Philippe Le Foll @ 1997-11-21  5:00 UTC (permalink / raw)



M.C. Lewis wrote:

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

I noticed an other limittatin to filesize that is typicaly related to 32bit.

It looks like a file even of Alpha is limitted to 2GB.

Phillf




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Is Linux/Alpha 64 bit?
  1997-11-21  5:00   ` Philippe Le Foll
@ 1997-11-22  5:00     ` Christopher B. Browne
  0 siblings, 0 replies; 6+ messages in thread
From: Christopher B. Browne @ 1997-11-22  5:00 UTC (permalink / raw)



On Fri, 21 Nov 1997 09:18:14 +0100, Philippe Le Foll <phillf@iu-vannes.fr> posted:
>M.C. Lewis wrote:
>
>> > Does it significantly improve on the max number of files per process as
>> > compared with other Unixes? I believe 255 is a typical maximum...
>>
>
>I noticed an other limittatin to filesize that is typicaly related to 32bit.
>
>It looks like a file even of Alpha is limitted to 2GB.

This is a fairly general UNIX problem.  As UNIXes are gradually moving
towards 64 bit architectural support, this becomes an issue for all UNIX
vendors, hence the "Large File Standard Summit."

Those involved with architecting Alpha support decided *not* to create
an Alpha-specific "hack" to make Linux-Alpha support huge files until
the UNIX standards bodies come out with a common set of semantics that
can be usable on the various versions of Linux.

No sense in creating still *another* implementation of Terabyte files when
it would need to be done again probably in 1998, thus breaking any code created
for the "hack."
-- 
Christopher B. Browne, cbbrowne@hex.net, chris_browne@sdt.com
PGP Fingerprint: 10 5A 20 3C 39 5A D3 12  D9 54 26 22 FF 1F E9 16
URL: <http://www.hex.net/~cbbrowne/>
Bill Gates to his broker: "You idiot, I said $150 million on **SNAPPLE**!!!"



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1997-11-22  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1997-11-21  5:00   ` Philippe Le Foll
1997-11-22  5:00     ` Christopher B. Browne

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