Which BSD for older machines? reddit / BSD ---------------------------------------------------------------------- harryruhr · 2018-11-19 22:23 Since *BSD systems are not as bloated as GNU/Linux systems are nowadays, I thought that BSD should make an excellent OS for older computers. Question is: which one should I prefer? FreeBSD is said to be more suitable for desktop and notebook use than OpenBSD or NetBSD. And everyone says, FreeBSD major advantage is ZFS. OK, but ZFS needs lot of ressources, mainly RAM. So it seems to me that ZFS is not a good choice for a machine which is low on ressources. So, when using ZFS is out of the question, is FreeBSD (using UFS) still preferable for desktop and notebooks compared to Open- and NetBSD? ---------------------------------------------------------------------- grunAmp · 2018-11-19 22:34 I can't speak to the other BSDs, but FreeBSD works great as a desktop. ZFS is great, and doesn't need a lot of RAM - see https://linustechtips.com/main/topic/738402-zfs-memory-requirements/ or similar for why this is true. ---------------------------------------------------------------------- recourse7 · 2018-11-19 22:49 netbsd. ---------------------------------------------------------------------- FUZxxl · 2018-11-19 22:53 FreeBSD is great on less resource-rich machines. Just make sure to stay clear of ZFS. ---------------------------------------------------------------------- icantthinkofone · 2018-11-19 22:59 I installed FreeBSD on my high end workstation with UFS when it was new four years ago and I developed software and web sites for companies large and small. ZFS is great but not everyone needs it. If you are new to FreeBSD, you don't need to let ZFS be any stumbling block. There is nothing wrong with running UFS. If, one day, you decide you need it, you can reinstall in just a few minutes as I did, including ZFS, on an 11-year old Dell laptop I wanted to play with a couple of weeks ago. ---------------------------------------------------------------------- antipop_superstar · 2018-11-19 23:04 How old a machine are we talking about, here? I've got the macppc port of OpenBSD running on a 2003 iMac G4 (the iLamp) with a 800MHz CPU and 256MB of RAM. It runs reasonably well. My daily driver is a ThinkPad T430s with an i5 and 4GB of RAM. OpenBSD runs *just fine*. ---------------------------------------------------------------------- highway-to-helvetica · 2018-11-19 23:10 or if you do go with ZFS, disable de-dupe if you don't need it, that's the thing that eats memory ---------------------------------------------------------------------- TriWest2018 · 2018-11-19 23:19 They all work well on older machines. The other day I saw a screenshot of OpenBSD running on an 333Mhz AMD K6-2 and the OS was only using about 30MB of RAM. ---------------------------------------------------------------------- tidux · 2018-11-20 00:03 OpenBSD... unless they're a hyperthreaded Intel machine. ---------------------------------------------------------------------- FUZxxl · 2018-11-20 00:43 Dedupe is already disabled by default. Only rarely is it a good idea to enable deduplication the way it is currently implemented. ---------------------------------------------------------------------- bit_of_hope · 2018-11-20 01:15 They're all perfectly fine. You're right that ZFS might not be the most suitable if you only have little RAM, but UFS should be alright. If your RAM is in the gigabyte range you might get away with ZFS too. "Desktop and notebook use" doesn't really tell much. You can install desktop software on any of them. Laptops especially may have some hardware that's not supported on one or more of them, so trial and error may rule out some of them but it's hard to say since we don't know what you have in them. As a side note, there are GNU/Linux systems that are smaller than any of the major BSDs by default. ---------------------------------------------------------------------- SoloBSD · 2018-11-20 02:58 OpenBSD ---------------------------------------------------------------------- highway-to-helvetica · 2018-11-20 06:40 On FreeBSD? Just did a fresh install a couple months ago. Dedup was on. ---------------------------------------------------------------------- eZGppTckz87MsjJ · 2018-11-20 07:16 you can enable it (and accept the risk involved). So no "unless" needed :) ---------------------------------------------------------------------- harryruhr · 2018-11-20 07:17 Several Machines 10 to 15 years old. From a Pentium M Notebook with 256 MB RAM and the first Eee PC Netbooks to PC's with AMD Athlon II X2 with 2 GB RAM. ---------------------------------------------------------------------- harryruhr · 2018-11-20 07:39 There are several machines with different hardware. Already found out that Broadcom wifi chips are not too well supported and if you don't want to use proprietary drivers you better stay away from NVidia graphic cards. Yes, there are small GNU/Linux systems as well, but it's already hard to find a good distro without systemd. Devuan and Slackware are good but still too big for some machines. Tried Alpine on one, but this distro is not really suitable for use on a notebook - it's more for routers and as a container base. And there is the Linux kernel which by itself needs a lot of RAM nowadays. ---------------------------------------------------------------------- FUZxxl · 2018-11-20 08:48 That is not normal. I'm not sure why this happened. Note that once dedup is on for a zpool, disabling it won't help save you any RAM. ---------------------------------------------------------------------- highway-to-helvetica · 2018-11-20 09:08 Yeah. By the time I filled my pool and realised the high memory usage was because of dedupe it was too late Sure I can trash the pool and start again but... it’s about 2 days of network transfer to move everything back. ---------------------------------------------------------------------- FUZxxl · 2018-11-20 09:12 If you have another drive, you can use `zfs send` to copy the data to another drive, then recreate the pool and finally do another `zfs send` to put the data back. However, I'm still wondering how deduplication got enabled on your system. Perhaps you played around with the settings and enabled it at some point. ---------------------------------------------------------------------- illumosguy · 2018-11-20 09:44 No matter what other say, for experience imho NetBSD is just best for older machines. If Linux is an admitted choice. Then Alpine, Slackware and Tiny Core Linux are the only other viable alternatives. ---------------------------------------------------------------------- [deleted] · 2018-11-20 09:46 [deleted] ---------------------------------------------------------------------- illumosguy · 2018-11-20 09:51 Every 'which BSD...' question here is biased by the fact most people answer recommending the BSD which they're more comfortable with, the one they like best, contribute to, want to promote, etc...it's like asking 'which Linux distro for...' on Linux fora, where most threads asking for a suitable distribution to put on legacy hardware and still get reasonable performance, are systematically answered with Xubuntu and Linux Mint, obviously among the all others Just try them all and stay with the one you like best. Depending on arch, your CPU may be supported on OpenBSD and/or NetBSD only. Also, since I advise you go with FFSv2 (UFS2), when choosing, remember also: - FFSv2 on OpenBSD uses stock Mckusick's Soft Updates (SU), without journaling (J). Stock SU is advisable and is historically regarded as a pro in running Free/OpenBSD against Linux. OpenBSD's FSSv2 doesn't support snapshots - FFSv2 on NetBSD uses classic J, no SU, but supports snapshots and LVM - FFSv2 on FreeBSD has either stock SU or SU+J, snapshots, but no classic J. SU+J is actually s double-edged sword, it works great...as long as it works ---------------------------------------------------------------------- kyleW_ne · 2018-11-20 10:12 Second this. Have netbsd installed on an old p4 with 1 GB ram, runs great! ---------------------------------------------------------------------- poshpotdllr · 2018-11-20 11:06 nothing is preferable to openbsd unless youre jerking off into a running blender. ---------------------------------------------------------------------- Chousuke · 2018-11-20 11:12 Wouldn't journaling make soft updates redundant? That said, I'm usually against running stuff on hideously outdated hardware simply because it tends to be energy-inefficient. Unless you really want old hardware for a particular reason (eg. coreboot support), just get a RPi or something and recycle the old crap. ---------------------------------------------------------------------- illumosguy · 2018-11-20 12:05 >Wouldn't journaling make soft updates redundant? Not exactly, and SU+J doesn't use complete journaling; the concept behind SU+J is explained [here](https://jeffr- tech.livejournal.com/22716.html). As I mentioned above I'm not a fan of SU+J, because, among the other things, it prevents using dump to perform system backups To further explain my position and prevent you from misunderstanding me, as I figure you just did, when I said OpenBSD has standard SU and NetBSD has standard J, I didn't imply any negative judgement on this, was simply pointing out factual differences on UFS implementations which I guessed OP would have been interested in. The fact UFS2 is not the same across BSDs is often overlooked >That said, I'm usually against running stuff on hideously outdated hardware simply because it tends to be energy-inefficient. While I'm all for RISC and ARM, and largely agree with you, retrocomputing can be carried out just for fun as a spare time activity, for the sake of not throwing away working hardware, for learning purposes (study ISA,port stuff on a different arch), to force yourself write non bloated code, etc...And OP asked specifically for it. I'm openly against the amd64/arm64 monopoly ---------------------------------------------------------------------- antipop_superstar · 2018-11-20 12:46 NetBSD or OpenBSD should work. You'll need i386 architecture instead of amd64. ---------------------------------------------------------------------- highway-to-helvetica · 2018-11-20 13:08 its a 12tb array, so gonna be hard to move that data. i used `zpool create tank drive1 drive2 drive3` ---------------------------------------------------------------------- FUZxxl · 2018-11-20 13:09 That should not on its own enable deduplication. How do you know deduplication is enabled? ---------------------------------------------------------------------- highway-to-helvetica · 2018-11-20 13:11 it is off.. hmm.. that's really weird I could have sworn it was on. ​ edit: I had assumed because on \`zpool list\` the dedup at 1.0x meant that dedup was ON.. i checked with \`zfs get dedup tank\` and it says it's off ​ ---------------------------------------------------------------------- FUZxxl · 2018-11-20 13:15 A ratio of 1.0 means that no deduplication happened. This is the expected result if deduplication has never been turned on. I hope this was helpful. ---------------------------------------------------------------------- gumnos · 2018-11-20 14:07 Seconding /u/antipop_superstar's suggestion. I have OpenBSD on a 2001-era laptop (800MHz, 320MB RAM) and a 2005-era PPC iBookG4 (1.33GHz, 1.5GB RAM). Both work fine. Not going to be doing any high- end gaming or heavy browsing of the modern web on either one. And the PPC has less software available because many folks don't do cross- platform testing. But both are adequate for light home network services (file-sharing, SSH jump host, light web-serving, email). I also have some netbooks (a Dell Mini9 & Mini10) that are similar to yours with 2GB of RAM each. I run FreeBSD (ZFS without deduplication works without issue) on the Mini9 and OpenBSD on the Mini10. I did have to replace the rubbish Broadcom mini-PCIe wireless cards with Atheros ones so they both work well now. X doesn't support the GMA500 video card on the Mini10, so it's laggy VESA there, but I mostly use terminals so it matters less to me. I don't have any exotic hardware where NetBSD would gain me anything that OpenBSD doesn't already give me, and I prefer OpenBSD & FreeBSD anyways ---------------------------------------------------------------------- motulakin · 2018-11-20 15:32 I’m currently running openbsd without problems on a 2xPentium 133mhz 128MB ram machine. ---------------------------------------------------------------------- My-Work-Reddit · 2018-11-20 17:45 > Have netbsd installed on an old p4 with 1 GB ram, runs great! This is actually really impressive. ---------------------------------------------------------------------- ZarK-eh · 2018-11-20 17:47 Why not use amd64? The Athlon is a 64bit cpu... ---------------------------------------------------------------------- antipop_superstar · 2018-11-20 18:41 The Athlon II is, but the original Athlon was i386. Some of the older gear is even older