Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AMD64 X2 - kernel config advice ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
drbenway
n00b
n00b


Joined: 26 Jan 2006
Posts: 56

PostPosted: Thu Sep 27, 2007 8:54 pm    Post subject: AMD64 X2 - kernel config advice ? Reply with quote

Hi.

I would like to know which of these options I need in my kernel.

I have a AMD64 X2 4600 (dual core) CPU

- SMT (Hyperthreading) scheduler support
- Multi-core scheduler support
- SMT (Hyperthreading) scheduler support

- Non Uniform Memory Access (NUMA) Support
- Old style AMD Opteron NUMA detection
- ACPI NUMA detection
- NUMA emulation

- IBM Calgary IOMMU support

Any advice will be welcomed, I have searched the forum but the info from different sources (and possibly times) gives conflicting advice.
_________________
Studies show that 9 out of 10 paedophiles use Windows ...
------------------------------------------------------------------------------------------------
Back to top
View user's profile Send private message
pietia
n00b
n00b


Joined: 24 Sep 2007
Posts: 13

PostPosted: Thu Sep 27, 2007 9:18 pm    Post subject: Reply with quote

hi!

If you like - you can extend my kernel config for Asus A6TC laptop (turion64x2).
config for 64-bit multilib gentoo.

it's here -> http://asusa6tc.ovh.org/config-2.6.22-gentoo-r5
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Fri Sep 28, 2007 12:37 am    Post subject: Reply with quote

I have a 4800 X2 and this is what I've learned so far

- SMT (Hyperthreading) scheduler support -- No, only Intel has HT in their CPUs. AMD uses HyperTransport which is a different thing.
- Multi-core scheduler support -- Yes, you have a multicore CPU

- NUMA (etc.) -- You can but it won't make a difference as only Opterons support it

- IBM Calgary -- No, that's for a very specific type of processor.

Hope that helps.
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
pietia
n00b
n00b


Joined: 24 Sep 2007
Posts: 13

PostPosted: Fri Sep 28, 2007 8:36 am    Post subject: Reply with quote

loftwyr wrote:

- SMT (Hyperthreading) scheduler support -- No, only Intel has HT in their CPUs. AMD uses HyperTransport which is a different thing.


Does including it in config cause any problems ?
Back to top
View user's profile Send private message
drbenway
n00b
n00b


Joined: 26 Jan 2006
Posts: 56

PostPosted: Fri Sep 28, 2007 11:00 am    Post subject: Reply with quote

Thanks for all the helpful advice.

I did use to know which optimum setting to use for my old athlon-xp, thank you for clearing up what i need for the AMD X2.

Btw - i have just tried the new backported CFS - http://kerneltrap.org/Linux/CFS_Development_Tree_Backported

My system now feels more responsive that the CK patchset.

Thanks,
_________________
Studies show that 9 out of 10 paedophiles use Windows ...
------------------------------------------------------------------------------------------------
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Fri Sep 28, 2007 5:35 pm    Post subject: Reply with quote

pietia wrote:
loftwyr wrote:

- SMT (Hyperthreading) scheduler support -- No, only Intel has HT in their CPUs. AMD uses HyperTransport which is a different thing.


Does including it in config cause any problems ?


Nope it will be ignored by the kernel when it sees a non-Intel chip.
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
drbenway
n00b
n00b


Joined: 26 Jan 2006
Posts: 56

PostPosted: Sun Sep 30, 2007 11:56 am    Post subject: Reply with quote

Hi.

One last option I am unsure to use or not is

Cpuset support.

Should I enable this or not ?

I so far assume that I do not use it.

Any advice is welcomed.

Thanks.
_________________
Studies show that 9 out of 10 paedophiles use Windows ...
------------------------------------------------------------------------------------------------
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Mon Oct 01, 2007 10:59 am    Post subject: Reply with quote

Where can I find CPU set support?
Back to top
View user's profile Send private message
drbenway
n00b
n00b


Joined: 26 Jan 2006
Posts: 56

PostPosted: Mon Oct 01, 2007 1:14 pm    Post subject: Reply with quote

Hi - i make menuconfig it is

General setup --->
[ ] Cpuset support

It says :---
------------------------

CONFIG_CPUSETS: │
│ │
│ This option will let you create and manage CPUSETs which │
│ allow dynamically partitioning a system into sets of CPUs and │
│ Memory Nodes and assigning tasks to run only within those sets. │
│ This is primarily useful on large SMP or NUMA systems. │
│ │
│ Say N if unsure.
------------------------

I am using 2.6.22-r8 (gentoo) kernel compiled for amd64

My reasoning for not enabling this feature is it says 'large SMP or NUMA systems' - I just have an AMD64 X2 CPU.

Anyone know if I should enable/disable this feature ?
_________________
Studies show that 9 out of 10 paedophiles use Windows ...
------------------------------------------------------------------------------------------------
Back to top
View user's profile Send private message
pussi
l33t
l33t


Joined: 08 May 2004
Posts: 727
Location: Finland

PostPosted: Mon Oct 01, 2007 1:44 pm    Post subject: Reply with quote

Quote:
Say N if unsure.
:wink:
you won't be needing it.
Back to top
View user's profile Send private message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Tue Oct 09, 2007 7:51 pm    Post subject: Reply with quote

At least with older kernels I found that NUMA = yes caused problems when running the nvidia proprietary drivers. It is only useful if you have a multi-processor system AND each processor has it own memory bus. Definitely not something that is useful for an X2.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum