PDA

View Full Version : About smp-kernel


satimis
1st March 2007, 06:24
HI folks,


Is smp-kernel enabled on CentOS4?

Which command shall I use to check it;

dmesg | grep "^ cpu"

OR

top -S


TIA


B.R.
satimis

falko
2nd March 2007, 13:47
Use cat /proc/cpuinfo
You should see two processors in the output if you have an SMP kernel (and of course two CPUs ;) ).

Also, you should see SMP mentioned somewhere in the output of uname -a

satimis
3rd March 2007, 18:12
Use cat /proc/cpuinfo
You should see two processors in the output if you have an SMP kernel (and of course two CPUs ;) ).

Also, you should see SMP mentioned somewhere in the output of uname -a
Hi falko,

I'm running AMD Athlon64 X2 (dual core) AM2 cpu

# cat /proc/cupinfo
cat: /proc/cupinfo: No such file or directory


# uname -a
Linux host 2.6.16.29 #1 Sat Sep 30 14:08:18 BST 2006 x86_64 x86_64 x86_64 GNU/Linux


satimis

Hans
3rd March 2007, 23:58
This is not an SMP kernel.
A SMP kernel has "SMP" within the kernel name.

I know how to replace it in a safe way on Debian like systems but not for Fedora. So i can't give you more advise about that point.

martinfst
4th March 2007, 13:36
Have you build your own custom kernel and are you running that? The output does not look familiar for a standard distro....

satimis
4th March 2007, 13:52
Have you build your own custom kernel and are you running that? The output does not look familiar for a standard distro....
Hi martinfst,

I haven't installed CentOS-4.4. I have its CD as well as arch64 Linux CD available. I expect to clarify nVidia driver issue as well as smp-kernel before deciding to go with which of them.

I ran that command on slamd64-11.0. I'm now installing fred's recompiled smp-kernel and encountering some problem. Sorry for making that confusion.


B.R.
satimis

falko
4th March 2007, 16:08
Hi falko,

I'm running AMD Athlon64 X2 (dual core) AM2 cpu

# cat /proc/cupinfo
cat: /proc/cupinfo: No such file or directory


It's
cat /proc/cpuinfo
not
cat /proc/cupinfo

satimis
4th March 2007, 17:22
hi falko,


It's
cat /proc/cpuinfo
not
cat /proc/cupinfo
sorry, I made a mistake.

$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 75
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 2
cpu MHz : 2009.472
cache size : 512 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8_legacy
bogomips : 4022.75
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc


B.r.
satimis

falko
5th March 2007, 19:13
You don't have an SMP kernel installed.

satimis
6th March 2007, 02:28
You don't have an SMP kernel installed.
Dose SMP kernel works on single core CPU? Tks


Edit:
Would it be an advantage if building all items on the kernel as module instead of "enabled"?

B.R.
satimis

falko
6th March 2007, 19:00
Dose SMP kernel works on single core CPU? TksYes.



Would it be an advantage if building all items on the kernel as module instead of "enabled"?

You'd then need a ramdisk if your file system drivers are modules.