Тёмный
No video :(

Linus Torvalds: RISC-V Repeating the Mistakes of Its Predecessors 

Mastery Learning
Подписаться 6 тыс.
Просмотров 64 тыс.
50% 1

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 174   
@Escu4Lo
@Escu4Lo Месяц назад
I beleve that nobody should doubt LT's authority when it comes to giving his opinion on these issues. Beyond his public notoriety, has been programming at a low level for several decades, and dealing with hardware to achieve the best performance with the kernel. He has already said that he often writes code in C and then observes how it is translated into Assembler, and rewrites it if necessary so that the result is the most efficient (I doubt that those who criticize have ever tried something like that...) I think it refers mainly to those security aspects that, through speculative execution, generate the well-known Spectre and Meltdown attacks. To put it simply, the idea is that these techniques allow bypassing memory protection between user processes, and consequently accessing, for example, a variable containing an unencrypted password. All processors that use Cache prefetching are exposed to these vulnerabilities (ARM, Intel, AMD, etc.), but it is also true that without this technology it is not possible to achieve the high performance of current CPUs. I also think that some hardware could be designed to collaborate with the mitigation algorithms to reduce the impact on performance, but it is impossible to avoid these attacks completely, and I believe that's why it hasn't been considered (pay attention to those processes that constantly consume 100% of your CPU). The scenario of high-performance CPUs is really complex. It is not a design flaw but rather time windows generated by the techniques used to achieve these speeds. It is possible to mitigate and even avoid this type of attack, but with speed losses. Perfection only exists in our imagination!
@a6am3mn0n
@a6am3mn0n 24 дня назад
Linustans are no different than muskstans
@NoidoDev
@NoidoDev 23 дня назад
@@a6am3mn0n Smart and beautiful people who respect skills. Yeah.
@boptillyouflop
@boptillyouflop 19 дней назад
Any kind of fast CPU needs shared structures with limited size like Caches, Branch prediction memories, Trace caches, Pipeline slots, Top Level Buffers etc. It will always be possible to exploit timing differences from those to create timing attacks. Building a system with constant access time would give you speeds in the Megahertz range (DRAM is too high latency and SRAM is too small). Spectre and Meltdown attacks aren't the variable, they're the constant.
@Escu4Lo
@Escu4Lo 19 дней назад
​@@boptillyouflop I understand. In other words, you are saying that there would be no hardware solution for these cases. While I am not an expert in high performance processor design, as I have some experience with FPGAs, I would believe that if there is a software solution/mitigation, something could be done in hardware, at least to help and alleviate these algorithms and gain some performance. What do you think?
@boptillyouflop
@boptillyouflop 19 дней назад
@@Escu4Lo As of yet, the response seems to have been an acknowledgement that timing attacks are always going to happen, so they have made particularly sensitive processes such as encryption be constant-time using timers, and have moved sensitive OS data to a different page table... There's an infinity of hardware mitigations that can reduce the problem, but there's also an infinity of side channels, such as the data-aware prefetcher in a recent Apple chip. There's always a Belgium to let the German army around your Ligne Maginot, so to speak.
@claasdev
@claasdev Месяц назад
What are the mistakes?
@beautifulmind684
@beautifulmind684 Месяц назад
they will not tell you because those from arm will let you figure out and save their lives.
@edgardcz
@edgardcz Месяц назад
I think he may be refiring to some obvious mistakes like: - How you port applications written in x86 and arm to risc-v - Security (how the cache memory is managed) - Having support for compilers of different programming languages - Having a 64 bit integer to represent time - Having take care of thermals when the chips is at its top performance - Get a deal with hardware and software companies (specially OS) to use your chips - Also how do you deprecate instructions you no longer use (like intel with x86)
@tommymurphy459
@tommymurphy459 Месяц назад
Try making sense of the plethora, and rapidly increasing number, of RISC-V extensions and development tool support for same, for example... 🤯😖
@autohmae
@autohmae Месяц назад
check out the other video: Linux Torvalds: Speaks on Linux Hardware SECURITY Issues
@YSKWatch
@YSKWatch Месяц назад
I also have the same question and reading the comments still doesn't make me understand. I really curious what were wrong and what they should be.
@TradingFuturo
@TradingFuturo Месяц назад
he should expose the mistakes rather than saying "same mistakes"
@FrankHarwald
@FrankHarwald Месяц назад
I would tend to agree, unfortunately there are too many issues in too many different parts meaning you can't just easily enumerate them until you've specifically looked into them for an extended period of time.
@PainterVierax
@PainterVierax Месяц назад
Linus is just talking sh*t like usual.
@RetroPaul6502
@RetroPaul6502 Месяц назад
Ditto. He wording nearly implied ARM resolved the mistakes. Need more elaboration instead of unhelpful assertions.
@megaTherionXX
@megaTherionXX Месяц назад
Linus has no clue about most things.. same as usual
@subway394
@subway394 Месяц назад
Linus is just ranting and trying to be smart. All hardware and software evolve over many years and that is fairly normal. You don't make the perfect hardware or software on just first release. Linux wouldn't be what it is today without billions of dollars and hundreds of engineers spent by big tech companies.
@parrotraiser6541
@parrotraiser6541 Месяц назад
The problem is that new people aren't taught the history of the fields (hard and soft). They come in with the confident arrogance of youth and faith in their ideas, oblivious to the past failures, which they faithfully reproduce.
@blvckbytes7329
@blvckbytes7329 Месяц назад
This! In so many scientific fields... We're failing miserably on educating young minds.
@wernerviehhauser94
@wernerviehhauser94 Месяц назад
​@@blvckbytes7329 well, when the old farts do not publish their failures, how could we? I can vividly remember all those time my wife came back from a conference where she learned on a side note in a poster session that the method they were trying to develop had already been tested and failed years ago with ZERO publications on that. That makes teaching how things DON'T work much harder (and sometimes, they didn't work in the past, but ended up working later on when the _actual_ problem was identified)
@ArthurBugorski
@ArthurBugorski Месяц назад
David Petersen was involved in it and he has been around since 1990 and literally co-wrote the book on procesor design with Hennessey and won a Turing Award. If you read the original papers they have rationale why they didn’t chose and existing architecture. So how much more experience and pedigree would you like?
@simontillson482
@simontillson482 Месяц назад
I disagree mostly with this. Most of the issues that come up aren’t really classifiable as ‘mistakes’ - they’re just shortcomings that were very hard to imagine or predict ahead of time. Fundamental mistakes are very well avoided since their effects are mostly rather obvious, and they are mostly well listed as shortcomings of previous iterations. It’s the insidious ones that only rear their head once someone manages to find a way to make it go wrong that bite us. I think those are what Linus is referring to… the hardware choices that end up making it impossible to implement reasonable code safety without compromising performance or flexibility of systems. Any new ISA is bound to present new opportunities for people to break it in this way.
@Gurundiaocinac
@Gurundiaocinac Месяц назад
It's the bussines. They dont care about advancement, only money. Evolution disolve status quo.
@misium
@misium Месяц назад
I love the part when he lists the mistakes.
@Benson_Bear
@Benson_Bear 11 дней назад
Yeah, short and sweet. Very short.
@jhoughjr1
@jhoughjr1 6 дней назад
I love how he doesnt lnow its risc vee not risc five
@Benson_Bear
@Benson_Bear 6 дней назад
@@jhoughjr1 "I love how he doesnt lnow its risc vee not risc five" uh, it IS risc five NOT risc vee, lol.
@zip8444
@zip8444 12 дней назад
So Linus, why not write a book about all the x86 and ARM hardware mistakes for the RISK IV hardware community!
@JureRepinc
@JureRepinc Месяц назад
I think t would be awesome if Linus Torvalds joined some steering/advisory group of RISC-V and help them avoid as many mistakes as possible. But still better having open and royalty-free ISA then closed one, even if they would have the same mistakes.
@a6am3mn0n
@a6am3mn0n 24 дня назад
except if he did, he'd have to take responsibility instead of blaming everyone else, he's a one trick pony.
@D9ID9I
@D9ID9I 11 дней назад
It is too late because risc-v is released already. You can't go back
@Freshbott2
@Freshbott2 5 дней назад
@@D9ID9Igo back to what? It’s completely customisable you can do what ever you want with it.
@segsfault
@segsfault Месяц назад
RISC-V is literally just an ISA, What Linus is probably referring hardware that will feature the RISC-V ISA, because these "mistakes" and "issues" occur at a level lower than ISA itself, i.e. at Micro Architecture Level.
@kllrnohj
@kllrnohj 18 дней назад
No, he's probably referring to the architecture. Things like device tree, runtime device enumeration, power management, boot procedure, etc..
@defeqel6537
@defeqel6537 11 дней назад
@@kllrnohj which are separate from the ISA
@kllrnohj
@kllrnohj 11 дней назад
@@defeqel6537 no, it actually isn't. That's the 'A' part of ISA. Instructions are what controls those things, after all, not magic fairy dust.
@defeqel6537
@defeqel6537 10 дней назад
@@kllrnohj RISC-V ISA documentation is open, you can go check how many of those things are mentioned there
@Steven_Edwards
@Steven_Edwards 8 дней назад
​@@kllrnohjDevice Trees and such were understandable back in the day because 1. Hardware was static 2. The concept works pretty much on all embedded devices 3. ACPI is owned by Intel 4. And PnP+ACPI was buggy as hell for about a decade.
@aintnochange
@aintnochange Месяц назад
I'm tired of reading people blame Linus for not providing examples. It's just what you were expecting because of the title of this video. In fact, there wasn't even a question about risc-v mistakes from the interviewer, Linus just quickly mentioned it.
@ikemkrueger
@ikemkrueger Месяц назад
Maybe the RISC-V-guys should have a talk with Linus Torvalds?
@StringerNews1
@StringerNews1 Месяц назад
Remember Transmeta?
@ikemkrueger
@ikemkrueger Месяц назад
@@StringerNews1 Vaguely. What's up with them?
@StringerNews1
@StringerNews1 Месяц назад
@@ikemkrueger nothing any more. But it was a CPU company that Linus worked for. He'd be able to help with RISC-V.
@jeanlucbiellmann9909
@jeanlucbiellmann9909 Месяц назад
J'ai vu hier une vidéo qui affirmait que la fondation Linux ne consacre plus que 2% de son CA au développement du noyau. Tout le reste, c'est des projets de multinationales membres du CA qui utilisent sûrement le noyau mais n'ont plus rien à voir avec les logiciels libres. Alors je voudrais pas casser l'ambiance, mais avant de parler des erreurs des autres architectures, je vois en ce moment des erreurs de noyaux régressives. Sur la Mint l'autre jour c'était la perte du port HDMI lors d'une montée du noyau officiel sur un portable ASUS. Sur une machine fixe montée, passée de la Ubuntu 20.04 à 22.04, c'est la mise en veille mémoire qui plante désormais sur un contrôleur SATA additionnel avec un noyau 5.15, avec une erreur sata_pmp_eh_recover.isra, là où le noyau 5.4 n'avait pas de soucis. Bref, même si le noyau est robuste, et qu'on peut heureusement revenir à d'anciennes versions, un usager normal et basique se posera quand même des questions. Pour ma part, la principale erreur des distributions, c'est de forcer la mise à jour des noyaux, quand la machine marche parfaitement bien, et de ne pas offrir un mécanisme graphique de retour à l'ancien noyau quand les choses se passent mal... Enfin, et là c'est plus un reproche global ici sur l'interview : je veux bien que M. Torvalds soit un excellent ingénieur. Mais sans les logiciels libres et la licence GPL de Richard Stallman, il n'est pas sûr que son noyau aurait eu le succès qu'il a. Or je ne vois jamais de reportages sur R.M.S., luttant aujourd'hui contre un cancer, qui certes a une autre vision, mais qui au fond reste le véritable papa des logiciels libres, et à qui on doit d'avoir aujourd'hui une vraie alternative aux OS privateurs de liberté. Une fois encore, on cache les origines de GNU/Linux, en glorifiant un ingénieur qui est tout sauf un libriste, et en oubliant que le monde du Libre, c'est aussi une philosophie, une vision du monde, la défense de la démocratie et de la souveraineté numérique.
@antadefector
@antadefector Месяц назад
Not sure, but, it is not open source architecture, only ISA specification is open source, implementation is on per implementer. Makes a big difference.
@rabiatorthegreat6163
@rabiatorthegreat6163 Месяц назад
Correct, and I think the main advantage will be in compatibility between different RISC-V implementations. Ultimately the benefits will be in the software ecosystem, not in whose CPU is a tad faster.
@Gooberpatrol66
@Gooberpatrol66 Месяц назад
No specifics, just vibes and aphorisms
@rainewatchesyt
@rainewatchesyt 24 дня назад
This is an incredibly unhelpful clip. No explanation of what these "mistakes" are. Thanks for the clickbait...
@hashomi0596
@hashomi0596 Месяц назад
RISC-V is an ISA. The microarch (where the sec bugs happen) is free to be anything.
@avataros111
@avataros111 12 дней назад
I feel rubbed after purchasing many servers and then a couple of months later to find out that an unauthenticated attacker can compromise my systems remotly and patch them on level 0, or below, in such way that I would never be able to find out about it. And the fault is in the CPU architecture and there is nothing anyone can do about it. All CPU's are vulnerable.
@kneecaps2000
@kneecaps2000 Месяц назад
One word. Transmeta. 😂
@Eunakria
@Eunakria 11 дней назад
RISC-V mainly excites me because of its use in pedagogy. people who are new to the hardware design community will likely understand it better because they can practice on an open, highly developed architecture like RISC-V. that said, I don't actually believe RISC-V is a better designed architecture than its predecessors, nor is it *supposed* to be. it's just supposed to be *an* architecture, that does all the same things as its predecessors because they work, but is open-source. in many ways, RISC-V's rising stardom can be attributed to geopolitical reasons; there's a huge push in China to pivot away from the American-owned x86_64 and British-owned ARM, to the Chinese-owned LoongArch, region-agnostic RISC-V, etc.. that said, I think that RISC-V will still be a net benefit worldwide, rather than just for China; and I think that unless you're an investor or some kind of nationalist, you really should be cheering for RISC-V too.
@OlliS71
@OlliS71 День назад
The main problem is that RISC-V is a real RISC-architecture in the sense of the early RISC-CPUs. It has a minimized instruction set and misses a lot of instructions which are naturally for nearly any current contender. F.e. a conditional move is just a extension-proposal. And there's no DWCAS-operation which is necessary for fast userspace memory-management.
@jdcasanasr
@jdcasanasr 8 дней назад
The title is utterly misleading.
@cherubin7th
@cherubin7th Месяц назад
So like Linus repeated all Unix mistakes again with Linux
@aniksamiurrahman6365
@aniksamiurrahman6365 Месяц назад
Regular stuff. The thing is - how first a platform learns from the mistake.
@vilian9185
@vilian9185 Месяц назад
where's unix?, a yes, dead
@subway394
@subway394 Месяц назад
Yes, they did. Big companies have poured billions in bringing UNIX goodies to Linux.
@vilian9185
@vilian9185 Месяц назад
@@subway394 lmao what
@NoidoDev
@NoidoDev Месяц назад
Unix is some Kernel with a certain userland, aside from the trademark. He's doing the Kernel, GNU and others the userland.
@palapapa0201
@palapapa0201 Месяц назад
I don't remember Linus being this old
@snooks5607
@snooks5607 Месяц назад
yet you've both gotten older the same amount
@a7i3n93
@a7i3n93 Месяц назад
It kinda sneaks up on you. I was 20 at the morning mirror and went about doing things and I just noticed the other day that I'm 70... Just walk around a lot, eat only what you need, and work on interesting things. It's not so bad. Oh, and never look back, only forward...
@mreese8764
@mreese8764 Месяц назад
It's the recent update.
@LTPottenger
@LTPottenger 25 дней назад
I don't remember being this old he probably doesn't either.
@deldia
@deldia Месяц назад
No examples?
@antonio_carvalho
@antonio_carvalho 18 дней назад
I agree with every mistake he mentioned.
@josemedeiros007
@josemedeiros007 Месяц назад
Cool video and interview of Linus Torvalds!
@VCOM1
@VCOM1 14 дней назад
Thank God for Linus ...I could'nt agree more ... My future is risc-V and risc-V only (or any new variants) I run KALI debian exclusivly .open source and only open source.
@9a3eedi
@9a3eedi 8 дней назад
ARM still has made big mistakes. They're still dependent on devicetrees cause there's no way for OS's to detect everything. Every OS needs to be customized for each ARM hardware platform and it's ridiculous. I hope RISCV doesnt have this problem, but I doubt it.
@romanval69
@romanval69 5 дней назад
I can't see that a problem since most devices powered by ARM are SoC's anyways. ARM is just the ISA part-- everything else is going to be different anyways.
@9a3eedi
@9a3eedi 4 дня назад
@@romanval69 but they're pushing to make laptops and pcs now. Except those are still stuck on device trees
@a6am3mn0n
@a6am3mn0n 24 дня назад
I love how linus blames everyone else for everything.
@alecsei393ify
@alecsei393ify Месяц назад
Is the complete interview available?
@HolarMusic
@HolarMusic Месяц назад
He's just speculating that they *will* make the same mistakes and bases it on nothing This is just blatant clickbait
@Nightwulf1269
@Nightwulf1269 Месяц назад
My home server is running on RISC-V hardware and yes, there are gaps but mostly with embedded chipsets having no drivers like e.g. iGPUs and "closed source" drivers not beeing rebased to current kernels. But the platform itself is rock solid. I can not complain.
@autohmae
@autohmae Месяц назад
It's normal to make mistakes, but RISC-V will hopefully make less mistakes.
@estranhokonsta
@estranhokonsta Месяц назад
He is just giving his opinion based on his experience of decades. Maybe his opinion is more credible than a fan boy with zero experience who only base his opinions on ear say and trends.
@HolarMusic
@HolarMusic Месяц назад
@@estranhokonsta decades of experience of what exactly? how is his experience related to ISA design? his guess is entirely uneducated and completely unexplained. also funny when you say stuff about fanboys when that's what you are literally being in your comment
@estranhokonsta
@estranhokonsta Месяц назад
@@HolarMusic Lol. Me a fan of him? I do not even use linux or wish to use it. The rare occasions i used it were because i needed to and certainly not because i wanted to. But besides that, it doesn't mean that i am blind to who is the expert here in this question. Him or you? Who do you think i bet my money on?
@therealmccoy7221
@therealmccoy7221 Месяц назад
Bring back PowerPC
@youfoundisaac
@youfoundisaac 12 дней назад
2:28 that statement in that accent....
@gdevelek
@gdevelek 13 дней назад
This discussion is too vague. What mistakes? With what consequences? You are a techie, so speak like a techie, not like a philosopher.
@Pythagoras1plus
@Pythagoras1plus Месяц назад
still don't get an up-to-date and *working* webbrowser on the pi4 🧐
@aw6589
@aw6589 Месяц назад
RISC-V has China government funding or infinite funding
@aeebeecee3737
@aeebeecee3737 Месяц назад
Future is unpredictable from some reason
@user-io4sr7vg1v
@user-io4sr7vg1v Месяц назад
So what?
@thanatosor
@thanatosor Месяц назад
Selling point of RiscV, is free 😂
@NoName-xp6ww
@NoName-xp6ww Месяц назад
Relevant here is that the manufacturing processes have improved. Its not like risc v will have to wait 20 years before 7nm process
@marcelo55869
@marcelo55869 Месяц назад
Isa design and processor manufacturing are rellatively independent. This even was a motivator for amd to separate it's foundries as another company years ago The techniques and tecnologies for wafer production that actually translate a chip design into reality are mostly trade secret kept at closed doors.
@TheEvertw
@TheEvertw Месяц назад
For those wanting Torvalds to simply give a list of the mistakes, you have to realize that in order to be able to list those mistakes, one has to spend CONSIDERABLE time diving deep into the RiscV architecture, while having a LOT of experience optimizing systems for other architectures and seeing them improve over the years. Torvalds is probably not the right person for that, and his answer shows me that he knows that. He is just warning the RiscV team that, watch out, the path you are treading is not new, others have been there before, and you should learn from them. Probably the best people to talk with are compiler builders, people who implement e.g. the Java virtual machine on specific platforms, people who design and study performance benchmarks, and those who optimize system performance for various computing platforms.
@MisererePart
@MisererePart Месяц назад
The advantage of Riscv mistakes is that they will be publicly known, so they can ne taught for future generations.
@johnsmith1953x
@johnsmith1953x 4 дня назад
*RISC-V may repeat the same mistakes, BUT* its attracting investor BIG BUCKS. And that's what really counts.
@jorge.r.garciadealba
@jorge.r.garciadealba Месяц назад
How do we avoid repeating mistakes made in past?
@vilian9185
@vilian9185 Месяц назад
usually learning and talking with the people that already saw these mistakes, like linus in this case
@markiel55
@markiel55 Месяц назад
Generally, I think we need to create a standard how-to which will be the "go-to" when making some things
@peterbreis5407
@peterbreis5407 13 дней назад
Specifics?
@Prescott2400-my6di
@Prescott2400-my6di 29 дней назад
It was one mistake, okay! One single mistake! You say like I will blow up all the world 😭
@HUEHUEUHEPony
@HUEHUEUHEPony Месяц назад
They will be fixed with riscVI
@aintnochange
@aintnochange Месяц назад
RiscVIM
@ruslanbukin9281
@ruslanbukin9281 Месяц назад
computers are bad idea, any attempts to make new computers is repeating the same mistake
@hongruicui2806
@hongruicui2806 Месяц назад
man, he really aged.
@Rpch26
@Rpch26 14 дней назад
Is allways the same. Change the persons, the times but at the end the human fall in the same "litle things" of is human esence. Power, money, dominance, then the technology is the victim again and again ......
@PeaceIndustrialComplex
@PeaceIndustrialComplex Месяц назад
Torvolds complaining about this but not pushing for professionals in these spaces to share and exchange knowledge to bridge these gaps. It's a hard gap to bridge but if there were spaces where these ideas and documents can be aggregated to establish mutual understanding
@juancarlospizarromendez3954
@juancarlospizarromendez3954 Месяц назад
In my honorable opinion, recent architectures as x86, arm and risc-v are the same bloatware on silicon. I don't need read books of many thousands of pages of these chips (that deviate the attention). I need simple architectures, safe architectures, minimalist requirements, books of fewer hundreds of pages, etc.
@tommymurphy459
@tommymurphy459 Месяц назад
The base RISC-V integer ISA spec may be a few hundred pages but by the time you add in the specs for the many extensions required in many use cases you're going to be heading towards a lot more than that...
@Jack41EL
@Jack41EL Месяц назад
That sounds great until you have enough silicon for vector units, and you need add a new SIMD ISA to take advantage of it. Most of the crufty old instructions just take up a minuscule amount of space in microcode ROM, and they don't "bloat" the CPU.
@alivepenmods
@alivepenmods Месяц назад
Otherwise you are saying EE is too complicated. I'm glad we have such thorough documentation
@YSKWatch
@YSKWatch Месяц назад
😂 I think you mean humble, not honorable, or do you really mean honorable?
@YSKWatch
@YSKWatch Месяц назад
on serious side: is there any simple, secure, and minumalist ISA? if not,vwhy no one make it?
@scottfranco1962
@scottfranco1962 Месяц назад
Spoken by a guy who doesn't know how to design a driver interface.
@JS-wl3gi
@JS-wl3gi Месяц назад
The whole point is to make money not a very efficient chip, just in 1 month someone will says its obsolete off of a breath of air. x-86 lives on the desktop and server. Arm for phone and tablets.
@michawhite7613
@michawhite7613 Месяц назад
More efficient chips do often make more money though
Далее
Developing the RISC-V Framework Laptop Mainboard
24:59
Просмотров 124 тыс.
The Magic of RISC-V Vector Processing
16:56
Просмотров 288 тыс.
Torvalds Speaks: Future of AI
9:36
Просмотров 57 тыс.
The PC industry is changing: RISC-V goes mainstream
15:20
Linus Torvalds: Speaks on Hype and the Future of AI
9:02
Explaining RISC-V: An x86 & ARM Alternative
14:24
Просмотров 448 тыс.
researchers find an unfixable bug in EVERY ARM cpu
9:48
Turns out REST APIs weren't the answer (and that's OK!)
10:38