You are not logged in.
Pages: 1
Do I understand it correct - although Arch's Linux kernel supports multicore CPUs, it compiles the kernel while you install Arch and the final kernel config will support as many CPU cores as the CPU had while installation?
So if I installed Arch on 1-core CPU and then change CPU to 4-core, Arch and all its programs will be able to use only 1 core of this CPU and 3 other won't be equipped? If I want them to be equipped, I should either recompile the kernel or reinstall Arch?
Offline
All of the cores will be available to the system, not just one or two.
Offline
But when I install Arch, does it compile the kernel depending on my hardware? Or I get the same kernel configuration on every machine?
Offline
It's the first time I hear that the arch installer compiles the kernel. Arch takes about 20mins to install on my box, there is no way this might be including kernel compile time...
Offline
If Arch compiled the kernel, you'd know about it.
Offline
@OP - With Arch, you are not compiling the kernel; you are downloading a pre-compiled binary. as you do with all of the official Arch packages. The default config allows for up to 16 CPUs/Cores to be function (with hyperthreading). Perhaps you're confusing making the bootable kernel image from the kernel. For example, mkinitcpio does run when the kernel is updated/installed. You very well may need to re-run it if you drop in a new MB. I haven't tried this before.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
If you want to double check, this should spit out the maximum number of CPUs your computer can have with the current kernel configuration.
zcat /proc/config.gz|sed -ne 's/^CONFIG_NR_CPUS=//p'
Offline
@OP - With Arch, you are not compiling the kernel; you are downloading a pre-compiled binary. as you do with all of the official Arch packages. The default config allows for up to 16 CPUs/Cores to be function (with hyperthreading). Perhaps you're confusing making the bootable kernel image from the kernel. For example, mkinitcpio does run when the kernel is updated/installed. You very well may need to re-run it if you drop in a new MB. I haven't tried this before.
IIRC, the last time I swapped mainboards/CPUs-Arch was smart enough to realize it was plugged into new gear-and booted fine. Only thing that really needed reconfiguring/reinstalling was ALSA.
Offline
If you want to double check, this should spit out the maximum number of CPUs your computer can have with the current kernel configuration.
zcat /proc/config.gz|sed -ne 's/^CONFIG_NR_CPUS=//p'
I'm also having this problem, the kernel config only supports 8 cpu's. I also tried the kernel26-lts and same results; 8 cpu's only.
Offline
i686 kernel has set CONFIG_NR_CPUS=8, while x86_64 kernel CONFIG_NR_CPUS=16.
Offline
@graysky
I've been using a usb flash drive with arch with several different computers and it has always booted fine with the "normal" boot image. If that doesn't work the fallback image will most probably work I believe.
The 8 CPU limit is for the 32bit flavor of Arch. If you have a half decent recent machine and more than 8 logical/physical cpu cores probably you should look into using 64bit arch (unless you have been really cheap and bought less that 4GB of ram, which doesn't make much sense if you have so much cpu horsepower on tap). Also when booting linux will use all available cpus up to the CONFIG_NR_CPUS limit, there is no need to recompile anything (assuming the programs support and have been compiled with MP support in the first place).
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Aww SOB! Just another total N00b error on my part miss-understanding the naming scheme. I thought i686 was AMD64 with no x86 backward compatibility only 64bit. Sounds like x86_64 is the 64bit version that I should be using; i'm installing on 980x's 970's and Westmere's... so yeah good systems. Thanks for the help!
Offline
Pages: 1