Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
RISC-V Lichee Pi 4A vs. VisionFive 2 vs. HiFive Unmatched vs. Raspberry Pi 4B (rwmj.wordpress.com)
3 points by rwmj on July 25, 2023 | hide | past | favorite | 2 comments


I've also found the 1.5 GHz in-order VF2 does remarkably well vs the 1.85 GHz OoO LPi4A on software build tasks, though not as extreme as Richard shows.

I'm lazy and using the original Image-55 on my 8 GB VF2, and the Debian that came preloaded in the eMMC on the LPi4A. My mass-production LPi4A arrived yesterday, I haven't tried it yet, tests are on the beta board that arrived a couple of months ago.

On pure CPU core + L1 cache tests (e.g. https://hoult.org/primes.txt) the LPi4A is considerably faster.

The LPi4A is also much faster on memcpy tests.

https://hoult.org/TH1520_memcpy.txt

https://hoult.org/JH7110_memcpy.txt

My build test is an RVV 0.7.1-enabled snapshot of the gnu toolchain (gcc 9.2) that I use on the TH1520 and SG2042 (and various chips with C906 cores with RVV 0.7.1). Newlib, non-multilib (just rv64gcv) build. I used the same Samsung 2 TB external USB3 SSD drive for src/build trees on both boards. https://github.com/brucehoult/riscv-gnu-toolchain

VF2:

    real    107m52.116s
    user    348m49.800s
    sys     16m27.529s
LPi4A:

    real    122m16.099s
    user    400m17.737s
    sys     23m8.567s
Neither board is thermal throttling at all. I have the supplied fan sitting loosely on top of the LPi4A CPU (I also try tests without the fan ... it throttles a lot, taking 166m on this test). The VF2 is without a fan -- doesn't need it.

The LPi4A has more L1 cache, but only 1 MB of L2 vs 2 MB on the VF2. But the LPi4A's RAM is twice as fast as the VF2's L2 cache! At least for streaming -- I haven't tried random.

It's a mystery.


> The speed test for the Sipeed Lichee was done using the Fedora distribution. There seems to be something very wrong with the measured speed of this board

I ran into a similar problem with my mangopi mq pro (c906). On the latest version of ubuntu server the clock frequency was somehow ~3x slower [1]. The Lichee PiA4 is based on the C910 iirc, so maybe it's the same problem. I resolved the issue by staying on an older build for now.

[1] https://bugs.launchpad.net/ubuntu/+source/linux-allwinner/+b...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: