Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* [Q] System CPU speed ?
@ 2000-05-18  4:00 Stefan A. Deutscher
  2000-05-18  4:00 ` Stefan Moeding
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Stefan A. Deutscher @ 2000-05-18  4:00 UTC (permalink / raw)



Howdy,

 I have another one that has got to be a runner-up to 'how much memory
do I have?': How do I figure out at what clock my Alpha box is ticking?
I did a man -k {clock,speed,CPU} and it didn't turn up what I am looking
for. For now I ran a CPU intensive simulation code for which I know the
run time on a 500 MHz XP-1000, scaling with this time indicates 673 MHz.
This is close to the 677 MHz Ithink actually exist, but I'd really like
to _know_. 

The docs that came with the box are somewhat less technical; I have in
about eight languages instructions on how to install VMS or Windows NT,
and how to not pour coffee in the CPU. I could tell you immediately what
noise level the box puts out, but no CPU cpecs .. :-(

 Cheers,
         Stefan


-- 
=========================================================================
Stefan A. Deutscher                       | (+33-(0)1)   voice      fax
Laboratoire des Collisions Atomiques et   | LCAM :  6915-7699  6915-7671
Mol\'{e}culaires (LCAM), B\^{a}timent 351 | home :  5624-0992  call first
Universit\'{e} de Paris-Sud               | email:  sad@utk.edu 
91405 Orsay Cedex, France (Europe)        |         (forwarded to France)
=========================================================================
 Do you know what they call a quarter-pounder with cheese in Paris?



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

* Re: [Q] System CPU speed ?
  2000-05-18  4:00 [Q] System CPU speed ? Stefan A. Deutscher
@ 2000-05-18  4:00 ` Stefan Moeding
  2000-05-18  4:00 ` Stuart R. Fuller
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Stefan Moeding @ 2000-05-18  4:00 UTC (permalink / raw)


Hi!

Stefan A Deutscher writes:

>  I have another one that has got to be a runner-up to 'how much memory
> do I have?': How do I figure out at what clock my Alpha box is ticking?

I think this is written to the binary errorlog during startup.
Depending on your OS version 'uerf' or 'dia' are your friends.  Search
for an entry labeled SYSTEM STARTUP.

-- 
Stefan



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

* Re: [Q] System CPU speed ?
  2000-05-18  4:00 [Q] System CPU speed ? Stefan A. Deutscher
                   ` (2 preceding siblings ...)
  2000-05-18  4:00 ` Adam Price
@ 2000-05-18  4:00 ` Tony Verhulst
  3 siblings, 0 replies; 6+ messages in thread
From: Tony Verhulst @ 2000-05-18  4:00 UTC (permalink / raw)


"Stefan A. Deutscher" wrote:
> 
> Howdy,
> 
>  I have another one that has got to be a runner-up to 'how much memory
> do I have?': How do I figure out at what clock my Alpha box is ticking?


You should use getsysinfo().  Here's a sample program:

#include <sys/types.h>
#include <sys/errno.h>
#include <machine/hal_sysinfo.h>

int
main(argc, argv)
int argc;
char **argv;
{
        struct cpu_info cpu_info;

        if (getsysinfo(GSI_CPU_INFO, &cpu_info,
                                        sizeof(cpu_info), 0L, 0L) <= 0)
{
                perror("getsysinfo");
                exit( 0 );
        }

        printf("current_cpu = 0x%lx\n", cpu_info.current_cpu);
        printf("cpus_in_box = 0x%lx\n", cpu_info.cpus_in_box);
        printf("cpu_type = 0x%lx\n", cpu_info.cpu_type);
        printf("ncpus = 0x%lx\n", cpu_info.ncpus);
        printf("cpus_present = 0x%lx\n", cpu_info.cpus_present);
        printf("cpus_running = 0x%lx\n", cpu_info.cpus_running);
        printf("cpu_binding = 0x%lx\n", cpu_info.cpu_binding);
        printf("cpu_ex_binding = 0x%lx\n", cpu_info.cpu_ex_binding);
        printf("mhz = 0x%lx\n", cpu_info.mhz);
}



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

* Re: [Q] System CPU speed ?
  2000-05-18  4:00 [Q] System CPU speed ? Stefan A. Deutscher
  2000-05-18  4:00 ` Stefan Moeding
  2000-05-18  4:00 ` Stuart R. Fuller
@ 2000-05-18  4:00 ` Adam Price
  2000-05-18  4:00 ` Tony Verhulst
  3 siblings, 0 replies; 6+ messages in thread
From: Adam Price @ 2000-05-18  4:00 UTC (permalink / raw)



Stefan A. Deutscher wrote in message ...
>
>Howdy,
>
> I have another one that has got to be a runner-up to 'how much memory
>do I have?': How do I figure out at what clock my Alpha box is ticking?
>I did a man -k {clock,speed,CPU} and it didn't turn up what I am looking
>for. For now I ran a CPU intensive simulation code for which I know the
>run time on a 500 MHz XP-1000, scaling with this time indicates 673 MHz.
>This is close to the 677 MHz Ithink actually exist, but I'd really like
>to _know_.
>
>The docs that came with the box are somewhat less technical; I have in
>about eight languages instructions on how to install VMS or Windows NT,
>and how to not pour coffee in the CPU. I could tell you immediately what
>noise level the box puts out, but no CPU cpecs .. :-(
>
Look at psrinfo and sizer, they should give you lots of useful info, if
they don't then look at the boot records in the binary error log (use
uerf or dia)
Hope this helps
Adam







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

* Re: [Q] System CPU speed ?
  2000-05-18  4:00 [Q] System CPU speed ? Stefan A. Deutscher
  2000-05-18  4:00 ` Stefan Moeding
@ 2000-05-18  4:00 ` Stuart R. Fuller
  2000-05-27  4:00   ` Jack Patteeuw
  2000-05-18  4:00 ` Adam Price
  2000-05-18  4:00 ` Tony Verhulst
  3 siblings, 1 reply; 6+ messages in thread
From: Stuart R. Fuller @ 2000-05-18  4:00 UTC (permalink / raw)


Stefan A. Deutscher (stefand@lcam.u-psud.fr) wrote:
: 
: Howdy,
: 
:  I have another one that has got to be a runner-up to 'how much memory
: do I have?': How do I figure out at what clock my Alpha box is ticking?
: I did a man -k {clock,speed,CPU} and it didn't turn up what I am looking
: for. For now I ran a CPU intensive simulation code for which I know the
: run time on a 500 MHz XP-1000, scaling with this time indicates 673 MHz.
: This is close to the 677 MHz Ithink actually exist, but I'd really like
: to _know_. 
: 
: The docs that came with the box are somewhat less technical; I have in
: about eight languages instructions on how to install VMS or Windows NT,
: and how to not pour coffee in the CPU. I could tell you immediately what
: noise level the box puts out, but no CPU cpecs .. :-(

Usually, a look at the front of the box will yield a clue to the speed.  For
example, the box under my desk asys "Alphastation 400 4/233", which indicates
that it's an Alphastation 400, with an EV4 processor running at 233Mhz.

The command "uerf -Rr 300" will yield the hardware information from the most
recent boot - a clue might be in there.

Finally, the "psrinfo -v" command will probably tell you what you want to
know.

        Stu



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

* Re: [Q] System CPU speed ?
  2000-05-18  4:00 ` Stuart R. Fuller
@ 2000-05-27  4:00   ` Jack Patteeuw
  0 siblings, 0 replies; 6+ messages in thread
From: Jack Patteeuw @ 2000-05-27  4:00 UTC (permalink / raw)


Borrowed from Shakespeare

"Ah uerf, I knew him well ..."



"Stuart R. Fuller" wrote:
> 
>
> 
> The command "uerf -Rr 300" will yield the hardware information from the most
> recent boot - a clue might be in there.
>



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

end of thread, other threads:[~2000-05-27  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-18  4:00 [Q] System CPU speed ? Stefan A. Deutscher
2000-05-18  4:00 ` Stefan Moeding
2000-05-18  4:00 ` Stuart R. Fuller
2000-05-27  4:00   ` Jack Patteeuw
2000-05-18  4:00 ` Adam Price
2000-05-18  4:00 ` Tony Verhulst

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