From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa751,37327a7181268284 X-Google-Attributes: gidfa751,public X-Google-Thread: 1164f8,37327a7181268284 X-Google-Attributes: gid1164f8,public X-Google-Thread: 114b0c,37327a7181268284 X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1993-05-26 14:43:19 PST Xref: gmd.de comp.sys.hp:18372 comp.sys.dec:7935 comp.sys.sgi.hardware:1406 Newsgroups: comp.sys.hp,comp.sys.dec,comp.sys.sgi.hardware Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!ux1.cso.uiuc.edu!newsrelay.iastate.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!icaen.uiowa.edu!dsiebert From: dsiebert@icaen.uiowa.edu (Doug Siebert) Subject: Re: BENCHMARK/RESULTS Re: 100MHz Indigo just as fast as HP/ALPHA? Sender: news@news.uiowa.edu (News) Message-ID: <1993May26.212347.10738@news.uiowa.edu> Date: Wed, 26 May 1993 21:23:47 GMT References: <1993May19.203842.3272@donau.et.tudelft.nl> <1993May25.030345.23916@donau.et.tudelft.nl> <1tssdiINNak1@usenet.pa.dec.com> Nntp-Posting-Host: grind.isca.uiowa.edu Organization: University of Iowa, Iowa City, IA, USA X-Newsreader: NN version 6.4.19 eero@cs.tut.fi (Eero Pajarre) writes: >In article <1tssdiINNak1@usenet.pa.dec.com> neideck@nestvx.enet.dec.com > (Burkhard Neidecker-Lutz) writes: >>> In article <1993May25.030345.23916@donau.et.tudelft.nl> >>> reinoud@dutecai.et.tudelft.nl (R. Lamberts) writes: >>> >Results so far: >>> > >>> >system | time (sec.) | cc options >>> >------------------------------------------- >>> >Sun IPC | 65.1 | -O2 -fsingle >>> >Indigo R3000 | 23.7 | -O2 -ansi >>> >Indigo R3000 | 16.5 | * >>> >DEC 3000-500 | 11.0 | -O2 -std (Clock frequency?) >>> >HP 730 | 5.0 | +O2 +r >>> > >>> Yes, but not as good as one would like: >>> DEC OSF/1 T1.3-3, cc -migrate (aka GEM C) -O4: >>> DEC 3000-500 8.6 seconds >>> > d_z=(float)(k&0xfec); 16 % >>> > mpix[((int)d2_y<<10)-(int)d2_x]=k-1; 46 % >>> These two lines together account for about 60 % of the overall benchmark >>> time ! Byte access is not the culprit, changing the definition of mpix & pix >>> to "int" changes the benchmark time just to 8.4 seconds. >>> What is hurting the Alpha is the conversion between integer and floating >>> point values. Because there are no instructions to move values between >>> floating point and integer registers, each conversion (apart from the >>> convert instructions) translates to a load and a store as well. Allthough >>> the merging write buffer gets a lot of that traffic caught it still ties >>> up the machine (from a raw cycle perspective "pixie" would predict this >>> beast to go in 2.2 seconds, but it actually is *memory-bound* on the Alpha). >According to my knowledge PA-RISC also doesn't have >fp register -> integer register moves, it also has to do >conversions by using memory. >Still on a HP 735 (PA-RISC 7100 99 MHz) the benchmark runs >in about 2.7 seconds... >(compiled with cc -O -Aa (the -Aa means ANSI mode which >doesn't always convert fp to double)) Try it with +O3 +ESlit -Wl,-a,archive; I've found those options produce the fastest code, at least for what I've worked with. The +O3 gives the highest optimization, the +ESlit puts string literals in read-only memory (better for write-back cache when they are read) and the -Wl,-a,archive uses archive libraries instead of shared libraries, which reduces start-up overhead as well as the overhead of calling them. I'd be interested to see how a 735 does with these options, that would be about as good as an HP 735 can get. (Nevermind that this whole thread is pretty silly, we are trading a single benchmark of dubious quality for the whole SPEC suite which is presumably better :-) ) -- /-----------------------------------------------------------------------------\ | Doug Siebert | "I don't have to take this abuse | | Internet: dsiebert@isca.uiowa.edu | from you - I've got hundreds of | | NeXTMail: dsiebert@chop.isca.uiowa.edu | people waiting in line to abuse | | ICBM: 41d 39m 55s N, 91d 30m 43s W | me!" Bill Murray, Ghostbusters | \-----------------------------------------------------------------------------/