Why Linus Torvalds prefers x86 to ARM

Pro
Linus Torvalds (Image: Torvalds)

10 October 2016

Linux pioneer Linus Torvalds is a straight-up — he says what he thinks. There is no sugar-coating, and he will admit to faults, like recent issues with the Linux 4.8 kernel.

He was full of surprises at the Linaro Connect conference, when he was asked about his favourite chip architecture. He did not blink before saying it was x86, not ARM.

It may have been the long history of x86 with PCs that influenced his answer. There is little fragmentation of software and hardware with x86, and things just work.

Fixation
People are too fixated with the instruction set and the CPU core, Torvalds said, but it ultimately is the ecosystem around the architecture that matters more.

“What matters is all the infrastructure around the instruction set, and x86 has all that infrastructure… at a lot of different levels,” Torvalds said. “It’s opening a way that no other architecture is.”

A lot of application development happens on PCs with x86 chips from Intel or AMD. Compatibility matters for x86 chips and PCs, which have a unified model around hardware, development, and other infrastructure.

The same cannot be said about ARM. From hardware vendor perspective, that leads to a fragmented market, Torvalds said.

“Being compatible just wasn’t as big of a deal for the ARM ecosystem as it has been traditionally for the x86 ecosystem,” Torvalds said during a fireside chat with ARM developers listening on.

Mobile domination
ARM dominates the mobile-device market, and a majority of devices use Android, which is based on the Linux kernel. But there are a lot of fragmentation in the ARM ecosystem, and that has caused support and device issues.

There is one problem: it is not possible to make one build of Android that can be deployed across all mobile devices because of different hardware configurations. Hardware makers tune Android to be compatible with chipsets in their devices. One Android update can’t be delivered to all mobile devices, unlike Windows updates to PCs.

Intel tried to put its x86 chips in smartphones but has now stopped the effort. One of Intel’s goals was to deliver Android updates that could be downloaded and installed on all x86 handsets.

There are also ARM server software development issues. Architectural, networking, and I/O characteristics are different on each chipset, and software has to be written to exploit those features. That has significantly slowed down the adoption of ARM in servers. There is not a matching problem with x86, which continues to dominate the server market.

Disappointment
“I’ve been personally pretty disappointed with ARM as a hardware platform, not as an instruction set, though I’ve had my issues there, too,” Torvalds said. “As a hardware platform, it is still not very pleasant to deal with.”

When he was growing up, Torvalds programmed on an 8-bit 6502 microprocessor in machine code and loved the architecture because the instructions were pipelined, something no other hardware did at the time. That architecture delivered more on-chip performance.

“What I wanted to upgrade to was Acorn Archimedes… the thing that gave ARM its name,” Torvalds said. “That was my dream machine for a while.”

The Archimedes was a personal computer based on the first ARM RISC chips from Acorn Computer Group. ARM was formed as an offshoot of Acorn.

Torvalds liked the Archimedes because it had the 6502-like feature of pipelining with RAM chips to get high-performance. Unfortunately, he could not find the computer.

He went with an “odd British computer,” Sinclair QL, which was an even bigger failure than Acorn Archimedes, Torvalds said.

“Finland wasn’t the centre of the universe back then,” Torvalds said. “After that, I learned my lesson — never ever go buy into something that doesn’t have infrastructure.”

 

 

IDG News Service

Read More:


Back to Top ↑

TechCentral.ie