Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Minor AXP problems - time incorrect.
@ 1995-12-12 17:24 Nigel Metheringham
  0 siblings, 0 replies; 2+ messages in thread
From: Nigel Metheringham @ 1995-12-12 17:24 UTC (permalink / raw)


I thought that I would just for fun try the Byte benchmarks to 
compare the box to a standard pentium.

Imagine my suprise when I found that apparently the beast does 
infinite dhrystones per second.... some system!

/usr/bin/time was returning 0 for sys and elapsed time under all 
circumstances - user time appeared OK.
Recompiling (ie installing the SRPM and building it), fixed that.
Presumably something in the kernel has changed???
I am using a 1.3.46 kernel, built here.

Also, with the byte benchmarks, the pipe context switch test won't 
work.  I finally tracked this down to a bit of code that (roughly) 
does this:-

	unsigned long iter
	int check
	...
	write(p1[0], (char *)&iter, sizeof(iter))
	...
	[in different process]
	read(p1[0], (char *)&check, sizeof(check))

The moral being, read into the same variable type as you wrote.. or 
don't assume sizeof(int) == sizeof(long)

[FYI, the raw speed benchmarks are better than a good pentium, the OS 
dependant ones are not so good - in fact in some cases really lousy.  
Hopefully optimisation of the system should improve these.  I can 
post these when I have rerun them]

	Nigel.

-- 
[ Nigel.Metheringham@theplanet.net   - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House     Tel : +44 113 2345566 x 612 ]
[ Melbourne Street, Leeds LS2 7PS UK. Fax : +44 113 2345656       ]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Minor AXP problems - time incorrect.
       [not found] <m0tPYRS-0006hAC@dingo.theplanet.co.uk>
@ 1995-12-12 18:07 ` Erik Troan
  0 siblings, 0 replies; 2+ messages in thread
From: Erik Troan @ 1995-12-12 18:07 UTC (permalink / raw)


On Tue, 12 Dec 1995, Nigel Metheringham wrote:

> Imagine my suprise when I found that apparently the beast does 
> infinite dhrystones per second.... some system!

We told you these Alpha's are fast!

> /usr/bin/time was returning 0 for sys and elapsed time under all 
> circumstances - user time appeared OK.
> Recompiling (ie installing the SRPM and building it), fixed that.
> Presumably something in the kernel has changed???
> I am using a 1.3.46 kernel, built here.

I'm rebuilding it here as well. I'll make a new RPM available today
(time-1.6-3).

> [FYI, the raw speed benchmarks are better than a good pentium, the OS 
> dependant ones are not so good - in fact in some cases really lousy.  

Don't forget that GCC is pretty lousy for Alpha's still - DEC is looking
into getting this fixed. What Linux/AXP really needs is a good compiler
which can optimize for dual pipelines.

Thanks.

Erik

-------------------------------------------------------------------------------
 "Eggheads unite!  You have nothing to lose but your yolks" - Adlai Stevenson

    Erik Troan   =   http://sunsite.unc.edu/ewt/   =   ewt@sunsite.unc.edu

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-12-12 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-12 17:24 Minor AXP problems - time incorrect Nigel Metheringham
     [not found] <m0tPYRS-0006hAC@dingo.theplanet.co.uk>
1995-12-12 18:07 ` Erik Troan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox