View previous topic :: View next topic |
Author |
Message |
pertplus n00b
Joined: 20 Jun 2011 Posts: 40
|
Posted: Mon Dec 02, 2013 7:17 pm Post subject: Kernel settings: core i5 760 |
|
|
Am I supposed to use Core 2/newere xeon, or just the generic 64 bit? What difference will it make?
Also, since I have 4 cores, is it correct to use the CFLAG -j5 ? Can I get away with more?
thank you in advance for replies |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Mon Dec 02, 2013 9:19 pm Post subject: Re: Kernel settings: core i5 760 |
|
|
pertplus wrote: | Am I supposed to use Core 2/newere xeon, or just the generic 64 bit? What difference will it make? |
impacts on the -march / -mtune gcc options used when building the kernel.
pertplus wrote: | Also, since I have 4 cores, is it correct to use the CFLAG -j5 ? Can I get away with more? |
Depends on the scheduler you use. The worse the scheduler, the more you should get away with.
If using BFS, stick to -j4 with your 4 cores.
If using CFS, starts from -j5 and increase... who knows ? _________________
|
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Dec 02, 2013 9:25 pm Post subject: Re: Kernel settings: core i5 760 |
|
|
pertplus wrote: | Am I supposed to use Core 2/newere xeon, or just the generic 64 bit? | "Core 2/Newer Xeon" is the better choice for Core i5.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Mon Dec 02, 2013 10:47 pm Post subject: |
|
|
if CPU supports HyperThreading:
j = (cores number * 2) +1
otherwise
j = cores number +1
In your case it is 5.
I have for similar CPU "Core 2/newer" set in config |
|
Back to top |
|
|
pertplus n00b
Joined: 20 Jun 2011 Posts: 40
|
Posted: Tue Dec 03, 2013 3:27 pm Post subject: |
|
|
thank you for the replies.
I will leave it as -j5 since I have 4 cores and no hyperthreading.
I would like to try increasing it, but realistically would I even be able to notice any difference by watching code compile? Is there some kind of tool that I could use to check efficiency on -j5 vs -j6? |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Tue Dec 03, 2013 3:35 pm Post subject: |
|
|
pertplus wrote: | I would like to try increasing it, but realistically would I even be able to notice any difference by watching code compile? Is there some kind of tool that I could use to check efficiency on -j5 vs -j6? |
I use qlop from app-portage/portage-utils _________________
|
|
Back to top |
|
|
pertplus n00b
Joined: 20 Jun 2011 Posts: 40
|
Posted: Tue Dec 03, 2013 3:35 pm Post subject: |
|
|
hmm I will check it out thank you |
|
Back to top |
|
|
|