Thanks all for the information that has been provided. This value is not being used anywhere in my application to compute some other value.
So, there is no real need out here.

" So, again, what are you trying to accomplish beyond printing a number in a space? " - Nothing -:)

And the complete irrelevance of this MIPS value in this case is understood.

Thanx once again.

Regards.



David Boyes <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[EMAIL PROTECTED]>

08/24/04 08:54 PM

Please respond to
Linux on 390 Port <[EMAIL PROTECTED]>

To
[EMAIL PROTECTED]
cc
Subject
Re: Linux390 LPAR - CPU info





 >  Yeah. But still i want to show some value which represents the CPU
capacity configuration of the machine.

For what purpose? Help us out here -- we're having a really hard time
understanding why you care about this number, other than having
something cool to print out. Do you adjust algorthms based on the
processor speed or type? What purpose is this information intended to
serve?

If you want the physical configuration in a LPAR environment, what's in
/proc/cpuinfo is all there is -- there's no reliable way to get the
information you want, and you can't see the LPAR CPU sharing
configuration from Linux, so any "speed" number you get is completely
useless for your purposes because it can't see or take into account
other workload on the machine. If you are running under VM, you can use
the 'hcp' package to interrogate the virtual machine configuration
directly, but since the underlying assignment of virtual processors to
real CPUs changes by the timeslice and workload present at the given
instance, the numbers are unreliable and again, useless for comparison
purposes.

So, again, what are you trying to accomplish beyond printing a number in
a space?

-- db



----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

ForwardSourceID:NT0000C37E    
DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services Limited. It must not be printed, 
read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any 
person other than the
addressee. Unauthorized use, disclosure or copying is strictly prohibited and may 
constitute unlawful act and can possibly attract legal action, civil and/or criminal. 
The contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services Limited
on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services Limited takes 
any responsibility or liability towards the same. Opinions, conclusions and any other
information contained in this message that do not relate to the official business of 
Tata Consultancy Services Limited  shall be understood as neither given nor endorsed 
by Tata Consultancy Services Limited or any affiliate of Tata Consultancy Services 
Limited. If you have received this message in error,
you should destroy this message and may please notify the sender by e-mail. Thank you.

Reply via email to