* psrinfo -v performance issue @ 2000-01-24 5:00 Jan Lowe 2000-01-24 5:00 ` Serguei Patchkovskii 2000-02-10 5:00 ` Anders Grund 0 siblings, 2 replies; 3+ messages in thread From: Jan Lowe @ 2000-01-24 5:00 UTC (permalink / raw) I am currently installing a large software package (CNS) and psrinfo -v is used in a very clever way to distinguish between the different flavours of alpha processors to get the best performance possible (different executables for different EV's). The problem is that psrinfo takes a long time to complete (up to 5s) and is not acceptable to have in everyone's .cshrc file. QUESTION: is there another (faster) way of getting the same information about the processor(s) ? Thanks a lot, Jan ------------------------------------------------------------------------------ Jan Lowe email: jyl@mrc-lmbCUTMEOUT.cam.ac.uk Laboratory of Molecular Biology phone: +uk 01223 402402 Medical Research Council fax : +uk 01223 213556 Hills Road Cambridge CB2 2QH UK WWW: http://www2.mrc-lmb.cam.ac.uk/groups/JYL/index.html ------------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: psrinfo -v performance issue 2000-01-24 5:00 psrinfo -v performance issue Jan Lowe @ 2000-01-24 5:00 ` Serguei Patchkovskii 2000-02-10 5:00 ` Anders Grund 1 sibling, 0 replies; 3+ messages in thread From: Serguei Patchkovskii @ 2000-01-24 5:00 UTC (permalink / raw) Jan Lowe (jyl@mrc-lmb.cam.ac.uk) wrote: : The problem is that psrinfo takes a long time to complete (up to 5s) and is not : acceptable to have in everyone's .cshrc file. : QUESTION: is there another (faster) way of getting the same information about : the processor(s) ? 'psrinfo -v' spends most of the time reading /var/adm/wtmp; I guess that it that gets excessively large, you *might* have a relatively long delay here. You can always rotate /var/adm/wtmp at system reboot, or, you can simply get the answer you want by doing getsysinfo(GSI_CPU) (see the manual page). All the necessary defines are in /usr/include/machine/hal/cpuconf.h Cheers, /Serge.P -- home page: http://www.cobalt.chem.ucalgary.ca/ps/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: psrinfo -v performance issue 2000-01-24 5:00 psrinfo -v performance issue Jan Lowe 2000-01-24 5:00 ` Serguei Patchkovskii @ 2000-02-10 5:00 ` Anders Grund 1 sibling, 0 replies; 3+ messages in thread From: Anders Grund @ 2000-02-10 5:00 UTC (permalink / raw) Jan Lowe wrote: > > I am currently installing a large software package (CNS) and psrinfo -v is used > in a very clever way to distinguish between the different flavours of alpha > processors to get the best performance possible (different executables > for different EV's). <zap> How about : sizer -implver /Anders ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-02-10 5:00 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2000-01-24 5:00 psrinfo -v performance issue Jan Lowe 2000-01-24 5:00 ` Serguei Patchkovskii 2000-02-10 5:00 ` Anders Grund
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox