4 ms·
Is it more that current RISC-V implementations are slow than the ISA being inherently slow?
by jl6 2y ago
Is it more that current RISC-V implementations are slow than the ISA being inherently slow?
- voxadam 2y agoThe article addresses this question: "RISC-V implementations in the wild lack advanced features that modern CPUs rely on for speed, including sophisticated pipelining mechanisms, out-of-order execution capabilities, advanced branch prediction, and multi-tiered cache hierarchies. Most commercial RISC-V chips remain in-order processors, meaning they execute instructions sequentially rather than optimizing their order for performance. This architectural simplicity creates a fundamental performance ceiling that's difficult to overcome without significant architectural changes."
- rwmj 2y agoThis ignores two major server vendors, Rivos & Ventana (three if you include Qualcomm) who do have all those features.
- bhouston 2y agoI am excited to see innovation come in this area. I wasn't saying that there won't be improvements or more innovation, just that the currently released chips are not performant.
- Rochus 2y agoAre they included in https://browser.geekbench.com/search?q=RISC-V https://browser.geekbench.com/search?q=RISC-V? I dind't get any hits when searching e.g. for Rivos.
- arp242 2y agoAs I understand it, Rivos hasn't actually shipped anything; from https://www.rivosinc.com/technology https://www.rivosinc.com/technology: "Rivos has not yet revealed details of its products or technology publicly." Great that they're working on that, but when discussing the _current_ state of the RISC-V ecosystem, I think they can be safely ignored until such a time that they actually start shipping stuff. It seems Ventana has shipped the Veyron V1, but I'm having a hard time finding concrete information on that in a quick search (other than from Ventana themselves), so not entirely sure what the status of that is? Their V2 chip is planned for 2025.
- jauntywundrkind 2y agoBut these aren't Instruction Set Architecture (IS details. As mentioned in article, Berkeley's SonicBOOM is out of order. And you could certainly enhance the memory architecture with multi-level caches easily; the ISA is blind to this (consider how little x86 ISA has improved to tackle ever improving cache/memory strategies since i386). RISC-V is also extensible. So you can keep improving things! The incredibly awesome efficiency-foxused PULP group is working on a massive many-core research chip Occamy. It has huge vector processing units, many many many of them. Ok, so, promising. https://pulp-platform.org/occamy/ https://pulp-platform.org/occamy/ And they have their own extension, Semantic Streaming Registers, which add a very CISC-y set of instructions that combine real work and load/store (and incrementing the data pointer for the next loop), allowing DSP like performance in loops. Super super slick extension to massively increase the throughput, improve the ISA & reduce it's footprint in loops. https://arxiv.org/abs/1911.08356 https://arxiv.org/abs/1911.08356
- bee_rider 2y agoThat’s an odd match to the title. Who is thinking about RISC-V in 2024 without knowing that those features are typically missing? It is early days.
- pengaru 2y ago> Is it more that current RISC-V implementations are slow than the ISA being inherently slow? Obviously I'll defer to Jim Keller (dec alpha, amd zen, now tenstorrent..) https://www.youtube.com/watch?v=yTMRGERZrQE https://www.youtube.com/watch?v=yTMRGERZrQE
- CoastalCoder 2y agoI agree with your point. Some ISAs are more, or less, amenable to implementations that are fast for modern workloads. E.g., a really bad ISA could make SIMD ops, floating point math, prompt interrupt handling, 64-bit addressing, etc. really hard to make into a fast implementation. So based on the novelty of RISC-V, that's a plausible interpretation of the title.
- phkahler 2y agoOne of the things making x86 hard to implement is the flags register. Flags are set as a side effect of many instructions. I'd be really interested to see how Intel or AMD handle the flags in a modern processor. RISC-V gets rid of ISA defined flags entirely, so that problem goes away. In some cases the lack of flags can lead to slower software, but 99.9 percent won't miss them.
- goodpoint 2y agoPhrasing it as "RISC-V is slow" really reads like clickbait. It seems to imply that the ISA is inherently inefficient, while it's actually really good. Various low power rv64 CPUs are actually outperforming x86 when you compare them in terms of die area and energy usage.