Maximum PC

SPEED AND BENCHMARKS

-

We can’t emphasize enough that benchmarks are largely irrelevant at this point, as RISC-V implementa­tions are going to be targeting embedded, low-power, controller and enthusiast boards. No one is going to be releasing a consumerle­vel laptop or desktop at this early stage. There is a question, though, of how efficient the ISA is versus other commercial implementa­tions.

A thorough micro-op analysis of, say, x86-64 versus RISC-V compiled binaries is the sort of thing good PhD theses are made from. In fact, that was exactly what was done back in 2016; you can see an outline of the report on YouTube ( www.youtube.com/ watch?v=Ii_pEXKKYUg), which shows RISC-V binaries are competitiv­e in micro-op density, and can outperform x86 and ARMv8 code, with a number of potential compiler optimizati­ons being highlighte­d from the study.

For a more layman’s level look, we’ll take the ancient integer-based Dhrystone benchmark. It may be getting on a bit, but it’s been tweaked to mitigate against hardware and compiler cheats, while it’s suitable to use as a rough guide for performanc­e across differing hardware architectu­res.

The standard measure is millions of Dhrystones per MHz, aka DMIPS/MHz. It roughly scores how much work a single core can do per MHz clock. It obviously doesn’t count accelerate­d vector or SIMD instructio­ns; think of it as a standard program benchmark. We’ve listed a range of processors—the one we find of interest is the Atom N455, as this is a modern in-order x86 architectu­re. It clearly has work to do to catch up ARM; Cortex A53 is an eight-stage, dual-issue in-order architectu­re and, running on the Raspberry Pi 3, is significan­tly faster.

Newspapers in English

Newspapers from United States