Threadripper 3960X Compiles Linux Kernel in Under 30 Seconds
phoronix.com
phoronix.com
File format commonly used for wafer masks.
Though to Linux defence, it is not nearly as bloated over this period of time as, say, Windows, by orders of magnitude. And, you aren't required to compile in everything. It's just very tedious (and frankly a bit pointless) to trim it down..
So if processors are now >1500x faster than they were in 1991, why is it that my Amiga 3000 has a faster, more responsive UI?
Why is it that an ssh session takes 8 seconds to establish?
Why is it that browsing a network share is 10x slower than viewing a file list was on a BBS?
- CPUs are multiple orders of magnitude faster
- GPUs are multiple orders of magnitude faster
- RAM is multiple orders of magnitude faster and more abundant
- Disks are multiple orders of magnitude faster and bigger
- Network connections are multiple orders of magnitude faster
Why is it that the end result feels the same?
The answer, of course, is that software complexity has kept pace: software, like a gas, expands until it fills its container.
Use -vvv to find the hangup.
See https://coderwall.com/p/fukoew/speed-up-ssh-logon-by-disabli... for some details.
And today’s software is more than 1500x the size.
Either way, I get your point, I remember programming in Delphi, compiling, chatting on IRC and browsing the net with a 56K Winmodem (all the modulation was software driven) with a Pentium 2 all at the same time, and now I can't even have and IDE and slack open at the same time.
Oh, and having to hangup so my parents could make a phonecall wasn't fun either!
This at least is something that has got orders of magnitudes better, and is very much noticeable. At times I still shake my head in wonder at being able to download a GB in less than 2 mins on a residential FttC connection.
Unreal Engine, Firefox, Chrome... large C++ programs easily take an hour to compile on normal hardware.
With that being said: compiling for an hour is a huge hassle for reviewers. I think reviewers prefer benchmarks that complete in under a minute, rather than over an hour.
I'm personally happy to see the LLVM tests, since it gives a good impression on what benefits software developer which work on big native code-bases can expect.
Can't they just set it to run then go to lunch? Seems like a non-issue.
So there's that, but also the time to write these reviews. And finally, you're trying to out-compete everyone and release the review before everyone else so that your website gets more traffic.
From [0], in 2004: TCCBOOT is a boot loader able to compile and boot a Linux kernel directly from its source code. It is only 138 KB big (uncompressed code) and it can compile and run a typical Linux kernel in less than 15 seconds on a 2.4 GHz Pentium 4.
[0] https://bellard.org/tcc/tccboot.html [2004]
Gosh, 18 years ago, now I feel really old :D
on vanilla head branch myn "time make -s -j32" took "0m56.226s" with 1950x
Still...exciting times for consumers.
Why is this important? Is there some kind of architectural breakthrough these CPUs are using? Are these CPUs recovering performance lost to Spectre/Meltdown mitigation?
Just that alone is newsworthy.
Thanks for helping me answer the question.
"The next generation of processors is not quite twice as fast as the current generation" just seems like a pretty normal statement to me.
It reminds me of the 90's when Moore's Law was still a Law-with-a-capital-L and I love it.
I don't really see what the point of faster desktop CPUs are without being accompanied by substantial power use reduction. I'm a software engineer and other than when I'm lazy about my Haskell build process and dont offload it to a farm, it doesnt really seem to matter at all. It doesnt come into play with my CAD work, and it doesn't make my Java GC cycles faster.
And that's with 16 cores. The 3990X is gonna have four times that many. That's four times the number of things my computer can be doing at the same time at the same per-core load.
My work laptop, according to htop, is running 263 "tasks" right now (which I assume to be processes+threads). If AMD can in the next few years pull off another quadrupling like they're trying to do with the 3990X, then I'd be very close to being able to give every process and thread on a computer its own x86 core. That's fucking ludicrous.
That desktop CPU performance has slowed down is more a sign to me of fundamental challenges with the architecture (e.g., gains at the cost of isolation as in Specter and Meltdown), not process challenges.
So I think maybe this is story for folks who have interest in AMD vs. Intel, which is reasonable, but it's not particularly exciting except from a vendor diversity standpoint.
It is cool we are reaching limits for our current process, but I was under the impression that in a post-Specter/Meltdown world what we're really waiting for is new architectures that support better speed under safe isolation.
Linux # Threadripper : https://news.ycombinator.com/item?id=21628482
Is this a new record, or just a record for the price point? What was the previous record? Will this have a large effect on how the kernel is developed?
For what it's worth, I understand how hard it is to focus on a project when compile times get more than about thirty seconds.
It’s just this title is very specific to compile time compared to the other being very general discussion.