204
submitted 2 weeks ago by neme@lemm.ee to c/linux@programming.dev
top 40 comments
sorted by: hot top controversial new old
[-] possiblylinux127@lemmy.zip 103 points 2 weeks ago

So he is like the rest of us

[-] sleen@lemmy.zip 20 points 2 weeks ago

Who would've thought

[-] luckystarr@feddit.org 47 points 2 weeks ago

He's not the only one. Laptops especially seem to crash regularily nowadays, regardless the OS.

I'd like to see hardware classified by boringness and thus stability.

[-] tekato@lemmy.world 16 points 2 weeks ago

That’s not what this is about. He’s complaining about hardware developers putting more work on kernel developers by making them patch all the CPU vulnerabilities that are introduced by trying to increase performance.

[-] Xanthrax@lemmy.world 13 points 2 weeks ago

I've never had my laptop crash unless I was playing STALKER, GAMMA. What makes your laptop crash? I'm not doubting you, I'm just curious.

[-] luckystarr@feddit.org 21 points 2 weeks ago

Waking up from sleep mode mostly.

[-] bjoern_tantau@swg-empire.de 7 points 2 weeks ago

Had that until I stopped using the nvidia GPU.

[-] jerakor@startrek.website 7 points 2 weeks ago

Every security feature ever made has basically started by absolutely dumping on S3 recovery. S3 recovery requires every device in the computer to give you a complete understanding of how to bring it up cold without engaging the boot flow. Sometimes devices don't do this because they are lazy, other times they don't do this for security reasons.

[-] toothbrush@lemmy.blahaj.zone 5 points 2 weeks ago* (last edited 2 weeks ago)

I have that too! It started after an update at the beginning of this month. It seems to be a new bug that I cant reliably replicate. Do you have an AMD cpu/gpu?

[-] Xanthrax@lemmy.world 4 points 2 weeks ago* (last edited 2 weeks ago)

Not op, I have AMD Ryzen 7, but I haven't had the issue. I have all Windows bloatware un-installed or disabled, though.

Edit: I had one issue (one time, so I forgot about it), but I think it was a user error (me). I had to uninstall Linux because I either didn't update Windows or Linux (I think it was Linux), and their security systems were in conflict. Windows wouldn't even start until I used the BIOS to uninstall Linux. I had a backup, but a lost of little bit of data because I couldn't figure out how to make a new one. I reinstalled the updated version, and I didn't have any more issues.

[-] arran4@aussie.zone 4 points 2 weeks ago

I've definitely moved back to desktops. Still have my laptops but I use them in limited cases.

[-] Deckweiss@lemmy.world 3 points 2 weeks ago

I recently got a Minisforum V3 and put arch on it.

Not only has it never crashed so far, but sleep and waking up worked out of the box, which was a huge surprise to me.

[-] FizzyOrange@programming.dev 3 points 2 weeks ago

Not the kinds of bugs he is talking about. This is about spectre mitigations.

[-] unrushed233@lemmings.world 3 points 2 weeks ago

Not trying to shill for Apple or anything, but I have found MacBooks (excluding the 2015 MacBook, and the 2016-2020 Air and Pro models) to be extremely stable and reliable, especially since they use their custom ARM CPU/SOCs. It reminds me of the good old PowerPC days, these machines were also reliable, basically unbreakable like a tank. In build quality, hardware and software. With the ARM transition, Apple really appears to have brought back the glory days of computing (unfortunately not in terms of upgradability and repairability, but at least in quality, stability and reliability).

I'm even more excited for the continiously improving Linux support on these devices - thanks to the amazing Asahi Linux (!asahilinux@lemmy.world) project. Also consider following them on Mastodon: @AsahiLinux@treehouse.systems

[-] Ptsf@lemmy.world 3 points 2 weeks ago

I will say I've never ever even once had an issue with my M1 pro 16", can't say that about any other laptop I've owned (be it battery swelling, software bugs, or "issues" one learns to live with like sleep mode causing boot crashes or sleep mode draining battery %). Kinda amazing in hindsight.

[-] unrushed233@lemmings.world 3 points 2 weeks ago

