NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
The RISE RISC-V Runners: free, native RISC-V CI on GitHub (riseproject.dev)
woodruffw 1 days ago [-]
I’m a fan of this, although I’m concerned about the security/trust model: using a third-party CI orchestrator on top of GHA means trusting them with all of your secrets, potentially sensitive logs, etc. Those concerns are somewhat lessened in the context of public repos, but even public repos contain nontrivial workflows that use configured secrets.
hrmtst93837 9 hours ago [-]
[dead]
stabbles 1 days ago [-]
My experience with RISC-V so far is that the chips are not much faster than QEMU emulation. In other words, it's very slow.
ncruces 9 hours ago [-]
I've added it, to one of my repos, and yes, it's slower than using emulation.

Particularly for my use case, Go cross compilation, QEMU and binfmt work really well together.

Still, for some things, it's nice to test on actual hardware.

Here's a workflow so you can see both approaches working: https://github.com/ncruces/wasm2go/blob/main/.github/workflo...

LeFantome 1 days ago [-]
That has been the case so far but is changing this year.

The SpacemiT K3 is faster than QEMU. Much faster chips are expected to release over the next few months.

I mean things like the Milk-V Pioneer were already faster but expensive.

One thing that has been frustrating about RISC-V is that many companies close to releasing decent chips have been bought and then those chips never appear (Ventana, Rivos, etc). That and US sanctions (eg. Sophgo SG2380).

mshockwave 20 hours ago [-]
One thing I observed is that RVV code is usually slower in QEMU
OsrsNeedsf2P 1 days ago [-]
Oftentimes slow is fine, when the work is parallel and the hardware is cheap
LeFantome 20 hours ago [-]
RISC-V microcontrollers are inexpensive but “application” processors will be expensive until volumes increase.

Performance will get “good enough” over the next 2 years. Prices will drop after that.

LeFantome 1 hours ago [-]
I should have replied differently.

“Good enough” here was meant to mean good enough to sell more, and therefore to drop prices.

That is already happening. It just needs to happen more. And I think it will. If you don’t find the RISC-V boards of 24 months from now “good enough”, that is ok with me. I just want them to get cheaper.

The other thing that is happening on that front is that microcontrollers are getting more powerful and staying inexpensive. You can get RISC-V microcontrollers today with similar performance to the original Raspberry Pi and with things like WiFi, Bluetooth, and USB. They are crazy cheap and there are many projects for which they are now “good enough”. And, of course, they keep getting better.

detaro 20 hours ago [-]
That the "good enough" SoCs will be arriving "over the next 2 years" is what the RISC-V advocates have told us for quite a few years now.
LeFantome 10 hours ago [-]
Well, part of “good enough” is features. The RVA23 profile was ratified a few months ago and the first chips are appearing now. That brings RISC-V to feature parity with X86-64 and ARM, including things like vector instructions and virtualization. QUbuntu 26.04 is compiled to require RVA23. So, the RISC-V advocates got that part right. Of course, the other side of “good enough” is performance.

The SpacemiT K3 has the multi-core performance of a 2019 MacBook Air and higher AI performance than an M4. That is better multi-core than an RK3588. If it were less expensive, the K3 would already be good enough for many people.

Alibaba has the C930 which is faster than the K3. We will see if it gets released to the rest of us.

Tenstorrent will release a chip in a few months that is twice as fast as the K3.

The recently announced C950 is supposed to be even faster but will be a year or more.

Of course, “good enough” is subjective but my statement was based on the above.

But you are right that there have been some false starts.

The SG2380 was just as fast as K3 and was ready to go two years ago. TSMC refused to manufacture it over US sanctions.

Ventana was about to release a very fast RISC-V chip but Qualcomm bought them.

Rivos was very close to releasing a RISC-V GPU but Meta bought them.

But even without these high-end chips, RISC-V is enjoying great success. It is taking over the microcontroller space. And billions of RISC-V cores are shipping.

pelasaco 24 hours ago [-]
which, sadly, isnt the case right now
dlcarrier 23 hours ago [-]
It is the case for embedded microcontrollers. An ESP32-C series is about as cheap as you can get a WiFi controller, and it includes one or more RISC-V cores that can run custom software. The Raspberry Pi Pico and Milk-V Duo are both a few dollars and include both ARM and RISC-V view. with all but the cheapest Duo able to run Linux.
wyldfire 21 hours ago [-]
Some of that could be related to the ISA but I'm hoping that it's just the fact that the current implementations aren't mature enough.

The vast majority of the ecosystem seems to be focused on uCs until very recently. So it'll take time for the applications processors to be competitive.

