Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

I can't tell if all 4 cores of my i7 are being used

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
TheBird
n00b
n00b
Posts: 7
Joined: Mon Sep 13, 2010 6:08 am

I can't tell if all 4 cores of my i7 are being used

  • Quote

Post by TheBird » Sat Sep 18, 2010 2:01 am

I finally got my first successful install done and got a working KDE up and running. I checked the system monitor application to see if everything was going well when I saw that only one cpu was listed on the system load tab. Normally, I'd expect there to be a separate CPU entry for each core. cat /proc/cpuinfo printed this:

Code: Select all

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Core(TM) i7 CPU         930  @ 2.80GHz
stepping        : 5
cpu MHz         : 2801.000
cache size      : 8192 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
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 nx rdtscp lm constant_tsc up arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
bogomips        : 5613.01
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
The thing that really bothers me is this:

Code: Select all

cpu cores       : 1
I had my processor type selected correctly when configuring the kernel, but here's my menuconfig kernel configuration file if anyone wants to look through it to see if I messed up somewhere (even if I did I can just recompile it again. Had to do that a few times now already): http://pastebin.com/YbiLyqeX

Thanks in advance.
Top
rh1
Guru
Guru
User avatar
Posts: 501
Joined: Sat Apr 10, 2010 8:22 am

  • Quote

Post by rh1 » Sat Sep 18, 2010 2:36 am

Are you deliberately trying to use 32bit? Your kernel is configured that way. Not sure if that is part of the problem
If your not trying to use 32bit, did you use a 64 bit install cd?
Top
dmpogo
Advocate
Advocate
Posts: 3713
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

  • Quote

Post by dmpogo » Sat Sep 18, 2010 2:41 am

Did you enable SMP in kernel ?
Top
TheBird
n00b
n00b
Posts: 7
Joined: Mon Sep 13, 2010 6:08 am

  • Quote

Post by TheBird » Sat Sep 18, 2010 4:11 am

rh1 wrote:Are you deliberately trying to use 32bit? Your kernel is configured that way. Not sure if that is part of the problem
If your not trying to use 32bit, did you use a 64 bit install cd?
I was intending to use 32bit, so I don't that's the problem.
dmpogo wrote:Did you enable SMP in kernel?
Yes, SMP is enabled.




Right now, I'm gonna go enable all the extra SMP related options I can find until some combination works, because I have no idea why it's acting like this.
Top
suicidal_orange_II
Apprentice
Apprentice
Posts: 299
Joined: Sat Sep 04, 2004 11:39 am

  • Quote

Post by suicidal_orange_II » Sat Sep 18, 2010 9:53 am

Random thought - are all the cores enabled in BIOS? The attached .config looks fine to me...
Top
TheBird
n00b
n00b
Posts: 7
Joined: Mon Sep 13, 2010 6:08 am

  • Quote

Post by TheBird » Sat Sep 18, 2010 8:11 pm

suicidal_orange_II wrote:Random thought - are all the cores enabled in BIOS? The attached .config looks fine to me...
Yes, all the cores are enabled and they work just fine in Windows 7.

This is really baffling.
Top
Etal
Veteran
Veteran
User avatar
Posts: 1932
Joined: Fri Jul 15, 2005 3:01 pm

  • Quote

Post by Etal » Sat Sep 18, 2010 8:19 pm

Does it show the correct number of cores with a livecd?
Top
trilexx
Apprentice
Apprentice
User avatar
Posts: 217
Joined: Mon Jul 19, 2004 4:08 pm
Location: Austria
Contact:
Contact trilexx
Website

  • Quote

Post by trilexx » Sat Sep 18, 2010 8:42 pm

I believe you should actually get this output 8 times, because all i7 cores are hyperthreaded. On my i7 L620, which is a dual core mobile processor, I get this output 4 times, two times for two hyperthreaded cores. Could it be you have set apci=off as kernel boot parameter? If so, try without. Do you have ACPI enabled in the BIOS?

greetings,
trilexx
if it lives, compile it :D
Top
dmpogo
Advocate
Advocate
Posts: 3713
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

  • Quote

Post by dmpogo » Sat Sep 18, 2010 10:13 pm

trilexx wrote:I believe you should actually get this output 8 times, because all i7 cores are hyperthreaded.
Correct
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Sun Sep 19, 2010 12:13 am

can you paste your .config for your running kernel
Also could you boot from whatever install medium you used and see what /proc/cpuinfo shows. this will determine if it is kernel or bios related
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
suicidal_orange_II
Apprentice
Apprentice
Posts: 299
Joined: Sat Sep 04, 2004 11:39 am

  • Quote

Post by suicidal_orange_II » Sun Sep 19, 2010 12:34 am

Naib wrote:can you paste your .config for your running kernel
It's linked in the first post if you'd like a look :)
Top
Post Reply

11 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic