3 ms·
For what it's worth, Linux kernel compilation took about 6~7 minutes with -j25 on Ryzen 3900X (12C/24T).
by sirn 7y ago
For what it's worth, Linux kernel compilation took about 6~7 minutes with -j25 on Ryzen 3900X (12C/24T).
- akhilcacharya 7y agoI have no sense of how long that is. What would it take on a 4 thread Macbook Pro?
- leetcrew 7y agodepends which four thread MacBook pro... as a rough reference, it took about 35 minutes to build the linux kernel on my xps 13 a few years ago. that computer has a 2C/4T kaby lake processor. your macbook pro might be a little faster if it doesn't have one of the ultra low power CPUs.
- sirn 7y agoI have not tried installing Linux on a more recent MacBook Pro (USB-C generation) so I couldn't tell, but I remembered it took around an hour with Arch Linux's default config (e.g. "let's compile this and go have a breakfast & make a coffee and hope it's done")
- fwip 7y agoWent to lunch and timed a compile of the linux kernel (v3.19) (default options) at 14 minutes on my 13" 2015 macbook pro. (3.1 GHz Intel Core i7, 16GB RAM).
- lima 7y agoHuh? I can do a full kernel rebuild in ~40s on a 3900X.
- sirn 7y agoMaybe because Arch has more modules enabled than the default config?
- pstrateman 7y agowithout running clean? cause that's not even in the right ballpark for a stripped kernel config
- lima 7y agoYes, in a clean tree that just got cloned, and the result does boot.
- ken 7y ago20 years ago, it took me only around 10 minutes on a single-core 32-bit CPU, with 1/1024th the RAM, and spinning rust for storage. How is it not even twice as fast today?
- tutanchamun 7y agoMaybe better and more time consuming optimizations? 2 mio LOC vs. 26 mio LOC probably doesn't help either. Maybe there is some bottleneck somehwere in the software or hardware?