TinyComputers.io

Sponsors

More Articles

Why FP16 Is Slow on a Tesla P40, and Why FP32 Was Slow Too

In February I wrote that FP32 beat FP16 on the Tesla P40 and blamed "slower pathways." A reader's email sent me back to measure the actual cause. FP16 matrix math on a P40 is fine; one attention kernel is not. Stock FP32 was running its linear layers at half speed because of how the bias add is fused, and fixing it makes four P40s 2.3 times faster. Tuning the Strix Halo from February's comparison the same way makes it 3.2 times faster than the P40s.

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.

Topics

Reading Series

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