Well, compared to what you are used to getting on an Intel box, not
really... with the following caveat....
Even in LPAR mode, you have other workload affecting the use of the CPU. So
let's say for the sake of argument you have 2 CPU's that represent the
equivalent of 2 750 MHZ processors.
Great. Now, how many other LPARS are you running? Lets say you are running
4 LPARS. And let's say that they each constantly, for the sake of argument,
without variation all use 18% of the 2 CPU's. That leaves you with 28% of 2
750 MHZ processors. That leaves 210 MHZ of processing power leftover for
your Linux.
So even IF /proc/cpuinfo gave you equivalent numbers, the numbers would be
meaningless at best, irrelevant at worst.
IBM publishes the MIPS rating of their processors. Some of the August
assemblage that makes up this list have the knowledge on how to translate
an IBM mips rating on a given processor into the 'MHZ' equivalent for the
Intel world.
You could then take this MIPS rating and MHZ conversion formulae and
translate it into some meaningless number for your application to display,
but I submit that any information supplied beyond:
itasca:~ # cat /proc/cpuinfo
vendor_id : IBM/S390
# processors : 2
bogomips per cpu: 861.79
processor 0: version = FF, identification = 055606, machine = 2064
processor 1: version = FF, identification = 055606, machine = 2064
is in-fact meaningless at best because of the impacts outside of the LPAR
on which Linux is running. Under VM, this becomes even more irrelevant.
But there you have the basis. Machine type: 2064. A 2064 processor is, I
believe 250 MIPS. So I have two 250 MIP processors.
Perhaps someone more learned than I can explain the bogomips number and
what it is used for, but I wouldn't say it is a valid representation of the
processor 'speed'.
-J
Taraka Srinivas
Kumar
<taraka.srinivas@ To
tcs.com> [EMAIL PROTECTED]
Sent by: Linux on cc
390 Port
<[EMAIL PROTECTED] Subject
IST.EDU> Re: Linux390 LPAR - CPU info
08/24/2004 09:05
AM
Please respond to
Linux on 390 Port
<[EMAIL PROTECTED]
IST.EDU>
Yeah. But still i want to show some value which represents the CPU capacity
configuration of the machine.
Does /proc/sysinfo throw any useful information ?
James Melin <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port
<[EMAIL PROTECTED]> To
[EMAIL PROTECTED]
ST.EDU
08/24/04 06:41 PM cc
Subject
Please respond to Re: Linux390 LPAR
Linux on 390 Port - CPU info
<[EMAIL PROTECTED]>
What type of application are you making that cares so much about CPU speed?
MIPS. Meaningless Indicator of Processor Speed. There are architectureal
differences between z/series and intel that add a great deal of fuzz to
those numbers, especially in an I/O intensive application.
Taraka Srinivas
Kumar
<taraka.srinivas@ To
tcs.com> [EMAIL PROTECTED]
Sent by: Linux on cc
390 Port
<[EMAIL PROTECTED] Subject
IST.EDU> Re: Linux390 LPAR - CPU info
08/24/2004 04:42
AM
Please respond to
Linux on 390 Port
<[EMAIL PROTECTED]
IST.EDU>
Hi,
>>Is there some reason what that number is important to you? I've been
doing
>>working with Linux/390 for 4 years now, and I've never much cared.
>>Depending on what processor type (G5, G6, z990, etc.), it is somewhere in
>>the range of 200MHz to 700Mhz, if all you're interested in is clock
speed.
>>IBM publishes MSU ratings for their various processor types, if you're
>>interested in that.
In this case, i am having an application which takes CPU speed from
/proc/cpuinfo and displays it on the screen. This application has been
developed on Intel Linux where it is very easy to get the CPU speed in MHz.
Now, i am trying to port the same application to Linux on zSeries. As you
know, /proc/cpuinfo remains to be one of the major porting issues for
porting applications to Linux on mainframe (Since the format has changed).
I am trying to find out other ways of getting this particular MIPS
information with in Linux so that my application can access the same and
print it on the screen.
Can further investigation into VMSTAT, TOP outputs help in getting the CPU
speed information ?
All inputs and ideas are welcome.
Regards,
Srinivas.
"Post, Mark K" <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port
<[EMAIL PROTECTED]> To
[EMAIL PROTECTED]
ST.EDU
08/23/04 11:26 PM cc
Subject
Please respond to Re: Linux390 LPAR
Linux on 390 Port - CPU info
<[EMAIL PROTECTED]>
Is there some reason what that number is important to you? I've been doing
working with Linux/390 for 4 years now, and I've never much cared.
Depending on what processor type (G5, G6, z990, etc.), it is somewhere in
the range of 200MHz to 700Mhz, if all you're interested in is clock speed.
IBM publishes MSU ratings for their various processor types, if you're
interested in that.
Mark Post
-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Taraka
Srinivas Kumar
Sent: Saturday, August 21, 2004 9:14 AM
To: [EMAIL PROTECTED]
Subject: Linux390 LPAR - CPU info
Hello,
We have SuSE 8.1 for zSeries 31 bit installed in an LPAR. Am trying to get
the CPU speed information from Linux.
I have verified /proc/cpuinfo file to get the CPU speed. But the format has
been changed for Linux on zSeries as compared to Linux on Intel.
Is there any way to get the CPU speed information on Linux for zSeries ?
Regards,
Srinivas.
----------------------------------------------------------------------
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:NT0000C212 (See attached file:
InterScan_Disclaimer.txt)
----------------------------------------------------------------------
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:NT0000C312 (See attached file:
InterScan_Disclaimer.txt)
----------------------------------------------------------------------
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
InterScan_Disclaimer.txt
Description: Binary data
