Originally posted by nils_
View Post
Announcement
Collapse
No announcement yet.
Building The Default x86_64 Linux Kernel In Just 16 Seconds
Collapse
X
-
- Likes 2
-
I think there's something fishy in the way linux scaling works in some applications... I mean compiling and video encoding do not scale very well from 1 socket to 2 sockets - unlike crypto hashing or john the ripper cracking. These bottlenecks have to be addressed so that 2x sockets start to make sense and become viable. Perf/$ tops at 1 socket for apparently bottlenecked apps - that shouldn't really be bottlenecked because their loads can be parallelized.
It could be I/O... but it could be ram operations that go slow (either due to latency or bandwidth), or it could be that one thread is used more for scheduling the load on other threads and while it is busy itself creates delays in assigning tasks to other threads (?). Or it could be something else...
Comment
-
Wow!
i can remember building the kernel for Redhat 4 or 5 on a laptop of the day. It was one of those things where you go to bed and hope it is finished before morning. Of course laptop of that time period really sucked but man this is a massive delta.
Comment
-
Originally posted by Michael View Post
It's not a matter of "not heard of", but rather trying to be realistic - how many people actually build in tmpfs?
- Likes 2
Comment
-
-
Originally posted by wizard69 View PostWow!
i can remember building the kernel for Redhat 4 or 5 on a laptop of the day. It was one of those things where you go to bed and hope it is finished before morning. Of course laptop of that time period really sucked but man this is a massive delta.
I should add that I've worked on machines where it was more like 16 hours. 386sx/16 with 4MB of EMM on an ISA card. Laptop PATA IDE drives hanging off the ISA bus as well. It's all I had free to do MD driver testing on, so it's what I used. Thank goodness for scripts that can just go run on their own.
- Likes 4
Comment
-
Just out of curiosity, I decided to try compiling this kernel on a computer I have access to.
I did it three times. Once on a raid 6 array, one on a fusion IO drive and one in /run (tmpfs)
Here are the results
linux-4.18 LTS compile
Dell PowerEdge R810
Xeon X7650 x 4
64 GB RAM
Funtoo Linux 1.3
kernel 4.14.78-gentoo
raid 6: time make -s -j 128
real 1m19.368s
user 49m0.871s
sys 4m42.715s
fusion io: time make -s -j 128
real 1m18.847s
user 49m46.197s
sys 5m49.159s
tmpfs: time make -s -j 128
real 1m15.964s
user 49m10.004s
sys 4m55.751s
So it seems for me at least, it doesn't make much of a difference all where the files are stored.
- Likes 3
Comment
Comment