LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2004, 07:03 AM   #1
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Rep: Reputation: 30
newbie smp kernel question


i wasn't sure where to put this question at, however i was wondering is all 2.4 kernels are smp or only computers with more than one cpu? thanks

djgerbavore
 
Old 11-18-2004, 07:23 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
No, all compiled 2.4 kernels do not support multiple processors. Most distros compile a number of different kernels... Some being SMP enable and some not. The installer should look over the system and install what is needed, or have the owner choose which he wants.

An SMP kernel will run as if it wasn't on a single-processor computer. A non-SMP kernel will run on multi-processor system, but only the first CPU will be recognized and used. Non-SMP kernels are sometimes installed along with SMP kernels on a multi-processor system "just in case".
 
Old 11-18-2004, 07:24 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
smp is a failsafe option, if an smp kernel boots on a single cpu system, it will just remain dormant, so it's safe to run so often added as a default for better overall support.
 
Old 11-18-2004, 07:43 AM   #4
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Original Poster
Rep: Reputation: 30
thanks, now my next question is how can i tell if i'm running a smp kernel?

djgerbavore
 
  


Reply



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
Any reason to keep a non-smp kernel installed on a smp FC3 machine? jim-j Fedora 2 03-12-2006 07:06 AM
Slack 10.2, 2.6.13 kernel, SMP question Twister512 Slackware 18 11-28-2005 10:22 PM
9.1 SMP Newbie X hangs I'm Lost TakeIT2 SUSE / openSUSE 2 11-15-2004 03:45 PM
Quick SMP kernel question Coldfirex Slackware 3 10-19-2003 11:05 AM
SMP, Kernel and NIC module question...weirdness tarballed Linux - General 1 07-02-2003 05:33 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:10 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration