#1  
Old 19th November 2006, 11:52
FallenDevil FallenDevil is offline
Junior Member
 
Join Date: Mar 2006
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Unhappy Help With Quad CPU's

Hi, I am having difficulties getting my distro (Fedora core 4) to see and use all 4 CPU's.
As far as i can tell it's only seeing and using 1.

I have kernel-2.6.11 installed and it is setup as SMP.
if i do "uname" i just get "Linux"
i thought i would have got "Linux-smp" or something like.

I have looked at the KinfoCentre , and it only shows CPU0, not CPU0 - 3??

I need to know if there is a command i can run to show how many CPU's are detected and in use.

Any help appreciated.

Thanks in advance.

FD
Reply With Quote
Sponsored Links
  #2  
Old 19th November 2006, 12:08
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 260
Thanked 145 Times in 127 Posts
Default

Try this:

Code:
uname -a
This should give you something like:
Linux host.domain.tld 2.6.15-3-686-smp #1 SMP Thu Sep 32 04:39:15 UTC 2008 i686 GNU/Linux

You can also do a:
Code:
cat /proc/cpuinfo
An other thing that you can do is a
Code:
top
and than press 1 to enable/disable the view of the other CPU's

Last edited by edge; 20th November 2006 at 14:23.
Reply With Quote
  #3  
Old 19th November 2006, 14:59
FallenDevil FallenDevil is offline
Junior Member
 
Join Date: Mar 2006
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Question Thanks - but...........

Thanks for the responce Edge.

This is the output of the /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 3
cpu MHz : 499.939
cache size : 1024 KB
fdiv_bug : no
hlt_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 mtrr pge mca cmov pat pse36 mmx fxsr sse up
bogomips : 1001.71


Again only CPU0??

also you were right about the -a on the uname - thanks again.

if i do a top - then i only see 1 CPU and if i press 1 the all that i see change is the wording changes to CPU(s) from CPU0.

Extract

top - 13:56:09 up 3:36, 3 users, load average: 0.34, 0.43, 0.28
Tasks: 91 total, 2 running, 88 sleeping, 0 stopped, 1 zombie
Cpu0 : 14.6% us, 2.1% sy, 0.2% ni, 82.9% id, 0.0% wa, 0.1% hi, 0.0% si
Mem: 385024k total, 352372k used, 32652k free, 31840k buffers
Swap: 1048552k total, 0k used, 1048552k free, 171480k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2192 root 15 0 110m 35m 5232 S 3.3 9.5 3:34.41 X
2853 root 16 0 31440 15m 13m R 2.3 4.2 0:07.79 konsole
4379 root 15 0 2016 1000 788 R 0.7 0.3 0:05.42 top
2391 root 15 0 30876 13m 9752 S 0.3 3.5 0:05.20 kwin
1 root 15 0 1748 568 492 S 0.0 0.1 0:00.96 init
2 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.09 events/0
6 root 14 -5 0 0 0 S 0.0 0.0 0:00.02 khelper
7 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 kthread
9 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 kblockd/0
12 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
14 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
85 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
86 root 15 0 0 0 0 S 0.0 0.0 0:00.03 pdflush
87 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kswapd0
88 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
242 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused
277 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
314 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
354 root 10 -5 0 0 0 S 0.0 0.0 0:00.22 kjournald
811 root 16 -4 1640 544 468 S 0.0 0.1 0:00.20 udevd
854 root 25 0 0 0 0 S 0.0 0.0 0:00.00 phpd_event
990 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald
995 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald
1307 root 15 0 2184 552 260 S 0.0 0.1 0:00.02 dhclient
1412 root 15 0 1620 560 468 S 0.0 0.1 0:00.09 syslogd
1414 root 15 0 1568 388 324 S 0.0 0.1 0:00.01 klogd
1424 rpc 16 0 1700 536 440 S 0.0 0.1 0:00.00 portmap
1442 rpcuser 24 0 1748 708 612 S 0.0 0.2 0:00.01 rpc.statd
1456 root 13 -3 11908 448 348 S 0.0 0.1 0:00.00 auditd
1460 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kauditd


WITH 1 PRESSED EXTRACT

top - 13:57:01 up 3:37, 3 users, load average: 0.31, 0.42, 0.28
Tasks: 91 total, 2 running, 88 sleeping, 0 stopped, 1 zombie
Cpu(s): 3.6% us, 0.3% sy, 0.0% ni, 96.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 385024k total, 352148k used, 32876k free, 31848k buffers
Swap: 1048552k total, 0k used, 1048552k free, 171472k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2192 root 15 0 110m 35m 5232 S 2.3 9.5 3:39.18 X
2853 root 15 0 31440 15m 13m S 1.0 4.2 0:08.24 konsole
4583 root 15 0 2016 992 784 R 1.0 0.3 0:00.06 top
2393 root 15 0 38988 18m 14m S 0.3 5.0 0:06.08 kdesktop
1 root 15 0 1748 568 492 S 0.0 0.1 0:00.96 init
2 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.09 events/0
6 root 14 -5 0 0 0 S 0.0 0.0 0:00.02 khelper
7 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 kthread
9 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 kblockd/0
12 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
14 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
85 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
86 root 15 0 0 0 0 S 0.0 0.0 0:00.03 pdflush
87 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kswapd0
88 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
242 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused
277 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
314 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
354 root 10 -5 0 0 0 S 0.0 0.0 0:00.22 kjournald
811 root 16 -4 1640 544 468 S 0.0 0.1 0:00.20 udevd
854 root 25 0 0 0 0 S 0.0 0.0 0:00.00 phpd_event
990 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald
995 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald
1307 root 15 0 2184 552 260 S 0.0 0.1 0:00.02 dhclient
1412 root 16 0 1620 560 468 S 0.0 0.1 0:00.09 syslogd
1414 root 15 0 1568 388 324 S 0.0 0.1 0:00.01 klogd
1424 rpc 16 0 1700 536 440 S 0.0 0.1 0:00.00 portmap
1442 rpcuser 24 0 1748 708 612 S 0.0 0.2 0:00.01 rpc.statd
1456 root 13 -3 11908 448 348 S 0.0 0.1 0:00.00 auditd
1460 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kauditd


Thanks again - I need some more help?
Reply With Quote
  #4  
Old 19th November 2006, 15:23
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 260
Thanked 145 Times in 127 Posts
Default

What is the output of: uname -a
Reply With Quote
  #5  
Old 19th November 2006, 15:43
FallenDevil FallenDevil is offline
Junior Member
 
Join Date: Mar 2006
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Default

Linux FireWall.Home.Local 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 i686 i386 GNU/Linux

I take it the #1 SMP = 1 CPU ????

Thanks
Reply With Quote
  #6  
Old 20th November 2006, 13:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

We have a processor with two cores and had to install a kernel newer than 2.6.12. Your kernel version seems new enough, but maybe quad core support came in a later version?

You can search for other available kernels like this:
Code:
yum search kernel
It's also possible that you can enable support for your four cores somewhere in /etc/sysconfig...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.