Live data from Hacker News

How Does FreeBSD Compare to Linux on a Raspberry Pi?

m.slashdot.org

11–20 of 27 posts

Re: How Does FreeBSD Compare to Linux on a Raspberry Pi?

#11
post #8
post #7

Commenting to something said within the linked article: 32-bit Devuan (with Trinity Desktop aka KDE3.5 on maintenance) is still available at http://exegnulinux.net/ with Devuan/Debian repos. I'm happily running that on a Core2 Duo laptop.

I'm always curious - what do you use that machine for? I'm imagining most of the modern web is unusable.

A core 2 duo should still browse the modern web just fine. More than enough CPU power for all but the most JS intensive pages.

Re: How Does FreeBSD Compare to Linux on a Raspberry Pi?

#12
post #8
post #7

Commenting to something said within the linked article: 32-bit Devuan (with Trinity Desktop aka KDE3.5 on maintenance) is still available at http://exegnulinux.net/ with Devuan/Debian repos. I'm happily running that on a Core2 Duo laptop.

I'm always curious - what do you use that machine for? I'm imagining most of the modern web is unusable.

Not OP but I had a Late 2007 Core 2 Duo with 4G ram that could hold its own 3 years ago.

It was not comfortable but definitely usable (unlike a 2005 Imac G5 for example).

A 2013 4th gen i5 laptop with a SSD (major difference in trems of experience) and 8GB Ram remains totally usable for regular stuff (watching movies, Youtube, browsing the web, basic dev work) The plastic body is generally what fails before everything else.

As long you have at least four cores, 4GB Ram, linux and above all a SSD you should be fine

Re: How Does FreeBSD Compare to Linux on a Raspberry Pi?

#13
I run a RaspberryPi 3 with FreeBSD 13 booting off an SD card and a USB SSD for storage [1]. Coincidentally today (1/7/2024) is its one year anniversary.

It runs a jail with my single user GoToSocial ActivityPub server [2] reasonably well with cloudflared [3] handling incoming traffic and acting as CDN to take some of the load. Originally it was only using an SD card, but there was too much IO contention so a USB-SSD adapter is used to offload the IO.

I choose FreeBSD over Linux since I have other Rpis with Linux already and wanted more experience with *BSD, jails, and ZFS. Unfortunately ZFS wasn't the best choice on an Rpi since it's more cpu intensive and switched back to UFS.

Overall it's been solid, multiple GTS updates and have it on my list to update to FreedBSD 14 but not really in a rush.

1. https://social.ecliptik.com/@micheal/statuses/01GP860MYM2CGH...

2. https://gotosocial.org/

3. https://github.com/cloudflare/cloudflared

Re: How Does FreeBSD Compare to Linux on a Raspberry Pi?

#14
post #7

Commenting to something said within the linked article: 32-bit Devuan (with Trinity Desktop aka KDE3.5 on maintenance) is still available at http://exegnulinux.net/ with Devuan/Debian repos. I'm happily running that on a Core2 Duo laptop.

IIRC correctly from my Late 2007 Intel Core 2 Duo MacBook days, that cpu can handle a 64 bits OS (although in my case the EFI could not so you had to modify it in order to be able to boot a 64bits OS)

By 2007, the remaining 32 bit only Intel CPUs that I can think of were the Atoms made for netbooks.

Re: How Does FreeBSD Compare to Linux on a Raspberry Pi?

#15
post #5

I’m interested in this because lately I’ve been using an rpi4 with Surge XT, a great open source softsynth. The sound engine itself is not cpu bound in most scenarios. The pi can be brought to its knees with a lot of voices and effects but that is to be expected. What baffles me is that it randomly drops a ton of UDP packages, fails to read/write disk and randomly experiences high load only to quiet down later. Basic…

Whatever the OS, if you’re still using the internal SD card, upgrade to an SSD ASAP. The SD card has terrible random IO. When I switched, I saw routine tasks like “apt update” drop from a minute or so to a few seconds.

That’s with a high quality SD card, too. I don’t have it nearby at the moment, but it was one of the ones the RPi website recommended.

Re: How Does FreeBSD Compare to Linux on a Raspberry Pi?

#16
Oh puh, I never did benchmarks (on the rpi) but had the exact same impression...much, much faster, I use my rpi4 as a backup nas with nfs and ufs2 on the external drive, and the transfer speed was much faster than linux's, also it "feels" much faster to do anything...again I had not done any benchmarks on the rpi.

And I have not even touched "kern.sched.preempt_thresh" as this is not a desktop system.

What also impresses me is that you can load a FreeBSD system to 5x maxload (or much more) and it's still usable, with Linux you have horrible stuttering (on a desktop system).

Re: How Does FreeBSD Compare to Linux on a Raspberry Pi?

#17
I'm running 13.2 rel in an RPi3 using a 32GB SDCard. It was a hobby project at first. Now I'm running `freeradius3-mysql-3.2.3`, PHP-FPM + daloRadius (a simple web interface for freeradius), tailscale, nut, gstat_exporter, node_exporter, mysql-server (tuned to consume less memory) and consumes just 300 MB of RAM.

I would like to have a comparison with DietPi running the Pi, but so far with a few optimisations the performance has been great. Granted that the Radius server serves 2 ubiquity APs in a SOHO with a handful of WiFi connections and it's nowhere near a full-blown "campus" level deployment - that would require a huge mysql server.

However, even the specs for the freeradius server + SQL were something like 2GB IIRC, the combo runs fine.

Re: How Does FreeBSD Compare to Linux on a Raspberry Pi?

#18

Mildly offtopic: I've always thought of distributions (whether they are BSD or Linux) as: bootloader kernel/initrd of some sort /sbin/init libc shell / userspace tools package manager I think a lot of "noise" is made off of such slight distinction between these Back on topic: From the article > Nope, no match — FreeBSD's performance on the Pi is still way better, even without overclocking How? Like, it's the same har…

If you stay 100% within your own application and don't touch syscalls or libraries then yes they should perform identically (other than other processes using the CPU and I guess maybe default CPU speed settings). In practice, you're going to makes syscalls and use other libraries, which means that the kernel is an extremely important part of the overall performance picture and the design decisions that are baked into those libraries matters.

Re: How Does FreeBSD Compare to Linux on a Raspberry Pi?

#19
post #8
post #7

Commenting to something said within the linked article: 32-bit Devuan (with Trinity Desktop aka KDE3.5 on maintenance) is still available at http://exegnulinux.net/ with Devuan/Debian repos. I'm happily running that on a Core2 Duo laptop.

I'm always curious - what do you use that machine for? I'm imagining most of the modern web is unusable.

Browsing is slow but not that unusable. firefox-esr is in the repos; I prefer palemoon but I'll take what I can get. Gnumeric is faster than LO; both are in the repos. The Broadcom blobs for that Gateway machine are sadly out of date, so I yanked the wifi module out entirely; ethernet works fine, though in most cases I use it landlocked. The editor I prefer (jstar) is TUI, so I mostly work out of xterms.

Use-cases? Remote and while-you-wait work, RS232 and ethernet test console. It's bigger than a netbook but it's what I've got, so I lug it around.

Re: How Does FreeBSD Compare to Linux on a Raspberry Pi?

#20
post #4

> But what about all that lackluster driver support? WiFi drivers still on the 802.11g standard and all? Surely you can't be serious about it when Linux offers all that support out of the box, right? Wrong, actually. For starters, the drivers provided for the Pi's hardware are often half-assed proprietary blobs... I no longer think FreeBSD is really at fault if the driver support for the hardware is not helpful to be…

Look i use FreeBSD as my mainsystem (for Desktop, Laptop and Servers) and you are totally right, Wifi (max 2.5 mb/s) and not being able to regulate the fans on a GPU are it's biggest faults. I mean i can even play Elden Ring on FreeBSD (Wine) with a ps4 controller...for 4 minutes until my AMD-Card overheats...
Post reply on HN