From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1164f8,3567d4ae1ce1d0a3 X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,3567d4ae1ce1d0a3 X-Google-Attributes: gid102b75,public X-Google-Thread: 110292,1d6673b85a87920a X-Google-Attributes: gid110292,public From: harley@pauillac.inria.fr (Robert Harley) Subject: Re: P6 vs Alpha (was Re: Pro vs. Mips/Alpha) Date: 1996/07/22 Message-ID: <4svpfb$ifq@news-rocq.inria.fr>#1/1 X-Deja-AN: 170035293 content-type: text/plain; charset=iso-8859-1 organization: I.N.R.I.A Rocquencourt mime-version: 1.0 newsgroups: comp.sys.intel,comp.sys.dec,comp.arch glew@ichips.intel.com (Andy Glew) writes: >harley@pauillac.inria.fr (Robert Harley) wrote: >>zalman@netcom.com (Zalman Stern) writes: >>>[...] (Or in other words, it is intellectual curiosity, not >>>professional accumen, that keeps me interested in Alpha.) >> >>What keeps me interested is that I have big problems to solve and top >>Alphas do them a lot faster than anything else. For instance 3 to 5 >>times faster than 200Mhz P6s. > >What are the problems? Arithmetic with big numbers and polynomials, mostly. >If they are interesting to any significant proportion of the >marketplace, I see you have a catch-all disclaimer. Handy, that. >I and my comrades at Intel will be quite happy to make >future Intel CPUs beat Alpha on these codes [...] Let's take an example: multiplying large integers. The most time critical part is multiplying words and accumulating the products. Using Torbj�rn Granlund's code from GMP2: On Alpha EV5, the inner loop takes 18 cycles per 64-bit word. On Pentium Pro, it takes 9 cycles per 32-bit word. Since the run-time is O(n^2) for n words, that is equivalent to 36 cycles per 64 bits. Alphas are now at 500Mhz. But let's step back to the 417Mhz Alphas. Heck, let's go back further, to the dim mists of time when Alphas were clocked at 267MHz. Now even if Intel's latest were clocked at 267MHz, it would be *half* the speed of those old chips. For large enough integers I use Karatsuba-Ofman's algorithm (as does Torbj�rn). That involves adding and subtracting large integers and recursive calls that bottom out with the ordinary algorithm. The Alpha adds/subs at 4.75 cycles per 64 bits whereas the P6 takes 3.5 cycles per 32 bits. Again the ancient Alpha soundly beats the P6. Good thing you had that disclaimer, you can just reply that nobody is interested in multiplying integers! Would you prefer to talk about floating point performance? (giggle) I just want to run my stuff quickly so I would be *very* happy if Intel (or anybody) came out with chips faster than Alphas. However your suggestion that "I and my comrades at Intel will be quite happy to make future Intel CPUs beat Alpha on these codes" rings hollow because the reality of the situation is that Intel isn't even in the race. If you could *triple* the P6 speed *today* you wouldn't even catch up. As seen as you are talking about vapourware, when is the next generation of x86's due? Two years away or so? Alpha EV6 starts in October. Even faster clocks, 64-bit multiplication in 8 cycles, pipelined so one can start *every* cycle, plus mucho other goodies... I (and others) expect close to an order of magnitude improvement. Meanwhile, P6 might catch up on that ancient 267MHz Alpha. >If they are not interesting to much of the marketplace, Another disclaimer! >or if the only >way to make them run fast is to spend lots and lots of money - on >memory, on disk, whatever - well, too bad. [...] Doesn't rely on of memory or disk. Of course having those truckloads of memory doesn't hurt either ;) It's also nice that I can open editor windows on my files, compile, etc. even though said Alpha is 9600km away and tonnes of other people are using it at the same time. I could go on about how solid the OS is, about cost per user etc. but I'll stop here. Bye, Rob. .-. Robert.Harley@inria.fr .-. / \ .-. "Dances with bits" .-. / \ / \ / \ .-. _ .-. / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / `-' `-' \ / \ / \ \ / `-' `-' \ / `-' Hit me with those laser beams. `-'