I will say I’ve never ever even once had an issue with my M1 pro 16",

Same for my M1 Pro 14", the only issue I have is that the macOS version of Firefox just absolutely obliterates my battery, I mostly use Safari now, because it's much better optimized. That's really quite unfortunate, but it's not Apple's fault, and I don't see any hope for this, unless Mozilla decides to continue development of the Rust-based Servo browser engine, and eventually Firefox may switch away from the antiquated and incredibly inefficient Gecko code.

[-] 5714@lemmy.dbzer0.com 38 points 2 weeks ago

Hardware people sounds like a euphemism for protogen.

[-] unreachable@lemmy.world 33 points 2 weeks ago
[-] HarmlessCake@discuss.tchncs.de 1 points 2 weeks ago

Noo don't eat the RAM! I still need it for Blendeeer!

[-] P4ulin_Kbana@lemmy.eco.br 8 points 2 weeks ago

Could someone please explain to a non-tech expert?

[-] teawrecks@sopuli.xyz 83 points 2 weeks ago

In the last 10 years there has been a seemingly noteworthy uptick in hardware bugs in both intel and amd CPUs. Security researchers find and figure out potential attack vectors that rely on these bugs (ex. Specter/Meltdown). Then operating systems have to put workarounds in their kernel code to ensure that these hypothetical attack vectors are accounted for, at the cost of performance and more complicated code.

Linus is saying how annoyed he is with all this extra work they have to do, resulting in worse performance, all to plug vulnerabilities that we've never actually seen any real attackers use. He's saying instead we should just write the code how it should be, and if the hardware is insecure, let it be the hardware company's problem when customers don't use the hardware.

The problem is, customers will continue to use the hardware and companies who need a secure OS (all of them) will opt to not use Linux if it doesn't plug these holes.

[-] ikidd@lemmy.world 3 points 2 weeks ago

Plus a lot of these bugs don't get fixed, because they exist to allow the processors to "look ahead" for improved performance, at least on unmitigated benchmark tests.

[-] Kissaki@programming.dev 2 points 2 weeks ago

we should just write the code how it should be

Notably, that's not what he says. He didn't say in general. He said "for once, [after this already long discussion], let's push back here". (Literally "this time we push back")

who need a secure OS (all of them) will opt to not use Linux if it doesn’t plug these holes

I'm not so sure about that. He's making a fair assessment. These are very intricate attack vectors. Security assessment is risk assessment either way. Whether you're weighing a significant performance loss against low risk potentially high impact attack vectors or assess the risk directly doesn't make that much of a difference.

These are so intricate and unlikely to occur, with other firmware patches in line, or alternative hardware, that there's alternative options and acceptable risk.

[-] FizzyOrange@programming.dev 7 points 2 weeks ago

This is about Spectre, not about buggy hardware implementations.

Spectre is a fundamental flaw in speculative execution that means it can leak information, so it's a security vulnerability. Apparently Intel has been imposing draconian requirements on software to work around the issue rather than fixing it in hardware, which is obviously what they should do, but is not at all trivial.

[-] rain_worl@lemmy.world -1 points 2 weeks ago

hardware is like your computer, stuff like the cpu and ram. software is like the programs on that computer. linus torvalds makes a program that has to deal with the details of the computer (the linux kernel). as such, they have to work around problems in the hardware.

[-] wulrus@lemmy.world 8 points 2 weeks ago

Thanks for the unappreciated ELI2

[-] rain_worl@lemmy.world 4 points 2 weeks ago
[-] elbarto777@lemmy.world 4 points 2 weeks ago

I'm a graybeard software engineer with 30+ years of experience.

I appreciated your explanation.

[-] wulrus@lemmy.world 3 points 2 weeks ago

Me too; it's BECAUSE I'm so old that I appreciate a general rooting what this is all about.

[-] mlg@lemmy.world 5 points 2 weeks ago

I believe he was also worried people developing RISCV would make similar mistakes which would slow down adoption.

this post was submitted on 22 Oct 2024
204 points (100.0% liked)

Linux

5186 readers
98 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS