{"id":1511,"date":"2018-05-16T17:22:25","date_gmt":"2018-05-16T22:22:25","guid":{"rendered":"http:\/\/www.alandmoore.com\/blog\/?p=1511"},"modified":"2018-05-16T11:24:38","modified_gmt":"2018-05-16T16:24:38","slug":"random-thoughts-about-linux-on-old-computers","status":"publish","type":"post","link":"https:\/\/alandmoore.com\/blog\/2018\/05\/16\/random-thoughts-about-linux-on-old-computers\/","title":{"rendered":"Random thoughts about &#8220;Linux on old computers&#8221;"},"content":{"rendered":"<p>Many years ago I wrote a series on &#8220;<a href=\"https:\/\/alandmoore.com\/blog2\/2011\/08\/21\/reviving-your-old-pc-with-linux-part-i-defining-expectations\/\">reviving your old PC with Linux<\/a>&#8220;, a topic which still remains in active discussion all around the Linuxy corners of the Interwebs.\u00a0 Most of what I wrote still applies, so long as you shift things forward seven years into the future.\u00a0 But as someone who continues to engage in the hobby (and discussion of the hobby) of foisting free operating systems on whatever decaying PC hulks float my way,\u00a0 I thought I&#8217;d write up random thoughts about the subject in response to things people say or the changes in computing.\u00a0 A bit of a rant, a bit of state-of-the-union, and a little thinking out-loud on the topic of old hardware running old faithful.<\/p>\n<p><!--more--><\/p>\n<h2>Is your computer too old?<\/h2>\n<p>This, of course, is a factor of what you plan to do with the computer and how patient you are to wait for software to load or finish processing.\u00a0 For me, for desktop use in 2018, the cutoff age is around 13 years.\u00a0 When Windows Vista came out in 2006, it&#8217;s comparatively massive resource requirements pushed computing hardware forward from single-core processors and 512 Megabytes of RAM to dual-core systems with 2 GB.\u00a0 The latter machines, properly configured, remain tolerably usable for a variety of tasks.<\/p>\n<p>Linux will run on older machines &#8212; <em>much<\/em> older machines &#8212; but the utility of such hardware declines precipitously.\u00a0 Apart from being hot, noisy, and subject to capacitor failure, such computers will barely run modern X11, much less a desktop environment or applications.\u00a0 I suppose if you&#8217;re in dire straits, need a PC, and don&#8217;t mind using weird, ugly, feature-poor software, (or just doing everything in Emacs) you could employ an XP rustbucket like this.<\/p>\n<p>Of course, most people just want to run one particular type of program, and that&#8217;s where the next issue starts.<\/p>\n<h2>The browser conundrum<\/h2>\n<p>&#8220;Web browsing&#8221; used be considered a lightweight activity.\u00a0 There was a time when it was.\u00a0 Seven years ago, you could load up some cut-down browser like Dillo or Netsurf and enjoy a slightly ugly-yet-still-functional world wide web.\u00a0 (Lack of Flash support might have been a problem for video or gaming sites, but mostly it was a blessing to be immune to animated ads.)<\/p>\n<p>Not anymore.\u00a0\u00a0 Modern web pages have become nearly useless if you can&#8217;t download and execute multiple megabytes of JavaScript in a browser that supports all the latest web APIs.\u00a0 Even sites like blogs or news networks, where you mostly go to read text, might fail to load at all without complete JS support.\u00a0 Blame developers, blame stakeholders, blame users, blame it on the rain; it comes to the same thing: web browsing has become as fussy and demanding as a hungry toddler.<\/p>\n<p>The result is three strata of browsers:<\/p>\n<ul>\n<li>The ones that work: Chrome and Firefox<\/li>\n<li>The ones that mostly work:\u00a0 IE, Edge, Safari, Opera, and miscellaneous webkit-based browsers<\/li>\n<li>The ones that have been hopelessly broken by the panicked headlong rush of progress: everything else.<\/li>\n<\/ul>\n<p>Install a lightweight distro.\u00a0 Install the most minimal UI.\u00a0 Tweak all those sysctl and hdparm settings.\u00a0 The minute you try to launch a non-broken browser, most pre-Vista-era machines will just toss in the sponge.\u00a0 Even a dual-core system will freeze up or get sluggish if you start opening multiple tabs of this stuff.<\/p>\n<p>This kind of changes the game with old hardware, I think; especially if, like most people in 2018, you can&#8217;t think of much to do with a computer if it can&#8217;t load whatever trendy social media or video streaming service you regularly visit.\u00a0 Looking for a lightweight distro for your old computer so you can run a modern browser is like trying to find a lightweight saddle for your horse so you can put an elephant on his back.<\/p>\n<h2>Which distro?\u00a0 Does it really even matter?<\/h2>\n<p>Which distro.\u00a0 This is the question everyone wants to ask about their old computer, and the answers received have a regularity that one is tempted to ascribe to a collection of chatbots triggered by the words &#8220;old computer&#8221;:<\/p>\n<ul>\n<li>Most will suggest Lubuntu\/Xubuntu\/Ubuntu Mate<\/li>\n<li>Others will suggest Debian with LXDE\/XFCE.<\/li>\n<li>The Puppy contingent always arrives, which results in an argument about its use of root.<\/li>\n<li>The elite few will suggest Arch Linux, mostly for name dropping purposes.<\/li>\n<li>That one guy will recommend Damn Small Linux, even though it&#8217;s been defunct for a decade.<\/li>\n<\/ul>\n<p>What almost nobody will do is actually consider the hardware or what the person wants to do with it.\u00a0 You&#8217;ll have someone suggesting Lubuntu for a Pentium 3 with 128MB, or someone who thinks a 1st gen i3 is so old it needs TinyCore.<\/p>\n<p>I&#8217;m not even so sure distro matters that much anymore for most cases.\u00a0 Among the 10-or-more-year-old systems seeing daily duty in my house, I&#8217;ve got Ubuntu Mate, Mint with Cinnamon, and the allegedly heavy Kubuntu installed.\u00a0 Would they be a bit peppier on Lubuntu or LXLE?\u00a0 Probably, but none of the regular users see fit to complain.\u00a0 The difference in RAM usage between the major desktop environments amounts to a couple hundred megabytes; not insignificant, but not enough to make an appreciable difference in the performance of most applications.\u00a0 Particularly <em>that<\/em> class of application which we&#8217;ve already discussed.<\/p>\n<p>Am I saying that Linux Deepin is the right distro for the 1st gen eeePC you just got from FreeCycle?\u00a0 Ok, no, but lightweight distros aren&#8217;t magic.\u00a0 Most of them are a stock distro with one of the less-fancy desktop environments installed.\u00a0 The &#8220;heavier&#8221; ones will take longer to get from POST to a usable desktop, but once there the differences don&#8217;t seem that extreme.\u00a0 Only when you get something really old and low-spec do you need one of the truly lightweight-to-the-core distros, and then you have to wonder what you&#8217;ll actually do with it.<\/p>\n<h3>Arch linux as a lightweight distro<\/h3>\n<p>About that Arch linux suggestion; somebody always mentions Arch because they believe it&#8217;s &#8220;lightweight&#8221;.\u00a0 Maybe they believe that because it&#8217;s the first distro they installed that didn&#8217;t put 10 GB of software on their machine, or because they couldn&#8217;t get anything more demanding than i3wm running on it.\u00a0 Yes, I know it bills itself as lightweight on the website, but in reality it&#8217;s only as light as what you put on it.\u00a0 If you put the same software on your Arch install that&#8217;s on an Ubuntu install, it&#8217;s gonna be just as heavy.<\/p>\n<p>The only thing Arch really does for you in regards to lightness is what it <em>doesn&#8217;t<\/em> do for you:\u00a0 it <em>doesn&#8217;t<\/em> install things by default, and it <em>doesn&#8217;t<\/em> give slick GUI installation tools.\u00a0 But Ubuntu, Debian, openSuse, Fedora, and most other mainstream distros have the option to do the same kind of minimal install and command-line maintenance tools.<\/p>\n<p>And compared to those other distros, Arch has two major issues on old hardware:<\/p>\n<ul>\n<li>You have frequent updates which must be applied manually.\u00a0 (Yeah, I know some of you live dangerously with <kbd>pacman -Syu<\/kbd> in your crontab.\u00a0 I&#8217;ve seen this fail too many times in my 5 years on Arch to trust it.)\u00a0 If your computer takes 20 minutes to reindex the man pages after every update, keeping your system up-to-date is a time-consuming daily chore.<\/li>\n<li>To make it worse, you&#8217;ll need the AUR for anything remotely off-the-beaten-path.\u00a0 This means compiling.\u00a0 One or two AUR packages isn&#8217;t so bad; when you get into double digits, compiling all this stuff on \u00dee Olde single-core system is a no-go.<\/li>\n<\/ul>\n<p>Don&#8217;t get me wrong; if Arch is totally your jam, feel free to put it on that old computer.\u00a0 My point is to dispell the false notion that Arch is somehow unique in providing a minimal installer, or that it&#8217;s somehow lighter than any other distro with the same software installed.<\/p>\n<h2>\u00a0&#8220;Just use a Raspberry Pi&#8221;<\/h2>\n<p>This bit of advice rankles me more than it should; after all, I <em>like<\/em> the Raspberry Pi.\u00a0 I just deployed ten of them as web kiosks at the local library, saving the taxpayers a couple thousand dollars.\u00a0 They&#8217;re cool devices, and I really kind of want the latest model to play around with at home, if anyone out there feels generous.<\/p>\n<p>But it bugs me when people recommend this as an alternative to making the trusty dusty PC work again.\u00a0 Maybe it just seems like cheating, or maybe it&#8217;s the sheer wastefulness of sending working hardware to the <del>landfill\u00a0 <\/del><strong>recycling center<\/strong>.\u00a0 But I think it&#8217;s also that RPi advocates tend to understate the cost and disadvantages of this approach.<\/p>\n<p>It&#8217;s a $35 computer, right??? No, it&#8217;s a $35 motherboard.\u00a0 To make a functioning PC with it, you need:<\/p>\n<ul>\n<li>An <strong>HDMI monitor<\/strong>.\u00a0 Since you almost certainly won&#8217;t have one, you&#8217;ll either need to get one or an adapter to convert to DVI (if you&#8217;re lucky) or VGA (if you&#8217;re not).<\/li>\n<li>A <strong>case<\/strong>, unless you want to take risks with dust and static.<\/li>\n<li>A <strong>power adapter<\/strong>, unless you happen to have a spare micro-USB phone charger with an amp rating sufficient to power the Pi and its peripherals (hint: that 500 mA one from your old phone isn&#8217;t powerful enough).<\/li>\n<li>USB <strong>keyboard<\/strong> and <strong>mouse<\/strong>, which your old computer may or may not have had (if it&#8217;s old enough for you to consider a Pi as a replacement, it&#8217;s probably got PS\/2 peripherals, not USB).<\/li>\n<li>A <strong>microSD<\/strong> card with enough space for your software and documents (Even a 15 year-old PC is gonna have at least a 40GB HDD.\u00a0 Don&#8217;t tell me I can get by with 16GB).<\/li>\n<li>If you need more than 2 additional USB ports (printer? scanner? webcam? additional storage?) you&#8217;ll need a <strong>USB hub<\/strong>.<\/li>\n<\/ul>\n<p>Yeah, you get the point.\u00a0 By the time you turn your &#8220;$35 computer&#8221; into a working system comparable to an early-to-mid 2000&#8217;s desktop, you&#8217;re closer to the $100 neighborhood.\u00a0 At that point, a used PC or laptop becomes competitive &#8212; and offers a lot more, like the ability to use a reliable storage medium or install those few proprietary x86 binaries you might need.\u00a0\u00a0\u00a0 They&#8217;ll tell you the electricity savings will pay for all the costs, but only if you&#8217;re going to run the computer 24&#215;7 and don&#8217;t factor in the monitor&#8217;s power consumption.<\/p>\n<p>I don&#8217;t know, it&#8217;s an option, I guess.\u00a0 It works for some people in some situations.\u00a0 I just think you need to know the downsides so you don&#8217;t make an unnecessary trek to <a href=\"https:\/\/en.wikipedia.org\/wiki\/I_Had_Trouble_in_Getting_to_Solla_Sollew\">Solla-Sollew<\/a>.<\/p>\n<h2>The most effective hardware upgrade<\/h2>\n<p>It used to be that the most effective hardware upgrade you could reasonably do for an old PC (apart from just gutting it completely) was memory.\u00a0 Shove all the RAM into it that you can lay hands on, pre-cache everything at boot, and tell yourself it made any difference.\u00a0 The biggest problem with old machines, though, has always been the slow disk drives.<\/p>\n<p>This is why adding RAM made any difference; it avoided any situation where you&#8217;d have to swap to disk, and allowed you to cache commonly used files so you didn&#8217;t have to keep reading them from that dog-slow spinning platter.\u00a0 RAM still helps in this regard, but we have an even more effective solution now: Solid State Drives.<\/p>\n<p>It&#8217;s amazing what even a cheap second-hand SSD will do for a decade-old computer.\u00a0 In my office I have a Dell Latitude D620 that hails from 2006, with 2 GB of RAM, a Centrino Duo processor, and a &#8220;Designed for Windows XP&#8221; sticker.\u00a0 I saved it and a first-gen 32GB SSD from the trash pile, brought the two together, and installed a few different distros.\u00a0 Even the allegedly bloated Kubuntu is perfectly usable on this setup.\u00a0 Firefox is responsive, even on javascript-heavy sites.\u00a0 I&#8217;m keeping my eye out for a good deal on a bulk lot of SSDs, these things are magical I tell you.<\/p>\n<h2>Trending hardware issues<\/h2>\n<p>Apart from the basic horsepower issues with older hardware, I&#8217;ve noticed a growing trend in basic compatibility, especially around video hardware.\u00a0\u00a0 We&#8217;ve long since bid farewell to video chipsets that aren&#8217;t Nvidia, AMD, or Intel; but even among those three brands, support for older video hardware in Linux is spotty and rapidly decaying.<\/p>\n<ul>\n<li>For Intel, I&#8217;ve seen programs complaining about the lack of OpenGL 2.0 support in older i915 and i945 chipsets.\u00a0 This is a hardware-level issue, so no driver update can fix it.\u00a0 Not sure how much this requirement will continue to grow, but I&#8217;ve seen it not only in games but in multimedia software as well.\u00a0\u00a0 I surmise it will eventually affect the major web browsers.<\/li>\n<li>AMD and Nvidia both have gaps where the proprietary drivers have dropped support for old hardware and the open source drivers never bothered to implement it.\u00a0 If you&#8217;re lucky, you at least get VESA compatibility, but I&#8217;ve had equipment that caused a kernel panic just by existing.\u00a0 OpenGL 2.0 issues abound here too.<\/li>\n<\/ul>\n<p>On top of video issues, 32-bit hardware is increasingly getting left in the dust.\u00a0 Somewhere in the last five years we passed the tipping point where 64-bit is now the de facto standard and 32-bit is a legacy platform that distros and packagers are starting to ignore.\u00a0 Not a problem for the Core 2 Duo devices, but your Atom or Pentium-M laptop is no longer invited to a growing number of parties.\u00a0 And as if 32-bit support wasn&#8217;t hard enough to come by, non-PAE 32-bit is even scarcer, leaving a lot of low-end notebook &amp; netbook hardware on shaky ground.<\/p>\n<h2>Is &#8220;Linux for old hardware&#8221; still a viable narrative?<\/h2>\n<p>I admit, I&#8217;m pretty out of touch with what Windows needs from a computer these days.\u00a0 I have a Windows 10 VM at work that gets pretty grumpy about it&#8217;s 4 GB of RAM and 2 processor cores, but it runs and I can do what I need to do with it.\u00a0 I kind of feel like MS learned its lesson after Vista and stopped throwing CPU cycles, RAM bits, and HDD sectors around like cheap candy at a small-town parade, but then again a cut-down virtual computer isn&#8217;t real antique hardware.\u00a0 Real old hardware has slow RAM, slower storage, and chipsets that need drivers.\u00a0 Looking over its <a href=\"https:\/\/www.microsoft.com\/en-us\/windows\/windows-10-specifications\">system requirements<\/a>, I&#8217;m not prepared to believe that Windows 10 on a 2006 notebook is a good (or even possible) experience.<\/p>\n<p>Of course, Linux has a number of advantages that have nothing to do with performance, but performance was always the main selling point on old hardware.\u00a0 That, and cost; for the price of a legit Windows 10 pro license, you can buy a new Chromebook.\u00a0 I don&#8217;t know about you, but I&#8217;m not about to drop $200 for an OS that might not even run on my hardware.\u00a0 Point for Linux.<\/p>\n<p>But beyond Window vs. Linux, maybe the more crucial question is whether the old hardware is even worth saving.\u00a0 I\u00a0 don&#8217;t mean your last-gen notebook, I mean the really old stuff; the Pentium 4 desktops, the AMD Athlons, those beige boxen banished to the back of the basement closet.<\/p>\n<p>I suppose the answer depends on how much you do with a computer that doesn&#8217;t involve JavaScript, 3D graphics, real-time DSP, and HD video.\u00a0 If you eliminate those, most of the remaining computing issues were solved &#8212; and solved well &#8212; a long time ago.\u00a0 Writing a novel?\u00a0 Doing your finances?\u00a0 Learning to code? Making simple graphics or recording a few tracks of audio?\u00a0 Emailing grandma or cataloguing your wine collection?\u00a0 All this stuff was doable on computers 15 years ago, and it&#8217;s still doable today on the same hardware.<\/p>\n<p>If you happen to need one more computer in your life that can offer this kind of functionality, Linux is as good a choice as any to provide it.\u00a0 So in the end, I guess I&#8217;d say the relevance of this notion depends on you.<\/p>\n<h2>Beyond Linux<\/h2>\n<p>So that it doesn&#8217;t die half-finished in my drafts folder, I&#8217;ll cap this ramble with some thoughts on alternatives to Linux for old computers, something I covered <a href=\"https:\/\/alandmoore.com\/blog2\/2012\/12\/14\/replacing-windows-98-and-other-seemingly-impossible-tasks\/\">in an article back in 2012<\/a>.\u00a0 This area has seen some nice progress, so I&#8217;ll quickly run down the current options:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.haiku-os.org\/\">HaikuOS<\/a>, the BeOS clone, is maturing nicely.\u00a0 The latest nightlies are actually fairly usable now, and it covers the basics: Webkit browser, word processor (AbiWord), spreadsheet (Sum-it), a smattering of open-source games, media players, etc.\u00a0 It reminds me a bit of desktop Linux in the early 2000&#8217;s, and it runs pretty nicely on a Centrino laptop (even with a spinning platter hard drive).\u00a0 It&#8217;s lack of user accounts and local security is kind of a bummer, but it&#8217;s still neat to see this new OS getting off the ground.<\/li>\n<li><a href=\"https:\/\/vmwaros.blogspot.com\/\">Icaros<\/a>, the AmigaOS clone, is still plodding along, preparing to release version 2.2.2 with lots of goodies for people who want to run old Amiga binaries or re-experience the glory of 1990&#8217;s desktop design.\u00a0 It&#8217;s always had a suprisingly large collection of software available, and beyond the meat-and-potatoes stuff it has some interesting graphics and sound software that you can&#8217;t find on other OSes.\u00a0 Sadly, I haven&#8217;t had much luck getting it to run on actual hardware, but I give it a shot now and then.<\/li>\n<li>Of course <a href=\"http:\/\/www.freedos.org\/\">FreeDOS<\/a> is still a glorious thing of glory, and since the last time I blogged about it they&#8217;ve released a new version.\u00a0 It&#8217;s got a nice package manager with lots of DOSFLOSS readily available, and if the moon phases manage to align with your network card just right, you can Dillo your way to your favorite abandonware site and download a few megabytes of pure 1989 radness.\u00a0 I kind of wish there was a good GUI for FreeDOS that didn&#8217;t crash or break other software, but then it just wouldn&#8217;t be DOS, would it?\u00a0 Hey, we knew how to type <kbd>KEEN.EXE<\/kbd> back in the day, you can figure it out too.<\/li>\n<li><a href=\"http:\/\/kolibrios.org\/en\/index\">Kolibri<\/a> , a tiny system crafted in assembly continues to improve.\u00a0 Though it boasts basic games, desktop utilities, simple productivity software, and even a rudimentary web browser, it&#8217;s still solidly in the realm of geeky curiosity.\u00a0 The apps remind me of the kind of weird, useless software bundled with old set-top boxes or flip-phones before everything started running Android.\u00a0 To be fair, it can run with as little as 8 MB of RAM, so you can rest at ease that if your available technology is pared down to a Pentium I computer, you can still chat on FreeNode and play Tetris.<\/li>\n<li>Finally, if Win32 compatibility matters, but you don&#8217;t want to run a Microsoft product, <a href=\"https:\/\/www.reactos.org\/\">ReactOS<\/a> is your new operating system.\u00a0 Though still far from being fully baked, this open-source Win32 redux is at least crunchy around the edges now and receiving regular updates from a dedicated team of developers.\u00a0 It&#8217;s hardware requirements are modest, and it should have some level of compatibility with old Windows drivers.\u00a0 It&#8217;s still missing a lot of functionality, particularly around network shares; but reportedly <a href=\"https:\/\/www.youtube.com\/watch?v=0eUAgxgT-gM\">Age of empires 2 runs on it<\/a>, so what more do you need??<\/li>\n<\/ul>\n<p>Well friends, thanks for letting me ramble here and reading this much of it.\u00a0 Keep blowing the dust off those old machines and let me know what your experiences are.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many years ago I wrote a series on &#8220;reviving your old PC with Linux&#8220;, a topic which still remains in active discussion all around the Linuxy corners of the Interwebs.\u00a0 Most of what I wrote still applies, so long as you shift things forward seven years into the future.\u00a0 But as someone who continues to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,6,35,21,5],"tags":[42,16,105,14,19,46],"class_list":["post-1511","post","type-post","status-publish","format-standard","hentry","category-fixing-stuff","category-floss","category-music","category-old-computers-technology","category-technology","tag-alternative-operating-systems","tag-floss-2","tag-l","tag-linux","tag-old-computers","tag-tips"],"_links":{"self":[{"href":"https:\/\/alandmoore.com\/blog\/wp-json\/wp\/v2\/posts\/1511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alandmoore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alandmoore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alandmoore.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alandmoore.com\/blog\/wp-json\/wp\/v2\/comments?post=1511"}],"version-history":[{"count":21,"href":"https:\/\/alandmoore.com\/blog\/wp-json\/wp\/v2\/posts\/1511\/revisions"}],"predecessor-version":[{"id":1553,"href":"https:\/\/alandmoore.com\/blog\/wp-json\/wp\/v2\/posts\/1511\/revisions\/1553"}],"wp:attachment":[{"href":"https:\/\/alandmoore.com\/blog\/wp-json\/wp\/v2\/media?parent=1511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alandmoore.com\/blog\/wp-json\/wp\/v2\/categories?post=1511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alandmoore.com\/blog\/wp-json\/wp\/v2\/tags?post=1511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}