Linus Torvalds's Faulty Memory (RAM, Not Wetware) Slows Kernel Development
If the next version of the Linux kernel emerges a little slower than usual, blame a dodgy DIMM in Linus Torvalds's AMD Threadripper-powered PC and the vagaries of the memory market.
In a post responding to a kernel developer inquiring if he had missed a Git Pull, Torvalds on Sunday revealed the request was still in his queue as "I'm doing merges (very slowly) on my laptop, while waiting for new ECC memory DIMMs to arrive."
Torvalds needs the DIMMs because over the last few days he experienced what he described as "some instability on my main desktop the … with random memory corruption in user space resulting in my allmodconfig builds randomly failing with internal compiler errors etc."
The Linux boss's first thought was that a new kernel bug had caused the problem – which isn't good but sometimes happens.
His instinct was wrong.
"It was literally a DIMM going bad in my machine randomly after 2.5 years of it being perfectly stable," he wrote. "Go figure. Verified first by booting an old kernel, and then with memtest86+ overnight."
Torvalds appears to have been tracking delivery of the new DIMMs as he reported replacement memory was "out for delivery" and predicted it should arrive later on Sunday evening.
"I'll probably leave memtest86+ for another overnight with the new DIMMs just because this wasn't the greatest experience ever. A fair amount of wasted time blaming all the wrong things, because _obviously_ it wasn't my hardware suddenly going bad," he added.
Torvalds's post is interesting for two other reasons. One is that the laptop he mentions could be the recent MacBook – complete with Arm64 Apple silicon – that he used to push the final cut of Linux 5.19. If that's the same laptop he used on Sunday, said silicon may not be quite up to one of the more high-profile workloads in the world – or perhaps Linus just misses the comforts of a big screen.
- Linux kernel 6.0 debuts, Linus Torvalds teases ‘core new things’ coming in version 6.1
- Linus Torvalds predicts Linux Kernel 6.0 debut next week, dispels fear of delays
- Torvalds: Linux kernel team has sorted Retbleed chip flaw
His post also mentions that his main PC was set up for error correction code memory (ECC memory), but "during the early days of COVID when there wasn't any ECC memory available at any sane prices. And then I never got around to fixing it, until I had to detect errors the hard way."
"I absolutely *detest* the crazy industry politics and bad vendors that have made ECC memory so 'special'," he added.
That appears to be a reference to this post from 2021 in which Torvalds offered the following opinion:
The above is a reference to Intel not permitting use of ECC with all of its consumer-grade CPUs, and therefore suppressing demand by making it an option for fewer buyers. And because demand is low, manufacturers don't come to the party, prices stay high ... and many can't afford the extra resilience that ECC affords compared to normal RAM. Which is where this intersects with Torvalds' day job, because Linux (and all other software) can benefit from the error correction that ECC RAM performs.
Torvalds is currently occupied by version 6.1 of the Linux kernel, which among other things adds support for the Rust programming language. ®
From Chip War To Cloud War: The Next Frontier In Global Tech Competition
The global chip war, characterized by intense competition among nations and corporations for supremacy in semiconductor ... Read more
The High Stakes Of Tech Regulation: Security Risks And Market Dynamics
The influence of tech giants in the global economy continues to grow, raising crucial questions about how to balance sec... Read more
The Tyranny Of Instagram Interiors: Why It's Time To Break Free From Algorithm-Driven Aesthetics
Instagram has become a dominant force in shaping interior design trends, offering a seemingly endless stream of inspirat... Read more
The Data Crunch In AI: Strategies For Sustainability
Exploring solutions to the imminent exhaustion of internet data for AI training.As the artificial intelligence (AI) indu... Read more
Google Abandons Four-Year Effort To Remove Cookies From Chrome Browser
After four years of dedicated effort, Google has decided to abandon its plan to remove third-party cookies from its Chro... Read more
LinkedIn Embraces AI And Gamification To Drive User Engagement And Revenue
In an effort to tackle slowing revenue growth and enhance user engagement, LinkedIn is turning to artificial intelligenc... Read more