Sponsored Content
Top Forums UNIX for Advanced & Expert Users Solaris and Linux system information. Post 302156320 by the_learner on Monday 7th of January 2008 08:29:47 PM
Old 01-07-2008
Solaris and Linux system information.

Hey,

I have a program that takes more time on a solaris machine than on a linux machine. So I guess the best way to know whats going on is to compare the two systems ? CPU and Memory ? Is there any other parameter that I should look at ?

So on the linux box I ran:

Quote:
1) cat /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.80GHz
stepping : 7
cpu MHz : 2786.202
cache size : 512 KB

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.80GHz
stepping : 7
cpu MHz : 2786.202
cache size : 512 KB


% cat /proc/meminfo
MemTotal: 4003500 kB
And on the Solaris:

Quote:
$ psrinfo -v
Status of processor 0 as of: 01/07/08 17:10:57
Processor has been on-line since 11/15/07 03:46:00.
The sparcv9 processor operates at 900 MHz,
and has a sparcv9 floating point processor.

Status of processor 2 as of: 01/07/08 17:10:57
Processor has been on-line since 11/15/07 03:45:59.
The sparcv9 processor operates at 900 MHz,
and has a sparcv9 floating point processor.

$ prtconf | grep Memory
Memory size: 4096 Megabytes
So I guess the fact that the CPU on linux box is 2.80GHz and on solaris box is 900 MHz made the difference ? lets assume that the system load on both the machines was the same.

What other commands can I use to get system information to diagnose these kind of problems.

Ive heard of intel processors but what is that sparcv9 processor on my solaris box? Is it only used on solaris machines ?

Also, on my linux box:

Quote:
$ uname --help
-m, --machine print the machine hardware name
-p, --processor print the processor type
-i, --hardware-platform print the hardware platform

$ uname -p
i686
$ uname -m
i686
$ uname -i
i386
Processor and Machine is i686, but hardware platform is i386. Whats the difference ?

Thanks in advance for any kind of input Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Please help me find out system information

I'm just getting started with unix and would like to know 1) how to tell how big the harddrive is 2) how to tell if there are multiple harddrive installed on the machine 3) a relitavely easy way to tell what programs are installed on the machine. I'm using Sun OS 5.6 Thanks (3 Replies)
Discussion started by: ViperD
3 Replies

2. UNIX for Dummies Questions & Answers

AIX System information

Hi All, I am new to Unix and am working on AIX ( rs6000 ). I am looking for the system info of the unix box like 1. Number of CPUs 2. CPU speed 3. RAM size Your help is much appreciated Thanks rao. (6 Replies)
Discussion started by: rao
6 Replies

3. HP-UX

System Information

How do I get the system information on a HP UNIX server. details like CPU speed, number of processors etc. (4 Replies)
Discussion started by: Olamide
4 Replies

4. HP-UX

HP-UX system information

Hi, I'm writing a script to display a lot of information which describe a server (OS distrib, release, Hardware platform, CPU, HD, S/N...). For Linux side it is ok as you have almost all the information in /proc/cpuinfo, /proc/meminfo... and you can use dmidecode but for HP-UX I didn't find... (13 Replies)
Discussion started by: biker007fr
13 Replies

5. Solaris

How to get system parameters / information on Sun Solaris 5.10

Hello to everyone, i am new to Sun Solaris. i have Solaris 5.10 installed on the X86 platform. i am writing a script which gathers some system information. but i can not find some of the parameter from the system can any one please suggest to way to find these params. shell command will be... (1 Reply)
Discussion started by: nikhil.sigpro
1 Replies

6. Infrastructure Monitoring

How to get the Linux system information?

Hi, How to get the Linux system hardware and software basic information using terminal command ? Here below i have specified some of the information i need. Please have a look at this and guide me. OS Name: OS Version : OS Manufacturer: OS Configuration: OS Build Type:... (6 Replies)
Discussion started by: forumguest
6 Replies

7. Solaris

How to get the Solaris system information?

Hi, How to get the Solaris system hardware and software basic information using terminal command with guest login? Here below i have specified some of the information i need. Please have a look at this and guide me. OS Name: OS Version : OS Manufacturer: OS Configuration: ... (15 Replies)
Discussion started by: forumguest
15 Replies

8. UNIX for Advanced & Expert Users

Linux is kernel and solaris is operating system

Hi I was reading some weblog on the internet and someone made an interesting statement. <quote> Linux is kernel and solaris is operating system </quote> Honestly I don't understand the difference between term kernel and operating system in above quote. Could you explain me more ? thx... (4 Replies)
Discussion started by: presul
4 Replies

9. Programming

Linux/Solaris System Administrator to become a Linux/Solaris System Programmer?

Hi all What is the qualification required by Linux/Solaris System Administrator to become a Linux/Solaris System Programmer as to gain complete knowledge on computers. Thanks (1 Reply)
Discussion started by: Tlogine
1 Replies

10. UNIX for Advanced & Expert Users

Linux Command To Find the System Configuration And Hardware Information

Hello guys. I wanted to find the System Configuration and Hardware Information on one of my servers. Here is part of the cpu info: CPU core info: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 44 model name : Intel(R) Xeon(R) CPU... (2 Replies)
Discussion started by: Ymir
2 Replies
X86_ENERGY_PERF_POLICY(8)				      System Manager's Manual					 X86_ENERGY_PERF_POLICY(8)

NAME
x86_energy_perf_policy - read or write MSR_IA32_ENERGY_PERF_BIAS SYNOPSIS
x86_energy_perf_policy [-c cpu] [-v] -r x86_energy_perf_policy [-c cpu] [-v] 'performance' x86_energy_perf_policy [-c cpu] [-v] 'normal' x86_energy_perf_policy [-c cpu] [-v] 'powersave' x86_energy_perf_policy [-c cpu] [-v] n DESCRIPTION
x86_energy_perf_policy allows software to convey its policy for the relative importance of performance versus energy savings to the proces- sor. The processor uses this information in model-specific ways when it must select trade-offs between performance and energy efficiency. This policy hint does not supersede Processor Performance states (P-states) or CPU Idle power states (C-states), but allows software to have influence where it would otherwise be unable to express a preference. For example, this setting may tell the hardware how aggressively or conservatively to control frequency in the "turbo range" above the explicitly OS-controlled P-state frequency range. It may also tell the hardware how aggressively is should enter the OS requested C- states. Support for this feature is indicated by CPUID.06H.ECX.bit3 per the Intel Architectures Software Developer's Manual. Options -c limits operation to a single CPU. The default is to operate on all CPUs. Note that MSR_IA32_ENERGY_PERF_BIAS is defined per logical processor, but that the initial implementations of the MSR were shared among all processors in each package. -v increases verbosity. By default x86_energy_perf_policy is silent. -r is for "read-only" mode - the unchanged state is read and displayed. performance Set a policy where performance is paramount. The processor will be unwilling to sacrifice any performance for the sake of energy saving. This is the hardware default. normal Set a policy with a normal balance between performance and energy efficiency. The processor will tolerate minor performance compro- mise for potentially significant energy savings. This reasonable default for most desktops and servers. powersave Set a policy where the processor can accept a measurable performance hit to maximize energy efficiency. n Set MSR_IA32_ENERGY_PERF_BIAS to the specified number. The range of valid numbers is 0-15, where 0 is maximum performance and 15 is max- imum energy efficiency. NOTES
x86_energy_perf_policy runs only as root. FILES
/dev/cpu/*/msr SEE ALSO
msr(4) AUTHORS
Written by Len Brown <len.brown@intel.com> X86_ENERGY_PERF_POLICY(8)
All times are GMT -4. The time now is 01:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy