Thread View: comp.sys.powerpc
3 messages
3 total messages
Started by David T. Wang
Fri, 29 Mar 1996 23:03
Re: Debate: PowerMac "trounces" Pentium....???
Author: David T. Wang
Date: Fri, 29 Mar 1996 23:03
Date: Fri, 29 Mar 1996 23:03
90 lines
4530 bytes
4530 bytes
Stephen Knilans (stephenk@netcom.com) wrote:
: In article <dke-2803961851210001@adnline290.adnc.com> dke@adnc.com (David K. Every) writes:
: >In article <4jf32c$qm6@steel.interlog.com>, daveacg@interlog.com (Dave
: >Glue) wrote:
: >
: >> PPC is faster running Bytemarks. That is all that it shows. Wow,
: >> looking at SpecMarks, the Pro is faster, guess it's the faster
: >> processor then.
: >
: >OK.. but Apple and others have shown that PowerMacs are faster than P5's
: >by a gawd awful amount - up to 3 times at the same clock rate (fp
: >intensive stuff)... now according to Intels OWN numbers, the P6 is only
: >50%+ faster at the same clock rate (at least the ones I saw)... so that
: >would make it what?!?! A heck of a lot slower in the real world than a
: >604?!?!
: >
: >Which seems to be the case I've seen... (only based on the P5's). Intel
: >claimed it was as good as the 601... it was EATEN ALIVE. We did some
: >comparisons and the 66mhz 601 was beating the 120mhz P5 in processor or
: >floating point intesive stuff. So now they claim the P6 is better still...
: >and I'm supposed to beleive what? That THIS TIME they mean it... that they
: >didn't lie (market creatively) like they always do?!?! I look at the
: >performance difference on my 150mhz 604 (as compared to a 66mhz 601) and
: >think, there is NO WAY that Intel made the P6 3 TIMES faster (minimum)
: >than the P5... which is what they would have had to have done.
: >--
: Ya know, I WAS going to mail this post back seperate, but I guess I'll do it
: HERE! the P5 was "EATEN ALIVE" by the 601, HUH? Look at this, and tell me how
: we are mistaken!
: #include <stdio.h>
: #include <math.h>
:
: void main(void)
: {
: double sum, i;
:
: sum = 0;
: for(i=1;i<10000000;i++)
: {
: sum = sum + sqrt(sin(i/4.2)*sin(i/4.2) + log(i));
: }
: printf("total: %f", sum);
: }
: /*** end ***/
: /*
: And the result is:
:
[Result which shows Pentiums blowing away PPC601 deleted]
I didn't want to say anything, because I knew from just looking at the
code how silly it was. I think that it was hashed out here a while back
that PPC601's didn't support transedentals (sine, cosines) via hardware,
while pentiums did, so any simplified benchmark like the one given by
Mr Hansen will show the Pentium "better" than a PPC chip. I think that
it's not even close to a decent benchmark, all it shows you is that if
you happen to be writing your own code, and you use a bunch of sines and
cosines all the time, you'd be better off with a Pentium, that's about it.
Ofcourse Mr Hansen could return with a new program which completely eliminates
sine and cosine, but he could then carefully pick some operations whose
code implementation uses instructions which are faster on the PPC601
than a Pentium. And then if someone else had the energy or drive to do it,
just come back with a different "benchmark" which could favor the Pentium.
This is why benchmarking is a difficult art.
: Please note, that the first measurement was from GREGORY HANSON, a PPC user!
: The other ones were by ME on a LINUX 1-3.78 system that had SEVERAL processes
: running! HE listed his system as a PPC601/100 which I ASSUME is a 601 Power
: PC chip CPU running at 100MHZ. GRANTED, my system has 256K PB cache, but
: This benchmark is HEAVILY FPU intensive, and should be a good indicator of FPU
: performance. On an apples to apples comparison(approx = attempts at optimizing)
: the P5/100 was 86% FASTER!!!!!!
: Either HANSEN was mistaking, I misinterpreted his info, or you have the
: benchmarks BACKWARDS! This test has a set number of iterations, and so
: lower numbers are BETTER, as they indicate it took less time to complete.
: Steve
: BTW EACH loop has:
: 3 adds
: 2 divides
: 1 multiply
: 4 transcendentals
: ALL are double precision!
Re: Debate: PowerMac "trounces" Pentium....???
Author: Gregory L Hansen
Date: Mon, 01 Apr 1996 17:08
Date: Mon, 01 Apr 1996 17:08
36 lines
2593 bytes
2593 bytes
In article <4jhq8r$nt2@cville-srv.wam.umd.edu>,
David T. Wang <veakblad@Glue.umd.edu> wrote:
>I didn't want to say anything, because I knew from just looking at the
>code how silly it was. I think that it was hashed out here a while back
>that PPC601's didn't support transedentals (sine, cosines) via hardware,
>while pentiums did, so any simplified benchmark like the one given by
>Mr Hansen will show the Pentium "better" than a PPC chip. I think that
>it's not even close to a decent benchmark, all it shows you is that if
>you happen to be writing your own code, and you use a bunch of sines and
>cosines all the time, you'd be better off with a Pentium, that's about it.
Thank you for that explanation. I admit I was a little confused by the
results, but what could I do but show what I'd found? I missed the
hashing of PPC math because there's so darn much traffic here I only read
it sporadically. It seems kind of obtuse to leave out transcendals since
almost anything that uses floating-point math is going to start slinging
them around. How about the PPC604?
>Ofcourse Mr Hansen could return with a new program which completely eliminates
>sine and cosine, but he could then carefully pick some operations whose
>code implementation uses instructions which are faster on the PPC601
>than a Pentium. And then if someone else had the energy or drive to do it,
>just come back with a different "benchmark" which could favor the Pentium.
>This is why benchmarking is a difficult art.
Then perhaps we can have "with transcendentals" and "without
transcendentals" catagories. The reason I proposed the UseMarks is so
our readers can remove the ambiguities. When they can examine the
benchmarks, debate them, and propose their own, hopefully we can get some
numbers that everyone's happy with. Then the only argument will be
interpreting them ("601 does floating point faster!" "So what? It
can't find a sine.") rather than the numbers themselves.
Maybe needless to say, I hope some more qualified persons can help with
the project.
Re: Debate: PowerMac "trounces" Pentium....???
Author: Dan Pop
Date: Mon, 01 Apr 1996 22:20
Date: Mon, 01 Apr 1996 22:20
41 lines
2582 bytes
2582 bytes
In <4jp2i8$f0r@nuke.csu.net> ghansen@isc.sjsu.edu (Gregory L Hansen) writes: >In article <4jhq8r$nt2@cville-srv.wam.umd.edu>, >David T. Wang <veakblad@Glue.umd.edu> wrote: > >>I didn't want to say anything, because I knew from just looking at the >>code how silly it was. I think that it was hashed out here a while back >>that PPC601's didn't support transedentals (sine, cosines) via hardware, >>while pentiums did, so any simplified benchmark like the one given by >>Mr Hansen will show the Pentium "better" than a PPC chip. I think that >>it's not even close to a decent benchmark, all it shows you is that if >>you happen to be writing your own code, and you use a bunch of sines and >>cosines all the time, you'd be better off with a Pentium, that's about it. > >Thank you for that explanation. I admit I was a little confused by the >results, but what could I do but show what I'd found? I missed the >hashing of PPC math because there's so darn much traffic here I only read >it sporadically. It seems kind of obtuse to leave out transcendals since >almost anything that uses floating-point math is going to start slinging >them around. How about the PPC604? Didn't the 'R' in RISC stand for "reduced"? Now you want a RISC chip with full-blown CISC features :-) It's not at all obtuse to leave out transcendentals, because only a rather insignificant percentage of the cpu time spent in a "typical" number crunching application is used for computing transcendentals. Of course, exceptions do exist, but the designer tries to optimise for the mainstream (read SPECmarks :-) A _good_ math library can implement them in software very efficiently, but this can be done only by people who have done some serious research (or, at least, reading) in this field. The quick and dirty Taylor/Mac Laurin series approach is catastrophic, performance-wise. Dan -- Dan Pop CERN, CN Division Email: danpop@mail.cern.ch Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads