From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,ef107b9833276e64 X-Google-Attributes: gid111c93,public X-Google-Thread: f57db,ef107b9833276e64 X-Google-Attributes: gidf57db,public From: dsiebert@icaen.uiowa.edu (Doug Siebert) Subject: Re: Linux vs. Tru64 Unix on the Alpha EV6 Date: 1999/07/30 Message-ID: <7nse2l$m8b$1@server05.icaen.uiowa.edu>#1/1 X-Deja-AN: 507006047 References: Organization: Iowa Computer Aided Engineering Network, University of Iowa Reply-To: douglas-siebert@uiowa.edu Newsgroups: comp.benchmarks,comp.os.linux.alpha dkeren@world.std.com (Daniel Keren) writes: >I am considering buying an XP1000, with the new 667 MHz EV6 >processor. I was told that one can buy the machine with Linux only, >at a price substantially lower than with Tru64 Unix. Someone told >me, however, that I should check whether the Linux system is also >64 bits, otherwise I'd get lower speed in the Linux vs. Unix. Well, first off, don't assume that 64 bit means faster. It actually means slower! Unless you need 64 bits of addressing space for your code, in which case the 64 bit system is infinitely faster :) The reason the 64 bit systems are slower is because the larger pointers cause the cache to hold a bit less, memory bus traffic is increased, and so on. HP says the hit between the 32 bit and 64 bit versions of HP-UX 11.0 is about 5-7%, for these reasons and because their 64 bit version is all position independant code. I don't know of any other published information on this, but I suspect other vendors have found something similar. Remember that all you get with a 64 bit Unix versus a 32 bit Unix is a larger addressable memory area. If you aren't running into the limits on a 32 bit system, there is no need for 64 bits. You can still use 64 bit registers on a 32 bit system and gain whatever benefits that may have for your code (but if you aren't using the extra bits, then when you store a 64 bit quantity instead of a 32 bit one you are again wasting cache space and slowing yourself down) The reason 64 bit chips like the Alpha, PA-RISC and such are the fastest ones isn't because they are 64 bits, it is because the kind of people willing to pay a premium for the fastest chips were also among the first to run into the limits of 32 bit addressing. -- Douglas Siebert Director of Computing Facilities douglas-siebert@uiowa.edu Division of Mathematical Sciences, U of Iowa I plan to live forever, or die trying.