Re: instructions per second benchmark (in parrot ;)

2001-09-21 Thread Tom Hughes

In message 20010920190703.S28291@blackrider
Michael G. Schwern [EMAIL PROTECTED] wrote:

 I'm getting 2.67 MIPS with -O3.
 
 Hmmm, why would a K6/200 come out so much faster than a G3/266?  If
 anything it should be the other way around.

No idea I'm afraid. I've just clocked 42.86M on an Athlon/1333 though ;-)

At the other end of the scale a P5/90 manages 2.91M ops/sec.

Taken together (and with the K6/200 time) that is something fairly
close to linear scaling with clock speed on x86 machines although
the K6/200 seems to be beating the odds a little.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu




Re: instructions per second benchmark (in parrot ;)

2001-09-20 Thread Dan Sugalski

At 04:54 PM 9/20/2001 -0500, Brian Wheeler wrote:
Since all benchmarks are crap anyway, I've written a test which tells
the average number of instructions per second.  On my athlon 700 I get
3966053 instructions per second and on my PIII 866 I get 5081485
instructions per second.  Do those sound like reasonable numbers?  Of
course, since time_i is one of the opcodes looped, it probably brings
the numbers down.

That's actually what test.pasm tests. :) I just checked in a new version 
that prints labels.

FWIW, my 600MHz Alpha clocks in at around 23M ops/sec. Nyah! ;-P

Dan

--it's like this---
Dan Sugalski  even samurai
[EMAIL PROTECTED] have teddy bears and even
  teddy bears get drunk




Re: instructions per second benchmark (in parrot ;)

2001-09-20 Thread Brian Wheeler

On Thu, 2001-09-20 at 16:46, Dan Sugalski wrote:
 At 04:54 PM 9/20/2001 -0500, Brian Wheeler wrote:
 Since all benchmarks are crap anyway, I've written a test which tells
 the average number of instructions per second.  On my athlon 700 I get
 3966053 instructions per second and on my PIII 866 I get 5081485
 instructions per second.  Do those sound like reasonable numbers?  Of
 course, since time_i is one of the opcodes looped, it probably brings
 the numbers down.
 
 That's actually what test.pasm tests. :) I just checked in a new version 
 that prints labels.

Yeah, I realized that _as soon as I posted it_.  Doh!  Heheh, for the
longest time I thought test.pasm just did stuff for a while.  Anyway,
it started out as an implementation of the bogomips.c program and slowly
became this.

 
 FWIW, my 600MHz Alpha clocks in at around 23M ops/sec. Nyah! ;-P
 

I get 10M ops/sec on the Athlon 700 using test.pasm.  time_i is a
killer, especially judging by the difference in cpu usage (test.pasm is
nearly 100% user, and mine is 75/25 user/system)

The 866 machine gets 15M.  Maybe when/if I get my 1.26GHz machine at
work I'll be able to match you :)

Brian




   Dan
 
 --it's like this---
 Dan Sugalski  even samurai
 [EMAIL PROTECTED] have teddy bears and even
   teddy bears get drunk





Re: instructions per second benchmark (in parrot ;)

2001-09-20 Thread Michael G Schwern

On Thu, Sep 20, 2001 at 04:54:21PM -0500, Brian Wheeler wrote:
 Since all benchmarks are crap anyway, I've written a test which tells
 the average number of instructions per second.  On my athlon 700 I get
 3966053 instructions per second and on my PIII 866 I get 5081485
 instructions per second.  Do those sound like reasonable numbers?  Of
 course, since time_i is one of the opcodes looped, it probably brings
 the numbers down.

1.59 MIPS here.  1.77 if I shut off the mp3 player. :)

G3/266.


-- 

Michael G. Schwern   [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED]   Kwalitee Is Job One
mendel ScHWeRnsChweRNsChWErN   SchweRN  SCHWErNSChwERnsCHwERN
  sChWErn  ScHWeRn  schweRn   sCHWErN   schWeRnscHWeRN 
   SchWeRN  scHWErn SchwErn   scHWErn   ScHweRN   sChwern  
scHWerNscHWeRn   scHWerNScHwerN   SChWeRN scHWeRn  
SchwERNschwERnSCHwern  sCHWErN   SCHWErN   sChWeRn 



Re: instructions per second benchmark (in parrot ;)

2001-09-20 Thread Michael G Schwern

On Thu, Sep 20, 2001 at 11:52:50PM +0100, Tom Hughes wrote:
 I have test.pasm reporting 7.14M ops/sec on a 200MHz K6 running
 linux with the interpreter compiled -O3. That's about twice the
 speed that I get without any optimisation.

Oh, right.  Optimization.

I'm getting 2.67 MIPS with -O3.

Hmmm, why would a K6/200 come out so much faster than a G3/266?  If
anything it should be the other way around.


-- 

Michael G. Schwern   [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED]   Kwalitee Is Job One
Jesus hates me.
http://www.unamerican.com/