From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,c34bd6fa761e1805 X-Google-Attributes: gid10f8a1,public X-Google-Thread: f6134,c34bd6fa761e1805 X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,c34bd6fa761e1805 X-Google-Attributes: gid1164f8,public X-Google-Thread: fa528,c34bd6fa761e1805 X-Google-Attributes: gidfa528,public X-Google-Thread: 110292,c34bd6fa761e1805 X-Google-Attributes: gid110292,public X-Google-Thread: f7344,c34bd6fa761e1805 X-Google-Attributes: gidf7344,public X-Google-Thread: 102b75,c34bd6fa761e1805 X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-12-04 19:01:46 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!newsfeed.hanau.net!news-fra1.dfn.de!fu-berlin.de!uni-berlin.de!dragon.arsdigita.DE!not-for-mail From: dave@willfork.com (Drazen Kacar) Newsgroups: comp.os.vms,comp.unix.tru64,comp.org.decus,comp.sys.dec,vmsnet.alpha,comp.arch,comp.sys.intel Subject: Re: Alpha vs. Itanic: facts vs. FUD Date: 5 Dec 2001 03:01:43 GMT Organization: =?iso-8859-2?Q?=C8ardak?= ni na nebu, ni na zemlji Message-ID: References: NNTP-Posting-Host: dragon.arsdigita.de (212.84.246.66) X-Trace: fu-berlin.de 1007521303 9322114 212.84.246.66 (16 [106417]) X-Face: 'UIE}WabGB0+U>p-#(hp<_+AD2{H],=qR*jHfm$/e]l0(kU3oOYc5lqG6gg>[\h^IOc{'siD6#!T&loIShgmYHz3#+*D38:|`~\BE,(W~Ol9BDfDwk'lKJ;Z{sY8E9(ME.E]'wvNO`$n#,;9Z`tOFcW/nHZq!BOSrM>V?C<5DTw=<${c{M2V+|)0jSUl&!+8%8nIBF(u:E>SZWM^e X-Attribution: Dave Mail-Copies-To: never X-No-Productlinks: yes User-Agent: slrn/0.9.7.1 (SunOS) Xref: archiver1.google.com comp.os.vms:53888 comp.unix.tru64:6105 comp.org.decus:2445 comp.sys.dec:9314 vmsnet.alpha:1589 comp.arch:20111 comp.sys.intel:12764 Bill Todd wrote: > > "Drazen Kacar" wrote in message > news:slrna0p3u4.7bm.dave@raven.arsdigita.de... > > Bill Todd wrote: > > > > > 1. Fact: SPECint2000 performance for today's top-of-the-line (800 > MHz) > > > Itanium is abysmal: 314 for a Dell configuration and 342 for an HP > (values > > > of 365 and 379 have also been listed by HP but reportedly use an ILP32 > > > compiler, which is hardly a generally-useful choice for a 64-bit > processor). > > > > Why do you think so? > > If you're asking why I think that limiting pointers to 32 bits is hardly a > generally-useful choice for a 64-bit processor, I'll answer that you might > as well be using a Xeon-like 32-bit processor if you can do so. I'm not very familiar with x86 processors, so I don't know what you mean. > How do you explain the fact that a certain number of > > Alpha SPEC submissions were produced with -taso compiler option which > > forces 32-bit pointers? > > I don't explain it, because I wasn't aware of it. If it's so, it's as > dubious as HP's practice above (unless it was produced before DEC *had* a > useable 64-bit compiler, or occurred on VMS before VMS supported 64-bit > pointers, either of which would be a reasonable excuse. I don't think so. The latest Compaq submission for Alpha lists -xtaso_short option for several benchmarks. http://www.spec.org/osg/cpu2000/results/res2001q4/cpu2000-20011022-01046.html And the explanation for the flag tells us: -xtaso_short (Compaq C) Directs the compiler to allocate 32-bit pointers by default. You can still use 64-bit pointers, but only by the use of pragmas. [...] > FAIK that *could* have been HP's excuse as well: I was just pointing > out that use of such could inflate the performance numbers when > compared with a fully-64-bit compiler, which I assumed - I hope with > some justification - was the norm when testing 64-bit processors). Not really, I think. The norm seems to be: whichever combination of options and settings produces the best result. So you'll find submissions for Unix systems produced in single-user mode, which is hardly a generally-useful choice for a Unix system. Or you'll find them with kernel settings which affect L2 cache policy, so that different runs of a program might produce different results, but some of them will be somewhat better than without that kernel setting. This used to be quite popular on SPARCs under Solaris. And there are other little tricks like this, all done in pursuit of the highest number. Anyway, I brought this subject up because it seems to me that it's fairly important. There once was a paper on DEC site which reported their performance measurements with respect to pointer size, done on early Alphas. They had two bad things to report: 1. If your application needs a lot of memory, it might happen that its data won't fit in physical RAM in case it uses 64-bit pointers, although it would if it used 32-bit pointers. Then you'll see some swapping if you use 64-bit pointers. That could have disasterous effects on performance. 2. 32-bit pointers take twice less space in the CPU cache, so you might see better performance because of this. The worst example they had was performance downgrade of 12%, I think, but the average was less than that. But they chose to ship a Unix system with the default 64-bit pointer compilation environment. While this choice introduced measurable performance decrease, it had the benefit of only one ABI and only one set of libraries. It was a good trade-off, IMO. I don't know if that paper is still available from somewhere. I'd tend to ignore the first problem because of a "buy more RAM" solution. The second one is interesting, though. There's a small class of applications which will benefit from LP64 environment. Those that could use more than 4GB of memory and those that perform a lot of 64-bit integer calculations. Big memory consumers are largely databases and 64-bit CPUs are benefitial for them. There are ways to use more than 4GB even with 32-bit CPU, but as far as I'm aware, that requires changes to the application code, so it's not an extremely good solution. Further, CPU cache utilization for data will probably not have that much impact if you're actually using 4 gigs of RAM. I would guess that TLB trashing might have greater impact in these cases, but I have no data to prove it. In any case, databases are important. The second category appears to be fairly small. It has been recently pointed out to me that one such program is seti@home. I have no reason not to trust the source of information, but I don't know of any other program in this category. It's also interesting to point out that seti@home probably doesn't require 64-bit pointers. It just needs 64-bit integer arithmetic, so stating that it would benefit from LP64 environment is somewhat misleading. Take SPARCs, for example. On recent Solaris releases you have two environments on 64-bit CPUs: ILP32 and LP64. There is no way to have 32-bit pointers and 64-bit longs. The CPU wouldn't have problems with that, but the OS doesn't support it. The legacy ILP32 environment doesn't allocate enough space to store 64-bit registers on context-switch, so you can't use the upper 32 bits of integer registers there. The new LP64 environment uses 64 bits for pointers and longs. Sun could have introduced a third environment which would feature 32-bit pointers and 64-bit longs, so seti@home would run even faster, but that means having yet another ABI and yet another set of libraries. I'm quite thankful that they didn't do this. However, with -taso on Tru64, you can have 32-bit pointers and 64-bit integer arithmetic, if you're willing to spend some time to set it up. I regard -taso as one of the optimization options to be used when one needs to squeeze the last few percent of the performance from the compiler. It's very nice that it's there, but I wouldn't use it every day, because there's a price to be paid. There's one benefit you'd get from migrating to 64-bit environment on operating systems which were running on 32-bit environments (Solaris and IRIX, for example): since it's a migration to the new ABI, the vendor will get a chance to fix some stuff that couldn't be fixed in 32-bit ABI because of binary compatibility issues. This probably isn't applicable to Alpha, but just for the record. Time to make a point, I suppose. The above text says that I wasn't able to find a lot of applications which would benefit from 64-bit environments. (And I've been looking for them.) That means that your good old 32-bit apps are perfectly adequate and will usually perform a few percents faster than 64-bit apps. So why would anyone go through the pains of converting their 32-bit apps to 64-bit apps? Except for the database vendors, of course. I remember the time when Digital released its 64-bit Unix on Alpha. A huge number of free software programs had problems. They just weren't 64-bit clean, which was not a surprise, because they were never tested on a 64-bit environment. AFAIK, at the time Digital had the best BSD/SYSV support in their OS, so it largely wasn't a question of the APIs that were used in the applications. It took quite some time to clean the apps. And this is a task where free software community is traditionally better that closed source software vendors, because anybody can do it. Digital's lint implementation was a big help for me, I have to say. But I have no reason to believe that commercial software would be ported any time soon to 64 bits if there are no visible benefits. So just databases and scientific applications with a huge data sets? Hmm, but you have them already running perfectly fine on your current 64-bit OS and CPU. Since I'm not following IA-64 very closely, I'll have to admit that I don't know which OS is supposed to be the most important OS for that CPU. If it's something coming from Microsoft, I'd estimate that the porting effort for all third party applications would take a lot of time, because the applications were never tested on a 64-bit OS. Unix people had a lot of problems and I don't see why Microsoft nation wouldn't. I've also seen reports stating that IA-64 doesn't run legacy x86 code with a remarkable speed. I don't know if that's true, but if it is, you'll have a problem with IA-64. Software vendors are just going to tell you that they see no reason to port to 64-bit IA-64 environment when you can spend less money on x86 solution (Hammer, maybe) and get a better performance from their software. -- .-. .-. Unlike good wine, bullshit doesn't improve with age. (_ \ / _) -- John McLean | dave@willfork.com |