RISC-V HiFive Premier P550 Development Boards with Ubuntu Now Available
sifive.com
sifive.com
Note the benchmark is not very rigorous, but it reflects what we want to do with these boards which is to build Fedora packages.
This P550 seems like the first "fast" RISC-V CPU actually available.
But most packages don't have as solid (or any) cross-build infrastructure as those projects.
I did some benchmarks on RISC-V Linux kernel builds (commit 7503345ac5f5, defconfig) this week. Native on SBCs, cross-build on a couple of x86, docker (qemu-user) on x86.
- 1m45s i9-13900HX cross-compile
- 4m29s Milk-V Pioneer (youtube video from 9 months ago .. close enough)
- 10m10s Ryzen 5 4500U (6 cores, Zen2) laptop cross-compile
- 22m48s RISC-V docker on 24 core i9-13900HX laptop
- 67m35s VisionFive 2 (4x U74)
- 88m4s Lichee Pi 4A (4x C910)
I need a figure for SpacemiT in BPI-F3 / Jupiter / LPi3A / DC-Roma II / MuseBook. I think it'll be more or less the same as the VF2.
My guess is the Milk-V Megrez (EIC7700X @1.8 GHz) might come in around 25 minutes, and this HiFive Premier (same Soc @1.4 GHz) 30 minutes.
So the P550 machines will probably be a little slower than qemu on the i9. Not a lot. But even the VF2 and LPi4A are going to be much faster than qemu on that 6 core Zen2 -- I haven't measured it, but I'm guessing around 130m.
So if you already have that high core count x86, maybe you don't need a P550 machine.
On the other hand it's good to verify on real hardware.
On the gripping hand, with a 16 GB Megrez costing $199 and my i9 costing $1600, if you want a build farm with 5 or 10 or 100 machines then the P550 is looking pretty good.
VF2 (or Mars) is still looking pretty good for price/performance. The problem there is that being limited to 8 GB RAM isn't good. That's not enough for example to do riscv-gnu-toolchain without swapping. That build is fine on my 16 GB LPi4A, but not my VF2.
16 GB or 32 GB on the P550 boards is much more robust.
- 70m57s Lichee Pi 3A (8x SpacemiT x60 @1.6 GHz)
5% slower than the VisionFive 2, despite the extra cores.
Apparently the small level 2 caches on the X60 are crippling.
The P550 actually feels "snappy".
That's a lot for the same SoC.
And, yes, ridiculously small caches on the BPI-F3 at 0.5 MB for each 4 core cluster, vs 2 MB on the VisionFive 2 and 4 MB on the P550.
The Pioneer still wins for cache and I think real-world speed though, with 4 MB L3 cache per 4 core cluster, but also access to the other 60 MB of L3 cache from the other clusters on the (near) single-threaded parts of your builds (autoconf, linking, that last stubborn .cpp, ...)
I just checked the Linux kernel tree I was testing with. It's 7.2 GB, but 5.6 GB of that is `.git`, which isn't used by the build. So only 1.6 GB of actual source. And much of that isn't used by any given build. Not least the 150 MB of `arch` that isn't in `arch/riscv` (which is 27 MB). Over 1 GB is in `drivers`.
riscv-gnu-toolchain has 2.1 GB that isn't in `.git`. Binutils is 488 MB, gcc 1096 MB.
This is all small enough that on an 8 GB or 16 GB board there is going to be essentially zero disk traffic. Even if the disk cache doesn't start off hot, reading less than 2 GB of stuff into disk cache over the course of a 1 hour build? It's like 0.5 MB/s, about 1% of what even an SD card will do.
It just simply doesn't matter.
Edit: checking SD card speed on Linux kernel build directory on VisionFive 2 with totally cold disk cache just after a reboot.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Dec 10 07:39:01 2024 from 192.168.1.85
user@starfive:~$ time tar cf - linux/* | cat >/dev/null
real 2m37.013s
user 0m2.812s
sys 0m27.398s
user@starfive:~$ du -hs linux
7.3G linux
user@starfive:~$ du -hs linux/.git
5.6G linux/.git
user@starfive:~$ time tar cf - linux/* | cat >/dev/null
real 0m7.104s
user 0m1.120s
sys 0m8.939s
Yeah, so 2m37s seconds to cache everything. vs 67m35s for a kernel build. Maximum possible difference between hot and cold disk cache 3.9% of the build time. PROVIDED only that there is enough RAM that once something has been read it won't be evicted to make room for something else. But in reality it will be much less that that, and possibly unmeasurable. I think most likely what will actually show up is the 30s of CPU time.I'm having trouble seeing how NVMe vs SATA can make any difference, when SD card is already 25x faster than needed.
I'm not familiar with the grub build at all. Is it really big?
omg. I didn't notice that before.
The two tests were run on DIFFERENT MACHINES by different people.
NVMe result is 28.9% faster than SATA result.
1.8 GHz EIC7700X (e.g. Milk-V Megrez) is 28.6% faster than 1.4 GHz EIC7700X (HiFive Premier)
Mystery explained?
Try on an SD card ... I bet you don't see a significant difference.
Doing "native" build in an emulator works for just about everything, but with a 10x - 15x slowdown compared to native or cross-build.
While price/performance of RISC-V is currently significantly worse than x86, it's not 10x worse.
A $2500 Milk-V Pioneer (64 cores, 128 GB RAM) builds a RISC-V Linux kernel five times faster than a $1500 x86 laptop (24 cores) using RISC-V docker/qemu.
A $75 VisionFive 2 or BPI-F3 takes 3 times longer than the x86 with qemu but costs 20 times less.
If you're only building one thing at a time and already have the fast x86 ... then, sure, use that. But if you want a build farm then RISC-V native on either the Pioneer or the VF2 is already much better.
These P550 machines are an incremental improvement again, in price/performance.
For more numbers see:
For quite some time to come, the main user of the Fedora riscv64 port will be the Fedora riscv64 builders. With cross-compilation, we wouldn't even have that limited use of the binaries produced.
In any case, I actually want to use RISC-V machines for my development environment.
But I have some questions:
Why the weird form factor? Mini-DTX is supported by a lot of cases but as a motherboard form factor it's incredibly niche compared to Mini-ITX and especially Micro-ATX.
Edit: DTX supposed to be an open standard but it's already a "dead" platform https://en.wikipedia.org/wiki/DTX_(form_factor)
Why the eMMC? There is an M.2 E key but that's for wireless connection only. Is it a platform limitation that M.2 SSDs can't be used?
Presumably very limited pcie bandwidth. You should think of this more like a raspberry pi than a pc motherboard.
E key slots typically provide 1 lane of pcie 2.0 (even on systems with 3.0 available), while m.2 is 4 lanes and frequently faster pcie 3.0
Appears to be a SoC limitation, which only has a single 4x PCIe 3.0 interface, and doesn't appear to support bifurcation (splitting into two 2x slots, or four 4x slots). You could probably throw a PCIe switch on it, but PCIe switches are expensive.
The SoC wasn't designed for this product, it was designed by 3rd party company for computer vision/robotics/manufacturing use cases.
EDIT: Originally said USB3, but it's actually USB 2.0.
For the price tag I think it should be more like a motherboard. Especially when Raspberry Pi 5 has official m.2 hats.
Thanks that makes perfectly sense! I kind of want to buy one now (too bad single 32GB boards can't be bought, minimum order is 256)
Buttons on the bottom for power/reset, 2 different JTAG ports, DIP switches for settings, and remote board management aren't things that are normally found on consumer boards. Mini DTX probably allows them to have a marginally smaller width compared to Micro-ATX while still allowing space for all of that debug functionality with a 2 slot graphics card installed. eMMC is also kind of important for a SOM as well.
? Also, both now listed as No Stock Available
16 GB (which is enough for a quad core, IMO) is $399 with "375 in stock, ships tomorrow"
https://www.arrow.com/en/products/hf106/sifive-inc
I ordered a Milk-V Megrez (same SoC but 1.8 GHz vs 1.4 GHz here) for $100 less a week ago. The price difference was much bigger then!
Is this in par with or faster than comparable ARM, ADM or Intel processors at the same price level?
Or more performance per watt?
Or an instructino set that makes a lot of operation super fast?
What is the upside?
> Is this in par with or faster than comparable ARM, ADM or Intel processors at the same price level?
rwjm's package build benchmark shows it as 25% faster than a comparable µarch Raspberry Pi 4.
It's been some time since Intel or AMD had similar products: I guess something around Pentium III, Pentium M, or early Core 2.
Prices are a function of production volume (and features / quality, but mostly volume).
The Pi 4 is if course a mass-market product and is cheaper. Arm's own "Juno" A72 dev board is $10,000, which is 20x more than this SiFive board.
https://www.elementsearch.com/arm-v2m-juno-0317d-evaluation-...
> What is the upside?
It (and Sipeed, Pine64, Milk-V boards with the same SoC) is the fastest RISC-V hardware, per core, currently available.
The $2500 Milk-V Pioneer is overall faster due to having 64 cores (and 128 GB RAM, 32 PCIe lanes), but is slightly slower per core.
You buy these early dev boards because you want or need RISC-V for some reason, not because you want the cheapest fastest hardware of any kind.
We are still years away from boards where they are interesting to people who are only interested in laptop or higher performance classes.
The key part is 'dev' - it's for people doing development on the platform.
Note that it's only on one 1.6GHz core, and still pretty anemic otherwise (pi form factor, it's to be expected.) So something "deskop grade" with all the nice extensions and other goodies is probably still a ways off. Maybe next year; we'll have to see -- but lots of useful extensions continue to be ratified today, so it may still be a while before things "cool off."
Arm A53 (Pi 3, October 2012 - February 2016), A72 (Pi 4, Feb 2015 - June 2019), and A76 (Pi 5, May 2018 - September 2023, or January 2022 for Radxa Rock 5B) all took longer.
P670 was only announced in November 2022. If a board ships by the end of 2025 it will be doing very well.
Traditionally in x86 Intel and AMD do all the first three steps in one company, with the stages overlapped, and feedback.
Also, Intel and AMD (and even more so Apple) don't announce a new chip until it is very close to shipping. They might have been working on it internally for five years before that.
Arm and RISC-V companies have to make public announcements when a core is nearing design completion, to give a chance for companies such as Allwinner and Rockchip and Broadcom and Mediatek and Sophgo and Starfive to take a look at the specs and decide that it might be interesting to build a chip using that core.
> I know the round trip time from the foundries is ~3 months.
That's only if the chip works first time. Many don't and need several re-spins. I believe 3 or 4 is not uncommon. And variable amounts of re-design and re-layout and re-verify time between each of those ~3 months at the foundry.
Given that, it would be a brave company that went straight to mass-production without a round of test chips first, so you've got 2x ~3 months, plus "bring up" time in between, even in the best case.
I is the base integer instructions
M is integer multiplication
A is atomic
F is single precision float
D is double precision
G is shorthand for all of the above + 2 others that I honestly have no idea what they do
The original RV32I and RV64I required some control registers for high frequency counters and instruction counters. You also needed the instructions to access these registers. This proved to be too complex for the simplest implementations, so recently (five years ago?) this functionality has been moved to their own extensions.
Including these extensions in G makes the current G have the same functionality as the original G.
i.e. features have not been removed after ratification.
CSR (i.e. status) register and instruction fence extensions. Instruction fences are most useful in cases where you modify text section during runtime (e.g. JIT or code hot reload) such that you need to ensure the consistency of code across different harts
Does anyone know if there's a den board / soc that does the V set yet?
https://www.microchip.com/en-us/products/microprocessors/64-...
This is similar to the High Performance Space Computer which will be coming out in Rad Hardened & Rad Tolerant versions, I think these devboards will be 40k-60k
https://www.microchip.com/en-us/products/microprocessors/64-...
There is also a lower end 4 core unit too, list price for the devkit is $150, currently shipping.
https://www.microchip.com/en-us/products/microprocessors/64-...
Your first link though, based on PIC64HX, seems to be what I'm waiting for. I'll keep an eye on it. Thanks!
That's an insane price for something which will perform similarly to the BPI-F3. It has double the DLEN, but it also only runs at 1GHz, while the BPI-F3 is available at 1.6GHz and 1.8GHz for way cheaper.
> There is also a lower end 4 core unit too, list price for the devkit is $150, currently shipping.
This is an entirely different processor, the now very old SiFive U54 at 0.6GHz.
If I am paying for this with Ubuntu pre-installed, the very least is to fully support the hardware they are trying to sell.
1. Ubuntu invested very heavily into making Linux friendly to a whole generation of makers when nobody else was. Ubuntu is most familiar to them. Canonical will benefit from that investment for the foreseeable future.
2. Ubuntu benefits from Debian's debootstrap which makes porting to a new architecture substantially easier.
https://wiki.debian.org/SystemBuildTools https://wiki.debian.org/PortsDocs/New https://wiki.debian.org/RISC-V
The reason why Ubuntu is probably that they are a commercial vendor so you can make contracts with them, while the likes of Debian just work on what they care about when they have time.
Edit: This one I think: https://archive.fosdem.org/2018/schedule/event/riscv/ but I can only see them running Quake, not Firefox.
https://buildd.debian.org/status/package.php?p=firefox%2desr https://buildd.debian.org/status/package.php?p=chromium
https://github.com/sifive/hifive-premier-p550-ubuntu/blob/ma...
They weren't loading at all earlier, though, so saying that I can't get one but showing me the price I can't get it at is some kind of improvement, I guess.
> The Grinch struck a little early this year. While the 16GB HIFive Premier P550 boards are in stock at Arrow.com and available now we were so excited to tell you the news we pushed the send button too soon. If you tried to order a 32GB board after yesterday's announcement our distributor is not quite ready. Our sincerest apologies to any of you who experienced difficulties and for multiple emails. We expect this problem to be solved in the next few days and we will send an update as soon as the 32GB boards are available. Thank you for your patience.
16 GB (which is enough for a quad core, IMO) is $399 with "375 in stock, ships tomorrow"
https://www.arrow.com/en/products/hf106/sifive-inc
I ordered a Milk-V Megrez (same ship but 1.8 GHz vs 1.4 GHz here) for $100 less a week ago. The price difference was much bigger then!
Unless they sold all 375 from yesterday and have restocked since your message. Which strikes me as unlikely.
Who is their target audience? definitely not me
It is what they taught me to do at school. So I do it still
Use proper title case in titles.