Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310313 - Multiprocessor, Hyper-Threading ACPI and Dual Core systems
Summary: Multiprocessor, Hyper-Threading ACPI and Dual Core systems
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL: https://forum.openwrt.org/viewtopic.p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-20 04:59 UTC by William Waisse
Modified: 2010-03-21 11:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Waisse 2010-03-20 04:59:45 UTC
hi all 
 
 I just lost hours trying to understand why my kernel was seeing only 1 core in my ATOM 330 CPU

 The doc at http://www.gentoo.org/doc/en/kernel-config.xml#doc_chap3 i pretty goo and helped me but is missing a very important thing :

"If any OS boots on the Atom without ACPI enabled (like say, the OpenWRT firmware), it will only see a single core."
 ( found on https://forum.openwrt.org/viewtopic.php?pid=92283 , thanks openwrt ;)

http://www.columbia.edu/~ariel/acpi/acpi_howto.txt also helped with :
"In very specific cases you may be required to enable ACPI for your system to
   function properly. 64-bit Itanium platforms require this; you won't get a
   choice in the kernel configuration menu to choose it or not, it will just be
   done for you. NUMA-enabled systems often require it, and systems with new
   Intel processors that support hyperthreading require it because they use
   ACPI tables for virtual processor discovery."

 I can says this is true for a hyperthreaded ATOM 330 ( 4 logical CPUs ) , but it seems to also be true for many others hyperthreaded CPUs ( all intel ? dont know )

 so, section 3.6 says of gentoo doc says :
"In all of these cases, you need to select the appropriate kernel options to obtain optimum performance from these setups. :
Comment 1 William Waisse 2010-03-20 05:06:11 UTC
(continued)

 so, section 3.6 of of gentoo doc on http://www.gentoo.org/doc/en/kernel-config.xml#doc_chap3 says :
"In all of these cases, you need to select the appropriate kernel options to
obtain optimum performance from these setups. :

Processor type and features  --->
 [*] Symmetric multi-processing support
 Select the above option if you are on a multi-processor system (of any type)
 [*]   SMT (Hyperthreading) scheduler support
 Select the above option if you are on an Intel Hyper-Threading CPU
 [*]   Multi-core scheduler support (NEW)
 Select the above option if your CPU is dual core


 please add this so I could be the last one loosing 15 hours finding this  :

" if you dont have ACPI enabled, your kernel will only see 1 core  . . . even if you have 4 or more logical cpus and all the ht/smp options enabled in the kernel and in the bios . . . "






 
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2010-03-21 11:48:50 UTC
Thanks William, the change is now in. You'll see it on our web nodes in about an hour. Have fun and thanks for your report.