For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > April 2005 > ISO CPU speed meter for Solaris (like bogomips in Linux)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ISO CPU speed meter for Solaris (like bogomips in Linux)
Kenny McCormack

2005-04-19, 8:57 pm

CPU speed meter for Solaris (like bogomips in Linux)

Wondering if there is any kind of tool that gives an idea of CPU speed.
Looking for something at least reasonably standard (could, of course, roll
my own if necessary), but would be willing to go the download it, compile
it route if necessary.

In Linux, you can do: cat /proc/cpuinfo and read off the bogomips value.

Sean Burke

2005-04-19, 8:57 pm


gazelle@yin.interaccess.com (Kenny McCormack) writes:

> CPU speed meter for Solaris (like bogomips in Linux)
>
> Wondering if there is any kind of tool that gives an idea of CPU speed.
> Looking for something at least reasonably standard (could, of course, roll
> my own if necessary), but would be willing to go the download it, compile
> it route if necessary.
>
> In Linux, you can do: cat /proc/cpuinfo and read off the bogomips value.


$ psrinfo -v
Status of processor 0 as of: 04/19/05 13:31:42
Processor has been on-line since 03/04/05 09:25:34.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
Status of processor 1 as of: 04/19/05 13:31:42
Processor has been on-line since 03/04/05 09:25:37.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.



Hope this helps,
-SEan
dogren@gmail.com

2005-04-19, 8:57 pm

>Wondering if there is any kind of tool that gives an idea of CPU
speed. ...
>In Linux, you can do: cat /proc/cpuinfo and read off the bogomips

value.

Bogomips are totally useless for comparing CPU throughput. Bogomips is
effectively just comparing MHz. As Sean Burke points out, if you want
to do this on Solaris you can just compare MHz values via psrinfo. But,
just like bogomips, this is a horrible way to compare CPUs.

I'd advise trying to find a useful application benchmark if you want to
have a meaningful comparison between CPUs. But even a artificial
benchmark like SPECint is better than comparing bogomips or MHz.

David

Fredrik Lundholm

2005-04-19, 8:57 pm

In article <d43ln6$6kc$1@yin.interaccess.com>,
Kenny McCormack <gazelle@interaccess.com> wrote:
>CPU speed meter for Solaris (like bogomips in Linux)


I used to compile and run bogomips on solaris as a standalone
binary.

/wfr
Fredrik
--
Fredrik Lundholm
dol @ ce.chalmers.se

Kenny McCormack

2005-04-20, 3:59 am

In article <d43tm9$ji0$1@eol.dd.chalmers.se>,
Fredrik Lundholm <dol@ce.chalmers.se> wrote:
>In article <d43ln6$6kc$1@yin.interaccess.com>,
>Kenny McCormack <gazelle@interaccess.com> wrote:
>
>I used to compile and run bogomips on solaris as a standalone
>binary.


Is that hard to do?

Fredrik Lundholm

2005-04-20, 8:58 am

In article <d4527f$43o$1@eol.dd.chalmers.se>,
Fredrik Lundholm <dol@ce.chalmers.se> wrote:

>No, just find the source! It compiles on anything IIRC.


Here it is:

http://ibiblio.org/pub/linux/system...bogo-1.2.tar.gz

--
Fredrik Lundholm
dol @ ce.chalmers.se

Fredrik Lundholm

2005-04-20, 8:58 am

In article <d44kg1$d6n$1@yin.interaccess.com>,
Kenny McCormack <gazelle@interaccess.com> wrote:
>In article <d43tm9$ji0$1@eol.dd.chalmers.se>,
>Fredrik Lundholm <dol@ce.chalmers.se> wrote:


>
>Is that hard to do?



No, just find the source! It compiles on anything IIRC.

/Regards
Fredrik


--
Fredrik Lundholm
dol @ ce.chalmers.se

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com