2

What Eben Upton said about RISC-V

 1 year ago
source link: https://www.jeffgeerling.com/blog/2023/what-eben-upton-said-about-risc-v
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

What Eben Upton said about RISC-V

May 18, 2023

Earlier this month, I was able to discuss with Eben Upton (co-founder of Raspberry Pi) the role RISC-V could play in Raspberry Pi's future (among other things—watch the full interview here).

Eben Upton with Jeff Geerling

To sum it up: Raspberry Pi is currently a 'Strategic Member' of RISC-V International, and they are working on multiple custom silicon designs—we've already seen their RP3A0 SiP chip and the RP2040, and they surely have more in the pipeline. Eben said currently there are no plans to move the Raspberry Pi SBC to RISC-V due to the lack of high-performance 'A-class' cores, but "never say never" when it comes to RISC-V architecture finding its way into a future Pi microcontroller.

Eben Upton Raspberry Pi interview with Jeff Geerling

I tend to get flamed a little bit for saying this, but people will say, "Ah, but on GitHub, you can find this excellent core that is much more performant than anything I make."

But there really is a shortage of good, licensable high-performance [RISC-V] cores.

Indeed, any of the current crop of RISC-V SBCs perform about as well as the previous-generation Pi 3 model B. There are some higher-end designs, and companies like SiFive are building exciting hardware.

But as I mentioned in my review of the StarFive VisionFive 2 SBC, the board's performance is generally worse than a Pi 3 B+, and even IO performance is slower; the PCIe Gen 2 bus ran slower than the comparable bus on a Compute Module 4 (250 MB/sec compared to 410 MB/sec).

Eben Upton and Jeff Geerling at Raspberry Pi headquarters

Even the Arm world is pretty immature compared to the Intel world. The RISC-V world is immature compared to the Arm world. That can be overcome—and Arm overcame it, not completely, but to a sufficient degree. I'm sure RISC-V can do that, but it's going to take years.

There's a still a lack of maturity in the software stacks—in particular, bits of the Linux userland are not well optimized at the moment for RISC-V architectures.

In my testing of the VisionFive 2, I did experience the growing pains trying to compile and run software within Linux. It's not a horrible experience (and certainly better today than a year ago!), but it did feel a lot like 'using Arm in 2013'; lots of software just won't compile yet, or needs a lot of hand-holding to run. And standardization is... not yet there.

Eben did mention a bright spot: 'M-class' cores for microcontrollers in particular:

I do think there are opportunities for people to go build RISC-V microcontrollers. Would we do it, I don't know. I mean, the Arm value proposition is really strong, right? It's a really strong community. And it's not expensive to play.

Never say never. I think 'microcontroller' is more plausible than 'A-class'. A-class may become plausible in a few years, but M-class is definitely feasible and I definitely wouldn't commit to not do it.

Ian Cutress - TechTechPotato with Jeff Geerling in London, UK

This jives with my conversation with Ian Cutress (of TechTechPotato and More than Moore fame):

[Ian] One of the things RISC-V has right now issues with is standardization. The whole point about RISC-V is that it's this open source ecosystem where anybody can add anything. Now, if anybody can add anything, it means everybody doesn't support everybody else. So there has to be that next level of standardization.

Arm already has that. Arm also has [SystemReady Certifications]. You know, server CPUs have to be [SystemReady SR] in order to support all sorts of Linux and different sorts of things. RISC-V is getting there, just not yet.

So I wouldn't say Raspberry Pi would pivot to RISC-V. If they were to go down that route, it would be the add-on.

And I also asked Ian if he thinks RISC-V will prove an existential threat to Arm in the next decade.

[Ian] RISC-V has a lot of potential, but it really does require the standards bodies getting on top of what the larger ecosystem wants. And if what the larger ecosystem wants right now is embedded IoT-type cores and designs, that's what they'll focus on until somebody starts saying, "Can we have a processor for a small board computer," or [asks] for something a bit more desktop-y, or something a bit more enterprise-y.

These opinions align with the sentiment I see repeated time and again; architecture is great. Clean-sheet designs are great. But as this great Chips and Cheese article points out: Implementation matters, not ISA.

Put another way, the entire ecosystem matters more than just chip architecture. Arm is not inherently better or more power efficient than X86 (though that is sometimes the case in individual chip designs). RISC-V is not inherently better, simpler, or easier to adopt than Arm, despite coming on the scene more recently.

These opinions all coming from those in the West, however, may discount some other geopolitical reasons for choosing RISC-V designs. That's a topic left untouched in my UK conversations.

You can watch my entire interview with Eben Upton on YouTube:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK