LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-23-2007, 10:44 AM   #1
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Rep: Reputation: 16
Question DO i need SMP support in Kernel


Hi i am using Slackware 11.0 with default kernel 2.4.33.3. i am planning to compile kernel 2.6.20.6(I have already done that for my current pc Intel 2.8 Ghz) but now i want to compile for my pc which has intel 3.0 Ghz Hyper Threading Capability. I am in a dilemma whether to opt for SMP option or not because i don't know what is the difference between Hyper threading CPU and Dual core Cpu. I guess for Dual core we must enable Smp support as it boosts performance(correct me if i am wrong) but i am not sure about my CPU i.e INTEL 3.0 Ghz HT(hyper threading)

Kindly guide me(Is this topic supposed to be in hardware forum ? if so i am really sorry,kindly don't flame)
 
Old 04-23-2007, 11:10 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Yes, you would want SMP on, and I think there's also an option specifically for hyperthreading.
 
Old 04-23-2007, 12:39 PM   #3
ingvildr
Member
 
Registered: Mar 2005
Location: England, South East
Distribution: Fedora
Posts: 358

Rep: Reputation: 30
Quote:
Originally Posted by H_TeXMeX_H
Yes, you would want SMP on, and I think there's also an option specifically for hyperthreading.
Yes there is specific hyperthreading for the scheduler, instead of multi-core.
 
Old 04-23-2007, 01:07 PM   #4
Kingscriber
Member
 
Registered: Nov 2004
Distribution: Slackware, CentOS
Posts: 85

Rep: Reputation: 16
Quote:
Originally Posted by lali.b2
because i don't know what is the difference between Hyper threading CPU and Dual core Cpu.
http://www.intel.com/technology/hyperthread/index.htm

a link on what hyperthreading is. Dual or Quad core is fairly self explanatory.
 
Old 04-23-2007, 01:49 PM   #5
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Simultaneous Multi-Threading (SMT, aka HyperThreading) allows a single execution core to run multiple threads simultaneously. This occurs because not all parts of the core are working at once under many conditions. SMP has many cores. The kernel MUST be SMP-aware to use either technology. It should also have the SMT scheduler for hyperthreading, so the schedulre can adapt to the parallel workload better.
 
Old 04-24-2007, 10:54 PM   #6
folkenfanel
Member
 
Registered: Sep 2004
Location: formerly Fanelia and Zaibach
Distribution: Slackware-current with KDE 4.8.5
Posts: 300

Rep: Reputation: 35
Wink Hi there

Step by step

1) Enable HyperThreading in your BIOS

2) Compile your kernel with SMP support and with support fot SMT (HyperThreading)

#
# Processor type and features
#
CONFIG_SMP=y

...

CONFIG_NR_CPUS=8
CONFIG_SCHED_SMT=y

# Where NR_CPUS is the maximum number of CPUs you want
# to be supported, and SCHED_SMT is for HyperThreading

3) At this point you should have support for HyperThreading (I suggest using the config files from the new Slackware kernels).

From my console:

david@evenstar:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
...
bogomips : 5589.61
...

processor : 1
vendor_id : GenuineIntel
...
bogomips : 5585.26


From my system logs:

...
Apr 23 07:17:54 evenstar kernel: Total of 2 processors activated (11174.85 BogoMIPS).
...
Apr 23 07:17:54 evenstar kernel: checking TSC synchronization across 2 CPUs: passed.
Apr 23 07:17:54 evenstar kernel: Brought up 2 CPUs
...



May the Force be with you!
 
Old 04-25-2007, 12:08 AM   #7
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Original Poster
Rep: Reputation: 16
thanks

thank you for reply i got it


cheeers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compile with SMP support (I have only one processor) rangalo Slackware 3 01-25-2006 08:30 AM
Adding SMP support to kernel Shentar Linux - Newbie 1 02-16-2005 11:13 AM
Is there SMP support in BIGMEM kernel? batkinso Linux - Newbie 8 09-09-2004 07:23 AM
smp support on Linux-2.4.22 kernel Pete M Linux - Newbie 1 10-05-2003 10:23 PM
How to disable SMP support in the Kernel? concoran Linux - General 3 10-23-2001 12:42 AM


All times are GMT -5. The time now is 04:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration