SuSE 9.2: SMP + Hyper-Threading - How can I check?
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
SuSE 9.2: SMP + Hyper-Threading - How can I check?
Hi all,
I may have done something a little, er, rash and crippled the performance of my system in the process...
Whilst endeavouring to learn about optimising my kernel, I managed to screw things up sufficiently to require me to use the "repair" option on the install DVD (SuSE 9.2).
When my machine restarted, I noticed gkrellm was only showing one cpu whereas previously, it'd shown two due courtesy of my H/T processor.
Running uname -a yields about what I'd expect: Linux poochzilla 2.6.8-24.11-smp #1 SMP Fri Jan 14 13:01:26 UTC 2005 i686 i686 i386 GNU/Linux
But a check of the system startup log showed this: Total of 1 processors activated (5914.62 BogoMIPS).
WARNING: 1 siblings found for CPU0, should be 2
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=0
Brought up 1 CPUs
...which doesn't look right.
What have I managed to do and how can I get my full "two" processor goodness back?
Originally posted by Matir First, do 'cat /proc/cpuinfo' and see what that shows. Then see if SMT support is in your kernel, in addition to SMP.
Ok, wikkus@poochzilla:~> cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping : 9
cpu MHz : 2998.947
cache size : 512 KB
physical id : 0
siblings : 2
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 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 5914.62
..and then copied from my .config (unless there's an easier way...?): CONFIG_SMP=y
CONFIG_NR_CPUS=32
CONFIG_SCHED_SMT=y
...although, I did note that: # CONFIG_MPENTIUM4 is not set
...whereas: CONFIG_X86_GENERICARCH=y
CONFIG_X86_CYCLONE_TIMER=y
CONFIG_M586=y
CONFIG_X86_GENERIC=y
...and a bunch of other "X86_GENERIC" type stuff was...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.