Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dual CPU

Status
Not open for further replies.

johnacb

Technical User
Apr 13, 2003
48
AU
I am a very new user of Linux, just switched from Win2k.I am running a Dual 2.4g XEON CPUS, 1GB RAM Server using Red Hat 8 and 30 users accessing a Interbase 7 DB. I am having performance issues at the moment, and need to find how I can view the system Monitor to show Both CPU usage. Is there a way to do this. I can use The system monitor under Gnome but it only shows 1 CPU.
 
The command you need it "top".

Howevr, it may be a configuration issue in that your distro is not running a multiprocessor kernel - run

cat /proc/cpuinfo

to see how many processors it lists. Eg. if it's just one, then it''l be something like:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 300.688
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 599.65



If your just one, you'll need to install a multiproc kernel - that'll explain the lack of expected performance.

Found useful info in:

"
 
Once you have both CPU's look at the program
gkrellem. Very nice little app. RH8 has it built in.
 
I ran the cat /proc/cpuinfo and it displays 4 processors.

Processor 0, 1, 2, and 3 . That is confusing??
 
I've heard that the new multithreading processors can appear as two each.
 
They are are not Multi Threading processors

Thanks
 
Are you sure about that? I recall reading somewhere that all Xeon processors with a CPU speed of over 2.4 GHz are multithreaded.

//Daniel
 
Will investigate that . Thanks Daniel

Don't know if Redhat 8 handles Multithreading
 
Seems the 2.4 XEONS are Hyperthreading, but how can I momitor what boyh CPUs are doing??
 
Can you give us sample, snapshot output from the "top" command?
 
Johnach,

The top command will give you the info you are looking for, here is an example view.

My dual cpu Linux box.

0:34am up 30 days, 15:19, 6 users, load average: 0.03, 0.05, 0.01
105 processes: 104 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 0.42% user, 1.29% system, 0.0% nice, 97.31% idle
CPU1 states: 0.41% user, 1.27% system, 0.0% nice, 97.34% idle
Mem: 4109008K av, 2319512K used, 1789496K free, 0K shrd, 115632K buff
Swap: 2096464K av, 0K used, 2096464K free 1074056K cached


-Tony
 
After running top command it shows 4 Processors so Hyperthreading is obviously working.

Thanks for the help everyone. I can see the power of LInux just need to think outside the Win2k Square.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top