|
|
Log in / Subscribe / Register

The future of 32-bit Linux

The future of 32-bit Linux

Posted Dec 8, 2020 4:13 UTC (Tue) by mithro (subscriber, #50469)
In reply to: The future of 32-bit Linux by ewen
Parent article: The future of 32-bit Linux

The key thing for FPGAs is that wider bit widths dramatically reduce the frequency a soft processor is able to achieve. A 64bit adder is usually more than twice as slow as a 32bit adder, routing a 64bit bus is more than twice as hard as routing a 32bit bus, etc.

This is very different to ASICs on modern process nodes where the extra cost of going to 64bit is generally dwarfed by the investment needed and general lifetime of the part.

If there is a resurgence of ASICs which want to run Linux on older process nodes (like maybe 130nm due to a new fully open source ecosystem - https://www.youtube.com/watch?v=EczW2IWdnOM - and a free shuttle program - https://efabless.com/open_shuttle_program ;-) then the trend might change. When your cache sizes are small due to silicon limitations, those 64bit wide values start to seem more problematic.


to post comments

The future of 32-bit Linux

Posted Dec 8, 2020 8:52 UTC (Tue) by arnd (subscriber, #8866) [Link] (1 responses)

Right, when dealing with a small RV32I core comparable to a 1990s ARM7 or i386, going to 64 bits is out of the question. Once you get to bigger FPGAs and add in M, A, F, D, C and V extensions, as well go to larger caches, TLBs, and pipelines, the core is more like a Cortex-A7 or an early Intel Atom, so going to 64 bit is only a small step.

For the smallest cores, you'd also leave out the MMU and run some other OS that correspond to a modern take on µCLinux-2.0, but the interesting spot to watch is everything in between -- how big does an FPGA core have to be to make Linux-5.x the OS of choice without getting so big that you want to go straight to 64-bit Linux, and how long does it take before that niche disappears.

The future of 32-bit Linux

Posted Dec 8, 2020 17:54 UTC (Tue) by mithro (subscriber, #50469) [Link]

Due to plentify block ram in most modern FPGAs, an MMU implementation on an FPGA can actually be pretty cheap.

At the moment a <$100 USD FPGA dev board with <1 gigabytes RAM can be purchased that a 32bit Linux + MMU is *significantly* smaller and faster than 64bit. Due to the newer FPGAs mostly been focused on the datacenter use case and thus in the >$500 USD per FPGA IC, I don't see this changing for at least another 5ish years.

The future of 32-bit Linux

Posted Dec 8, 2020 19:44 UTC (Tue) by geert (subscriber, #98403) [Link]

Can't you mitigate this partly by adding one or two pipeline stages, to split 64-bit additions and address calculations in two 32-bit operations?


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds