I work for Nimbix and have access to some pretty powerful multicore systems, I intend to make a kernel compilation service.
The systems can have upto 128 cores and in my initial test with 32 cores, I can compile really fast - these are the times for
make -j32 for Linux 4.8.12:
real 2m16.366s user 29m18.732s sys 2m28.616s
On my Dell Precision 6500 laptop, it had still not compiled after about 25 minutes.
My first test is to try to build a kernel for my own system (Arch Linux).
I got the bzImage the
/lib/modules directory from the remote system copied over to my system.
Now when I try to do a
mkinitcpio I get the error:
==> ERROR: '/lib/modules/4.8.14-2-ck-nehalem' is not a valid kernel module directory
(I took the base kernel .config file from /proc/config.gz - I have that ck-nehalem kernel version)
How do I get this to work? What's the general way to transfer modules from another system to the one where the initramfs image is built? Can the initramfs be built remotely too?
On a slight tangent, would such a kernel compile service be useful for kernel devs and tinkerers? The cost of using the compute cluster is about 3$ per hour so a single compile end up costing hardly anything.