d180 [Solved] Multiple cores - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > System Hardware

System Hardware Internal storage, motherboards, PCI cards, stuff inside the case.

Reply
 
Thread Tools Display Modes
  #1  
Old June 1st, 2011, 10:18
MichaelF MichaelF is offline
Junior Member
 
Join Date: May 2011
Location: Kolomna, Russia
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default Multiple cores

Hello everyone!

Please explain to me should I build any specific kernel to make my FreeBSD 8.2 see the second processor core?

Thank you in advance,

Michael
Reply With Quote
  #2  
Old June 1st, 2011, 10:42
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

The default GENERIC kernel already has support for SMP.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old June 1st, 2011, 11:59
MichaelF MichaelF is offline
Junior Member
 
Join Date: May 2011
Location: Kolomna, Russia
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

But is it normal to have
Code:
kern.smp.active = 1
and
Code:
kern.smp.cpus = 2
at the same time?

Last edited by DutchDaemon; June 1st, 2011 at 16:43.
Reply With Quote
  #4  
Old June 1st, 2011, 12:30
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Yes.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #5  
Old June 1st, 2011, 12:34
pbd pbd is offline
Member
 
Join Date: Nov 2008
Location: Brno, CZ
Posts: 187
Thanks: 9
Thanked 31 Times in 31 Posts
Default

Yes.

Code:
kern.smp.active = 1
This means simply, that SMP is active, it's not number of active CPUs.

Code:
kern.smp.cpus = 2
This is number of active CPUs.
Reply With Quote
  #6  
Old June 1st, 2011, 13:04
MichaelF MichaelF is offline
Junior Member
 
Join Date: May 2011
Location: Kolomna, Russia
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thank you all so much for clarification!

Michael

Last edited by DutchDaemon; June 1st, 2011 at 16:43.
Reply With Quote
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server from FreeBSD 8.2 (cores-cores-cores) Hety System Hardware 11 May 13th, 2011 18:44
multiple relayhost indul Web & Network Services 10 November 22nd, 2010 17:37
Allocate task to 8 cores Dj_smart General 2 October 4th, 2010 13:57
Multiple kernels ... can be done? Giorgos Off-Topic 8 May 3rd, 2010 22:35
[Solved] Enhanced Speedstep only works for two CPU cores on FreeBSD 7.1 Android1 System Hardware 1 April 19th, 2009 17:06


All times are GMT +1. The time now is 07:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0