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

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 --
     [not found] <m0tPYRS-0006hAC@dingo.theplanet.co.uk>
1995-12-12 18:07 ` Minor AXP problems - time incorrect Erik Troan
1995-12-12 17:24 Nigel Metheringham

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