Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Nigel Metheringham <Nigel.Metheringham@theplanet.net>
Subject: Minor AXP problems - time incorrect.
Date: Tue, 12 Dec 1995 17:24:37 +0000	[thread overview]
Message-ID: <2dc84fa7ff40261a6fe3ecd96217f578.axp-list@archive.invalid> (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       ]

             reply	other threads:[~1995-12-12 17:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-12 17:24 Nigel Metheringham [this message]
     [not found] <m0tPYRS-0006hAC@dingo.theplanet.co.uk>
1995-12-12 18:07 ` Minor AXP problems - time incorrect Erik Troan
read-only archive

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