SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It takes me just under 3 hours to build kernel packages with Pat's scripts. That's using my desktop which has the best specs. Is 3 hours good, bad or it depends?
Pat's scripts build all 5 packages (source, huge, generic, modules & headers). I only need the kernel-generic & the kernel-modules packages to build the initrd & run the custom kernels.
I have a new Ryzen 5900x system and I can compile just the kernel in 5 minutes. And when I did Pat's SlackBuild a while back I know it took less than 15 minutes for me.
I've got an i5-5250U CPU @ 1.60GHz NUC with 16GB RAM and an 500GB SSD. I'll try a build on that box and see if it can turn a lower time.
EDIT:
I'll look into distributed compiles with icecream also. Based on this thread:[HOWTO] Set up icecream. I have 4 LAN machines with available cycles that I can use.
Last edited by Chuck56; 02-28-2021 at 03:42 PM.
Reason: added icrcream
EDIT
No very clear message : your time seems correct to me regarding the difference between the machines.
Quote:
Originally Posted by Chuck56
I've got an i5-5250U CPU @ 1.60GHz NUC with 16GB RAM and an 500GB SSD. I'll try a build on that box and see if it can turn a lower time.
EDIT:
I'll look into distributed compiles with icecream also. Based on this thread:[HOWTO] Set up icecream. I have 4 LAN machines with available cycles that I can use.
That sounds promising, thank you for the heads up.
OK, I'm sold on using icecream to compile large builds like kernel packages.
Using icecream I combined my desktop and my Plex NUC. Pat's kernel build scripts went from 2 hours 56 minutes on only my desktop to 1 hour 50 minutes on the distributed compile pair. Since all my machines are low powered, low noise I'll add another PC or 2 to reduce the time even more.
Gotta love finding useful tools Pat makes available to Slackware users.
Guys, the kernel build times depend heavily on the kernel config and kernel version. For a meaningful comparison everybody needs to agree on the same parameters.
For reference, I've just built a 5.11.2 kernel essentially with full slackware generic kernel config in 4 minutes 33 seconds (Ryzen 5950X)
In the past I have used distcc to great effect, but distcc obviously works best when you have a number of machines of similar performance. If one machine is significantly faster than the others, you might as well build on the fast machine alone.
Guys, the kernel build times depend heavily on the kernel config and kernel version. For a meaningful comparison everybody needs to agree on the same parameters.
For reference, I've just built a 5.11.2 kernel essentially with full slackware generic kernel config in 4 minutes 33 seconds (Ryzen 5950X)
In the past I have used distcc to great effect, but distcc obviously works best when you have a number of machines of similar performance. If one machine is significantly faster than the others, you might as well build on the fast machine alone.
Yeah, for actual 1-to-1 comparison you will need to compare the exact same compile on different computers.
I would argue that dot-versions of the kernels which are not too far apart (like maybe 3-5 releases or so) should normally give fairly similar compile times, given same/very similar configs, but obviously YMMV on that. Should give you an indication at least. Only the very same config and kernel version is straight up directly comparable.
I can't speak for distcc, but I have tested icecream a little bit, and it can speed up the compiles significantly - depending on what hardware you have available. As indicated, how well it works will depend on the differences between the computers you have available. Up to the point that some might actually slow down the overall compile. Some testing will figure that out for you. How helpful slow(er) machines are will also depend on the actual compile job. I would think that the bigger the compile job, the more helpful the slower nodes might be. Again, running tests to find out.
AFAIK Pat uses an icecream cluster for his compiles.
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928
Rep:
Here it takes about 5 minutes to build the kernel (5.11) with config-generic,
and about 35 minutes to build 'bzImage modules'.
I run 'make -j9', CPU is an AMD FX-8320E (eight cores).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.