LeFantome 20 hours ago [-]
The RISC-V ISA can be fast.

Tenstorrent Ascalon, expected later this year, is expected to be AMD Ryzen 5 speeds. Tenstorrent hopes to achieve Apple Silicon speeds in a few years.

The SpacemiT K3 is about half as fast as Ascalon and available in April. K3 is 3-4 times faster than the K1 (previous generation).

This should give you an idea about how fast RISC-V is improving.

adgjlsfhk1 15 hours ago [-]
I'd be pretty surprised if Ascalon actually hits Zen 5 perf (I'm gessing more like Zen2/3 for most real world workloads). CPU design is really hard, and no one makes a perfect CPU in their first real generation with customers. Tenstorrent has a good team, but even the "simple" things like compilers won't be ready to give them peak performance for a few years.
snvzz 13 hours ago [-]
>I'd be pretty surprised if Ascalon actually hits Zen 5 perf

Certainly not in the Atlantis SoC, due to the older fab node used. Zen2-3 territory IPC is the expectation, with lower clocks than these actually got.

By the time they have the necessary scale to use the best fabs, they'll be tapping out something newer than the Ascalon that went into Atlantis.

Tenstorrent expects to reach parity with the best x86 and arm chips by 2028.

pjmlp 13 hours ago [-]
Assuming AMD, Intel, ARM, Apple in a few years haven't released new CPUs, otherwise the difference is the same as today.
k_roy 22 hours ago [-]
Same experience here.

At least for SBCs, I’ve bought a few orange pi rv2s and r2s to use as builder nodes, and in some cases they are slower than the same thing running in qemu w/buildx or just qemu

snvzz 20 hours ago [-]
The arrival of the first RVA23 chips, which is expected next month, will change the status quo.

Besides RVA23 compliance, these are dramatically faster than earlier chips, enough for most people's everyday computing needs i.e. web browsing, video decoding and such. K3 got close to rpi5 per-core performance, but with more cores, better peripherals, and 32GB RAM possible, although unfortunately current RAM prices are no good.

And it'll only get better from there, as other, much faster, RVA23 chips like Tenstorrent Alastor ship later this year.

snvzz 13 hours ago [-]
s/Alastor/Atlantis/g.

Alastor is something else; a core from Tenstorrent that is considerably smaller than Ascalon.

camel-cdr 1 days ago [-]
Sadly still on quite old hardware, with no RVV. Hopefully scaleway will have some newer servers in the future and this can be simply updated to the new devices.
LeFantome 1 days ago [-]
You can get RVV instances from Saleway.
camel-cdr 1 days ago [-]
Oh, cool, I didn't see them on the website. (https://labs.scaleway.com/en/em-rv1/)
IshKebab 1 days ago [-]
Very good move. Hopefully GitHub won't ruin this with their CI charging changes.
singpolyma3 1 days ago [-]
GitHub only :(
boredatoms 1 days ago [-]
..is this RVA23?
LeFantome 1 days ago [-]
Not yet

RV64GC (C910 cores)

luckypeter 5 hours ago [-]
[dead]
peaklineops 18 hours ago [-]
[flagged]
Western0 1 days ago [-]
Perfect for snooping on other people’s projects. No one in their right mind would touch this. It’s cheaper to buy the board yourself.
jubilanti 1 days ago [-]
Yes, what a devious plan: give open source software projects a free CI service so you can... read their open source software code?
downrightmike 1 days ago [-]
diabolical
throawayonthe 1 days ago [-]
devious
sethops1 24 hours ago [-]
duplicitous
jrave 12 hours ago [-]
dastardly
mhitza 1 days ago [-]
It seems to be a Linux Foundation project, my trust is implicit higher than what you're claiming. Why wouldn't you trust them?

It's also aimed at open-source projects, for free, with the intent to improve RISC-V support.

heliumtera 19 hours ago [-]
Why would you trust anyone offering free candies?
PufPufPuf 13 hours ago [-]
Depends on the context. I'd trust the lady giving free candy samples in a candy store. The incentive is clear here, too: RISC-V needs adoption.
LeFantome 1 days ago [-]
RISE is supported by many legit companies. Stealing is for sure not the intent.

The idea is to promote testing on RISC-V and to eliminate lack of hardware for being the reason not to. Obviously, low budget projects and Open Source are the primary targets. Commercial products can afford real RISC-V hardware.

This is who you are trusting: https://riseproject.dev/members/

ctz 1 days ago [-]
people better not be snooping on my public open source projects!
1 days ago [-]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 19:45:54 GMT+0000 (Coordinated Universal Time) with Vercel.