back to article Linux letting go: 32-bit builds on the way out

Major Linux distributions are in agreement: it's time to stop developing new versions for 32-bit processors. Simply: it's a waste of time, both to create the 32-bit port, and to keep 32-bit hardware around to test it on. At the end of June, Ubuntu developer Dimitri Ledkov chipped into the debate with this mailing list post, …

Page:

  1. bombastic bob Silver badge

    what about RPi?

    someone out there is cluelessly forgetting EMBEDDED SYSTEMS, and the Raspberry Pi, when they so ARROGANTLY PROCLAIM that everything MUST be 64-bit now... like 32-bit is now STONE AGE or whatever.

    they're starting to sound a bit like Micro-shaft... [best sung like it's from musical theater or something]

    1. Jordan Davenport

      Re: what about RPi?

      They're talking about dropping 32-bit x86; the Raspberry Pi is ARM and as such will not be affected by this decision.

      1. Anonymous Coward
        Anonymous Coward

        Re: what about RPi?

        When AArch64 takes over ARM, then we'll be having a similar discussion regarding 32-bit ARM builds too. Probably similar for armel vs armhf.

        1. Chris Evans

          Re: what about RPi?

          "When AArch64 takes over ARM, then we'll be having a similar discussion " I expect there to be billions of 32bit ARM systems being produced for many years to come, the IoT isn't going to go significantly 64bit for many years if ever. There are still many 8bit systems being produced!

          1. Anonymous Coward
            Anonymous Coward

            Re: what about RPi?

            I expect there to be billions of 32bit ARM systems being produced for many years to come, the IoT isn't going to go significantly 64bit for many years if ever. There are still many 8bit systems being produced!

            Yep, I realise this… I write code for some of them, mainly AVR. It'll probably be decades before the Linux-based stuff is all 64-bit ARM, as it's presently the new-kid-on-the-block. Embedded is a very conservative market and rarely does 64-bit address space make sense.

            It will happen some day though, yes, 8-bit is still around, but your home router is likely going to be a 32-bit machine now, and some day, they may go 64-bit there when the chips are considered "worthwhile".

      2. J.G.Harston Silver badge

        Re: what about RPi?

        Exactly my initial thought. Headline is "dropping 32-bit" not "dropping 32-bit i86". Sloppy writing.

        1. Brewster's Angle Grinder Silver badge

          Re: what about RPi?

          I know, I know. In these busy days we can't be expected to read an article; all the salient information must be there in the headline.

          1. Nick Ryan Silver badge

            Re: what about RPi?

            It is technically not incorrect, just not specific enough (particularly for the likes of the average El Reg reader who are used to computers doing exactly what they are told to do, even if it wasn't what was intended). However it is the duty of the headline writer to make it relevant as well as interest catching and in this it worked as it not only caught your eye but you even took the time to comment.

        2. bombastic bob Silver badge

          Re: what about RPi?

          well that's the point, the IMPLICATION of 'x86' is why I ask the question, "what about RPi"? But if all they meant is x86, then there may be some point to that, except for us legacy computer users who might have an old Toshiba laptop laying about that still works, doesn't support PAE, but has plenty of RAM and disk space to run Linux (and works well for testing certain things, particularly bluetooth connectivity and microcontroller-related serial port stuff). Oh, wait, I _do_ have one of those!

          They're also forgetting it's possible to load a 32-bit build onto a 64-bit CPU... (so testing on newer hardware is STILL possible).

          In any case, there's also another bit of 'forgetting' going on here: we forget that 64-bit binaries run SLIGHTLY SLOWER than 32-bit binaries, because the data and instructions are (by default) BIGGER than they would be for 32-bit, so you suck more RAM through the pipeline. The binary files are also slightly larger, and memory requirement is slightly higher.

          Further, how many programs _NEED_ >2Gb of RAM space in order to operate? Not a lot, yeah, unless they're coded by _IDIOTS_ that waste resources, assuming "no limits", and/or rely on 'garbage collection' to compensate for a lack of knowledge of 'malloc' and 'free' (Mozilla, that's YOU).

          In any case, the RPi and other 'embedded' platforms (x86 included) are reasons NOT to dump 32-bit in general. But, we've seen bad decisions before. I suppose a FORK will happen, just like for systemd, just like for Gnome 2 (now MATE), just like for Open Office and 'MySQL' (when they were sold, so "something" would STAY OPEN).

          /me points out that "faster hardware and more RAM" is *NOT* justification to use inefficient code, because you CAN now - Micro-shaft does EXACTLY that, and we hate it, don't we? Rather, it should be reason to produce MORE inexpensive hardware (with yester-year's specs) that can be used for mundane purposes, like embedded systems basically are.

          1. Anonymous Coward
            Anonymous Coward

            64 bit x86 is not slower

            Because 32 bit x86 is so register starved, 64 bit x86 is faster in most cases. 32 bit ARM isn't register starved, but 64 bit AArch cleaned up the API and added some new stuff like CMOV instructions so it too may be faster in the majority of cases.

            When Apple shipped the first 64 bit ARM SoC three years ago, the results of benchmarks run on it (as well as Apple's internal results) show it is faster running 64 bit code because of those API changes. Had it been slower, there probably would have been less of a rush for everyone else to catch up, since 64 bits is otherwise useless until you go beyond 4GB RAM in the device - something which is only now happening with a couple Android phones shipping with 6 GB.

            If you have code that is very pointer heavy then doubling the size of the pointers shrinks the effective size of the cache and can make it run slower, but this is a pretty small effect in the single digits. If you have code for which this is a problem you can continue running the 32 bit version even on a 64 bit OS, at least until 32 bit support is ripped out of the CPU entirely (Apple will probably do that with the next major redesign of their 64 bit core, but I doubt anyone else will for a long time)

            1. asdf

              Re: 64 bit x86 is not slower

              >64 bit x86 is not slower

              No but it also won't run as many apps comfortably in a 512 meg (or less) memory VM either.

      3. Alan Brown Silver badge

        Re: what about RPi?

        "They're talking about dropping 32-bit x86;"

        I guess that means I need to update my 4MB 386sx16 laptop then.

        1. PaulFrederick

          Re: what about RPi?

          Linux dropped i386 support in 2012. By Linux I mean the mainstream kernel too.

          1. Bronek Kozicki

            Re: what about RPi?

            @PaulFrederic yes, Linux kernel ripped support for 30 years old CPU, but it still supports and will support 32bit instruction set/mode of intel processors for a long time.

    2. Anonymous Coward
      Anonymous Coward

      Re: what about RPi?

      Companies like Red Hat dropping 32 bit support isn't going to make your Raspberry Pi stop working. It will only make it impossible for you to run purchase paid support from Red Hat for it. Someone will probably still compile 32 bit versions of it, just like CentOS recompiles Red Hat. Someone else will probably backport security fixes to the last supported 32 bit version so you can continue to using that.

      By the time those sources dry up, you won't be able to buy a Raspberry Pi with a 32 bit CPU.

  2. Duncan Macdonald
    Thumb Down

    Netbooks

    There are still a number of Netbooks around. With their Atom processors they are incapable of 64 bit operation but still work quite well with less demanding Linux builds. Ubuntu developers are saying that people with old hardware that they do not wish to upgrade or who cannot afford to upgrade are no longer worthy of consideration.

    Cheap lightweight Netbooks still have a place as computers to take on holidays - the light weight does not burden a holiday maker excessively and the cheapness means that if it gets broken (or stolen) it is not a major expense.

    1. Anonymous Coward
      Anonymous Coward

      Re: Netbooks

      I have plenty of 32-bit kit too… one laptop here is a P4M 2GHz, so circa 2004, and look after plenty of 32-bit kit for various customers. The latter is going to hurt, as there's some proprietary software we run on there that is only compiled for i386, and we need to link that against things like Python.

      Basically it comes down to this: they can no longer justify the expenditure of resources, however, as it is open source, we are free to take over that role.

      I've been doing my own builds of Gentoo for years now, the last stage3 tarball I've downloaded recently was using musl instead of glibc; the last glibc-based stage3 I downloaded was downloaded some time around 2010, everything I've used since then has been updated in-house.

      1. a_yank_lurker

        Re: Netbooks

        Also, while some distros are dropping 32 bit versions others are intended for older kit. Distrowatch lists several not based on Ubuntu (many based on Debian) which can run on 32 bit processors.

        The question for any distro (or software vendor actually) is when does one cease supporting obsolete kit. that has not been manufactured in years or even decades. It really depends on your users. Ubuntu and others have probably seen a sharp drop in 32 downloads in the last few years.

      2. Doctor Syntax Silver badge

        Re: Netbooks

        Upvote for pre-compiled propitiatory software. It might cause GPL purists to choke on their hair shirts but any realistic definition of freedom should include freedom to run such software if it's your choice.

    2. J 3
      IT Angle

      Re: Netbooks

      Er... I wouldn't use such blanket statements. My circa 2011 Asus netbook has an Atom (N550) processor and it has been happily running 64-bit Linux distros from the very beginning.

      1. Teiwaz
        Thumb Up

        Re: Netbooks

        Yup, so is my 2010 Acer Aspire One (N450).

      2. This post has been deleted by its author

    3. AdamWill

      Re: Netbooks

      "Ubuntu developers are saying that people with old hardware that they do not wish to upgrade or who cannot afford to upgrade are no longer worthy of consideration."

      No, they're saying that they no longer want to consider them, in order to devote their limited resources to 'considering' larger user bases. In an ideal world full of rainbows and unicorns OS distributors would be able to make things work perfectly on all hardware ever. In the real world this is not the case, and deciding what hardware to support to what extent is a constant question of making trade-offs, and people getting all irate and stroppy and insisting on taking those decisions excessively personally ('worthy of consideration'? really?) doesn't really help.

      There's *always* still some working example of old hardware somewhere. People have working 8088s and Commodore Pets and lord knows what else. That doesn't oblige all OS vendors to keep supporting them. We (I work on Fedora, which stopped considering i686 a release-blocking arch with Fedora 24) have generally decided there's a point at which supporting old hardware is more trouble than it's worth; this is why we no longer actually work on i386s, or i486s, or (for most distros) i586s. That point is coming up fast for i686.

      If there's enough demand for it, there'll be niche distros that support these old systems; heck, you could create one. But the mainstream distros, as the name suggests, are there to support *mainstream* hardware. We have to make cost/benefit decisions at some point.

      1. Jeffrey Nonken

        Re: Netbooks

        I have an IMSAI 8080, though it needs a bit of work.

    4. Voland's right hand Silver badge

      Re: Netbooks

      Thin clients too. They last ages (compared to your average PC). I still have a perfectly alive, kicking and usable/useful old HP unit running a 800MHz Crusoe. At the same time we have reached the point where it will not even be supported by GCC in next Debian release.

    5. Teiwaz

      Re: Netbooks

      I've been running 64bit Ubuntu on my Acer Aspire Atom (N450), bought in 2010 for ages - it might be a little quicker with a 32bit version, but it runs.

      So not all atoms are incapable.

    6. Doctor Syntax Silver badge

      Re: Netbooks

      "Cheap lightweight Netbooks still have a place as computers to take on holidays"

      They're also handy to take into libraries and archives if you're a researcher. Then there are the Atom mini-ITX boards that make quite nice quiet MythTV etc. boxes.

      However, given that this is open source there'll be people prepared to continue building 32-bit versions.

    7. User McUser

      64-bit Atom

      Only two of the Atom branded chips (N270 and N280) are 32-bit (IA32) only.

      All other CPUs produced under that moniker are 64-bit (AMD64.)

      1. The Unexpected Bill

        Re: User McUser - 64-bit Atom

        That's not quite universally true. There are a few later Atom processors, like the Z2760 I'm using right now, that are much later and 32-bit only. The Z2760 was released in the 3rd quarter of 2012.

        I'm not sure why Intel manufactured such chips, only that they did.

    8. CFWhitman

      Re: Netbooks

      Well, most netbooks still in use sport 64 bit processors. A lot of Atom processors are 64 bit (including most of those placed in netbooks, especially since 2010).

      In my experience, the netbooks that don't have 64 bit processors don't run that well with Ubuntu based distributions anyway (even Lubuntu and Bodhi seem a bit heavy for them). The ones that I have are running Debian. Other 32 bit machines I have access to all run Debian, Slackware, or Salix rather than an Ubuntu variant.

      So, is it time for Linux to start phasing out 32 bit x86 processors? No. Is it time for Ubuntu to start phasing them out? Perhaps.

  3. Magani
    Linux

    Thinks Bubble

    I always thought one of the attractions of Linux was being able to repurpose old kit.

    It'll be some time before I have 'old' 64 bit kit.

    This penguin is unhappy.

    1. svim

      Re: Thinks Bubble

      Slackware just released its 14.2 version, Debian also continues to its 32-bit support an example being 8.4 was updated to 8.5 not too long ago. Those are just two examples out of dozens of other distros that are still in for the long haul. Canonical may rule over a large market share of Linux uses but it's in no way representing the entire Linux community. Older 32-bit systems of course continue to be declining in number but there's still a lot of legacy hardware out there.

      1. jake Silver badge

        Re: Thinks Bubble

        As a side note, Slackware 14.2 also ignores the entire systemd concept. See:

        http://www.slackware.com/changelog/stable.php?cpu=i386

        I have it running on this ~14 year old laptop. Works great!

      2. Voland's right hand Silver badge

        Re: Thinks Bubble

        Debian also continues to its 32-bit support an example being 8.4 was...

        The decision is not with Debian. The 32 bit support will be drastically reduced in the next GCC. Only 32-bit Athlon, P3 and P4 will be supported. Anything before that bites the bullet. I have several perfectly functional fanless Via and Crusoe systems which will need to be finally retired and replaced by Razzies as a result of this cut-off.

    2. Lee D Silver badge

      Re: Thinks Bubble

      They stopped supporting the 386 in 2012, when the processor was released in 1985 and Linux in 1991. 2012 was 6 years after Intel actually ceased production.

      The first chips to support 64-bit were in 2003 / 2004. Do you really have chips older than a K8 or Pentium 4 running around in active service? That's 13 years. That's not bad at all. You probably can't even buy the early 64-bit capable chips any more, and haven't been able to for years. Certain Atoms etc. were cheap for a reason - like buying Cyrix was, back in the day.

      Seriously, all your stuff moved to 64-bit a decade ago. You can't honestly have been using more than 3-something GB in all that time either. That's some serious long-term support, and by the time they are actually removed (look at the timeline!) they'll be so old as to be unobtainable. Which is exactly their argument - how the hell do they test things if they can't build several compile-farm computers of them?

      Nobody is stopping you, in several years time, running an old kernel or another distro and carrying on. But even Ubuntu LTS is only 5-or-so years at best, and they're not going to include it in the next one, so you have more than adequate warning.

      Replacement machines to usurp any machine of this era are literally junk-heap material now.

      1. Martin an gof Silver badge

        Re: Thinks Bubble

        The first chips to support 64-bit were in 2003 / 2004. Do you really have chips older than a K8 or Pentium 4 running around in active service?

        Replacement machines to usurp any machine of this era are literally junk-heap material now.

        But as someone pointed out earlier - netbooks. Yes, there were netbooks with 64-bit capable Atoms, but the majority of netbooks produced in that short period when they were very popular are both 32-bit and usually limited to 2GB maximum RAM.

        You would really struggle to buy anything looking like a netbook these days. "Replacement machines" are not "junk-heap material".

        Obviously the reason you can no longer buy netbooks is because nobody wants to buy them so the manufacturers stopped making them. My EeePC may be eight years old, but it does well enough for web browsing and occasionally something more creative (I've used it for MIDI sequencing, Arduino development, writing essays) and it certainly has a more usable keyboard than most fondleslabs or convertibles. If there were a direct replacement I might actually be in the market within the next couple of years, but there isn't.

        With the launch of Leap (42.1) last November my Linux of choice, OpenSuse, ditched 32 bit support and I moved to Mint for the EeePC.

        M.

      2. M7S

        Re: Thinks Bubble @ Lee D

        "Do you really have chips older than a K8 or Pentium 4 running around in active service"

        Yes. Alas replacement of particular items of "personal" kit such as a rugged laptop is rather outside of budget.

      3. Anonymous Coward
        Anonymous Coward

        Re: Thinks Bubble

        It's funny how many can't see beyond their bedroom systems. AFAIK, there are still AMD and others 32 bit embedded processors available (i.e the Geode LX), and some embeddable system vendors does offer 32 bit systems. Not your average bedroom system, but quite common in some specific environments, where low power consumption is welcome and not much RAM is needed. Usually not the kind of applications you can run in a container or a VM. It looks to me even Ubuntu guys now are blindsided and look only at the cloud datacenter, ignoring all those other small devices that are running Linux because it runs well enough on those embedded systems as well. Oh well, there's always FreeBSD...

        1. djack

          Re: Thinks Bubble

          That is perfectly true, but no-one in their right mind* would be running Ubuntu on such an embedded system anyway. Ubuntu != Linux, the operating systems designed and suitable for that sort of role will continue functioning for a long time to come.

          *OK, there may be some geek points available for using an industrial system as a desktop, but that's hardly normal.

        2. Pookietoo

          Re: there's always FreeBSD

          There will probably be people back-porting stuff from newer GNU and Linux releases to keep 32-bit environments somewhat up-to-date, in a "security fixes but no new features" sort of way. In many embedded situations it may not matter that updates aren't available anyway - it it ain't broke don't fix it.

    3. Anonymous Coward
      Anonymous Coward

      Re: Thinks Bubble

      I've got plenty of "old" 64-bit kit… SGI Indys were released in 1993, but not being x86, they aren't the context of this article.

      Actually, for what it's worth, it's worth having a squiz at /proc/cpuinfo and perhaps checking http://ark.intel.com/ as some older kit will run 64-bit.

      The following are some examples that will run 64-bit Linux:

      - 64-bit capable Pentium 4 CPUs

      - 64-bit capable Atoms

      1. Updraft102

        Re: Thinks Bubble

        And on the AMD side, my 11 year old, single core, 1.6 GHz Turion laptop ran Win 10 x64 without any problems that were not attributable to its <1 GB of RAM. I only put 10 x64 on it as a test; I had no intention of leaving it (and certainly not paying for it once the no-activation grace period ran out); it was back to its non-internet duty as a call screener under Win XP soon enough.

        It has been obsolete for a long time, but even it can run x64 if it needs to. Whether it's actually a good idea or not is another discussion... as it is incapable of recognizing enough RAM (max is 2GB according to the manufacturer) to warrant 64-bit addressing, it's still a natural match for 32-bit, which should be more efficient with its limited RAM, all else being equal.

        As others have mentioned, that's the nice thing about open source. When a developer of proprietary software decides to call it quits, that's it. With open source, there are others who can take it up, and with Linux specifically, there are lots of other distros that support 32-bit and will likely continue to do so.

      2. Pookietoo

        Re: 64-bit capable Pentium 4 CPUs

        P4 was a nasty evolutionary cul-de-sac, does anyone actually choose to run these today when old Intel Core systems are cheap as chips? I have some earlier Pentium systems (and some even older) for which I might conceivably find a use, sitting in a corner quietly doing something low-powered or attached to a specific piece of hardware, but really Raspberry Pi has made most of those obsolete too.

    4. AdamWill

      Re: Thinks Bubble

      The last vaguely mainstream 32-bit CPU Intel released was in, I believe, 2006. There were 32-bit Atom CPUs up to 2010, by the looks of things, but those were pretty niche-y and you're probably not going to have an awesome experience running a full-fat modern distro on one of those in any case. Almost any 32-bit x86 system you have, in other words, must be at least 6 years old and is far more likely to be over 10 years old. That's really pretty old.

      The weird Atom tablets / convertibles from the last few years have 64-bit CPUs but 32-bit firmwares; they don't actually need 32-bit distributions, it's possible for 64-bit distributions to run on them with a bit of nifty bootloader footwork.

  4. joed

    think about tablets

    There's also number of brand new cheap tablets and laptops (waiting for Linux conversion) with 1GB (yep, OEMs did it with MS' blessings) and 2GB. Even 4GB "premium" units would not benefit much of 64bit OS. Sure, it'd be slightly more secure but even less usable (due to increased RAM requirements).

    1. Nick Stallman

      Re: think about tablets

      4gig tablets will very much gain benefit from 64bits - 32bits can not ever use all of 4gigs of memory.

      Try it. Approx 0.5gig will magically vanish when you load a 32bit OS on a computer with 4gigs of ram.

      Remember the bits are used for address space, RAM isn't the only thing in the address space.

      Your graphics card's ram is automatically subtracted from the 4gig of RAM, plus various IO things take their share as well.

      32bit address space doesn't equal 4gig of RAM.

      1. Charles 9

        Re: think about tablets

        I thought they addressed that with PAE.

      2. Anonymous Coward
        Anonymous Coward

        Re: think about tablets

        Try it. Approx 0.5gig will magically vanish when you load a 32bit OS on a computer with 4gigs of ram.

        Only if PAE is turned off or the OS was made by Microsoft.

        root@host:~# free -m

        total used free shared buffers cached

        Mem: 5042 4741 301 0 0 3641

        -/+ buffers/cache: 1100 3942

        Swap: 0 0 0

        root@host:~# uname -a

        Linux host 3.2.0-97-generic-pae #137-Ubuntu SMP Thu Dec 17 21:37:53 UTC 2015 i686 i686 i386 GNU/Linux

        1. Zakhar

          Re: think about tablets

          But on the other hand, :i386 binaries are smaller and take less RAM, that is simply because instructions are shorter and pointer are 4bytes instead of 8.

          That is why I have installed a 32bits version on my mothers laptop, although it is perfectly capable of running 64bits, even being a low end Celeron from 8 years ago. What is limiting here is that the PC has only 1G of RAM.

          On 1G of RAM, when you run a 64bits version of Ubuntu will eat up like 600M of RAM just to boot to the session.

          With a 32bit version, you save around 25 to 30% of that (150 to 200M) which in fact makes it much faster to use.

          But well... as they say they might drop it for 18.10, it means 18.04 LTS will still have a 32bit version, and that will be supported up to 2023.

          By that time, this PC will be 15+ years old and if it is not already dead, it could be time to buy a more recent one seen how cheap low end PC are now that they are desperate to sell PCs!

      3. Anonymous Coward
        Anonymous Coward

        Re: think about tablets

        Not true.

        Some 32 bit OS were limited to 4GB, but as an example, 32bit version of Windows 2003 server came in 2G,4G and 64G flavors

        Your are right on your last statement, but not for the reasons you think.

Page:

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like