2.4.22 SMP kernel build for hyper threading P4
Quoted 1 line · you
Quoted 1 line
I have a new P4 Hyperthreading PC that I have installed RedHat9 on.
I am
Quoted 2 lines
I presume you realize that anyone who understands HT has mostly scorn
for it.
I had no idea but it is still a huge improvement over my HP 755MHz Celleron that I am replacing ;) Might I as why so and am I wasting my time when a non-SMP kernel builds and works just fine?
Quoted 2 lines
Quoted 2 lines
api, etc.) but when I build my new 2.4.22 kernel with
CONFIG_SMP=y
set
Quoted 1 line
Quoted 1 line
then reboot, I am seeing only one processor in
/proc/cpuinfo. When
I
Quoted 4 lines
Quoted 2 lines
boot with my stock RH9 2.4.20-20.9smp kernel I see two virtual processors show up in
/proc/cpuinfo.I'm guessing you don't have acpi enabled.
Hmm... Let's have a look. I started by loading the kernel-2.4.20-i686-smp.config file that came with the RH9 distro into xconfig. I just turned on ntfs and a couple of other things and saved. The comparision is strange. My new config file has:
# CONFIG_ACPI is not set
however the RH9 config file has:
# CONFIG_ACPI is not set
# CONFIG_ACPI_DEBUG is not set
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_ACPI_HT_ONLY is not sCONFIG_ACPI_BUSMGR=mCONFIG_ACPI_SYS=mCONFIG_ACPI_CPU=mCONFIG_ACPI_BUTTON=mCONFIG_ACPI_AC=mCONFIG_ACPI_EC=mCONFIG_ACPI_CMBATT=mCONFIG_ACPI_THERMAL=mCONFIG_ACPI_RELAXED_AML=y
So should I have all this or no?
Quoted 5 lines
Quoted 3 lines
I've even build a 2.4.22 kernel with the config-2.4.20-20.9smp configuration that came with RH9.
RH doesn't ship kernel.org sources, of course. hence the -20.
Rgr. I got this.
Quoted 6 lines
Quoted 3 lines
I build with the straightforward 'make dep clean bzImage modules
modules_install' command. Is this correct?sure. obviously, you need to verify that you're booting the kernel that you just made, etc.
It does boot and everything else "seems" fine. Just that I still only get one virtual CPU showing up in /proc/cpuinfo.
Quoted 6 lines
Quoted 2 lines
Am I missing a step to build a smp kernel for hyper threading?
HT is a non-feature; it requires nothing from the kernel. I'm guessing your problem is bios or acpi.
I still don't understand. So am I wasting my time with HT?
Thanks,
Job