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