TinyComputers.io

Sponsors

More Articles

The SpacemiT K3 on a Custom Kernel: Sixteen Cores, and the Virtual Machines Still Get Eight

Ubuntu's mainline kernel shows eight of the SpacemiT K3's sixteen cores. A patched kernel.org 7.3 build now runs all sixteen, with twelve KVM guests still on the eight X100 cores and the eight A100 cores open to host programs that ask for them. Getting there took a firmware query, a device tree that would have renumbered my CPUs, a test that was wrong before the kernel was, and a panic in the previous kernel on its way out. The A100 cores have no hypervisor extension, so for the RISC-V rental business I have been costing, the result is one I predicted wrong in October: sixteen cores do not add a single virtual machine.

Review of "Timeless Algorithms: The Foundational Ideas" by Gary Sutton

A review of the Manning early access (MEAP v5) edition of Timeless Algorithms: The Foundational Ideas by Gary Sutton, which builds each chapter around one foundational work, from Bayes in 1763 to the 2020 scaling laws. The premise is excellent and several worked examples are first-rate, but most chapters teach the textbook method instead of the work they are named for, a number of worked examples fail in their setups, the five-layer "hidden stack" framework disappears after chapter 1, and the prose needs a hard edit.

The $1,175 Option: Two Questions One RISC-V Board Answered Differently

In September I costed a RISC-V rental business on hardware I did not own. Then I bought one board for 1,175 dollars and spent three weeks measuring it. The board turned out better than I expected and the ecosystem around it worse, which sounds like a wash until you notice those are answers to two different questions. One of them says do not buy the ten-node chassis. The other says there is a business here, and the reason it exists is the same reason the chassis is a bad idea.

The SpacemiT K3 on Mainline Ubuntu: KVM Works, and the BSDs Cannot Boot

I promised a follow-up on whether official Ubuntu turns the SpacemiT K3 into the virtualization host its spec sheet advertises. It does: modprobe kvm loads on mainline 7.3.0 and a Debian RISC-V guest runs with hardware acceleration. But mainline sees only 8 of the 16 cores, the internal UFS storage does not work at all, and a single line of firmware configuration means FreeBSD, NetBSD and OpenBSD cannot boot on this board, virtualized or not.

Topics

Reading Series

Written by Alex Jokela Software engineer by trade, tinkerer by nature, single-board computer hoarder by choice. More about me →