Advantages/disadvantages of FreeBSD over OpenBSD? reddit / BSD ---------------------------------------------------------------------- reebs12 · 2018-10-16 15:54 I have heard that openBSD is more secure, FreeBSD is more performant. But are these really noticeable (e.g. do you not feel as secure when you run FreeBSD, do you feel performance is lagging when using OpenBSD...)? What are your thoughts/opinions about the differences between these two BSD projects? ---------------------------------------------------------------------- XxZozaxX · 2018-10-16 16:04 could you please add to the question * DragonFlyBSD * MidnightBSD ---------------------------------------------------------------------- reebs12 · 2018-10-16 16:09 Sorry, this question is specific to FreeBSD vs. OpenBSD. ---------------------------------------------------------------------- DonovanNagel · 2018-10-16 16:13 Re: performance. Yes, very noticeable. I use both (FreeBSD on desktop, OpenBSD on laptop). I've had to adjust the way I do things for my OpenBSD machine. Things generally run fine but when you're trying to do a lot at once (e.g. have 10 tabs open in Firefox), the cpu fan is spinning high. ---------------------------------------------------------------------- Xenepa · 2018-10-16 16:17 That "security" advantage is that they don't ship any software with it by default lol. Real difference is FreeBSD has jails and zfs. ---------------------------------------------------------------------- tidux · 2018-10-16 16:26 OpenBSD doesn't have hyperthreading turned on at all on Intel chips anymore. This is definitely more secure but, well, it's not optimal for performance. ---------------------------------------------------------------------- XxZozaxX · 2018-10-16 17:04 :( ---------------------------------------------------------------------- joed_ · 2018-10-16 17:15 Last I checked OpenBSD has a lot more software in base than FreeBSD. ---------------------------------------------------------------------- RedPestilence · 2018-10-16 17:15 I've used both, in multiple settings. For my Thinkpad X240, performance is noticeably worse under OpenBSD than FreeBSD. However, for my small VPSes, the difference is not noticeable. For a desktop machine, I'd advise FreeBSD if you're looking to get Linux-comparable desktop performance. I'd advise OpenBSD if you feel like code correctness and a security-focused dev team is preferable to squeezing every last bit of performance out of your machine. Indicative of this is OpenBSD's elimination of HyperThreading support on Intel CPUs. Granted, for most use-cases, FreeBSD is totally fine as far as security goes. ---------------------------------------------------------------------- RedPestilence · 2018-10-16 17:20 With an OpenBSD install on a VPS, I can have a basic web server running via httpd(8), strict firewall rules, ssh, and an OpenSMTP server running without installing any ports. Add IMAP (dovecot, for example), a database (SQlite or Maria or Postgres) and FastCGI to that list, and that's literally three ports installed explicitly plus dependencies. OpenBSD is more capable "out of the box" than FreeBSD. Check out http://learnbchs.org ---------------------------------------------------------------------- Inray · 2018-10-16 17:28 FreeBSD: Performance (very noticeable) Much much better SMP support (not ancient giant lock mode still used in OpenBSD) Tickless kernel ZFS is awesome Better port build system and far more ports Updateable binary packages not OS release locked Much better hardware support (especially networking stuff) Great documentation, handbook is really excellent I love OpenBSD minimalism though ---------------------------------------------------------------------- bit_of_hope · 2018-10-16 17:31 I haven't used FreeBSD a lot so I can't comment much on its performance features, but OpenBSD is definitely slower. Its codebase values simplicity and clarity of intent more than cache and register level optimizations and the like. Things like hyperthreading are disabled by default. For security, OpenBSD is audited constantly and the source code is regularly combed through in hackathons. The APIs provide easy-to-use mitigation features like the universally available `arc4random(3)` and syscall-restricting `pledge(2)` and upcoming `unveil(2)`. Contrary to common misconception, these mitigations are also added to software in the ports tree so you are by no means restricted to the base system to enjoy improved security on OpenBSD. There's more to these systems than the oft-parroted performance and security. FreeBSD has: * ZFS, possibly the best volume manager and file system in existence * jails, for secure chrooting * bhyve, performant built-in VM hypervisor * dtrace, debugging and analysis of system behavior * the online handbook, an excellent introduction to the system OpenBSD has: * doas, a smaller and simpler replacement for sudo with easier configuratino * httpd, a simple, yet capable web server * LibreSSL, fixes most of the mess that it OpenSSL * pf, a very capable and easy-to-use firewall * phenomenally good documentation, not only do programs have associated manual pages, the configuration files and devices also do, usually with examples too Both have more than those too. There's more to the BSDs than the stereotypes say. ---------------------------------------------------------------------- illumosguy · 2018-10-16 17:37 I think he means third party software, like OpenSSL, OpenZFS, DTrace, OpenBSM, OpenPAM, Sendmail, Clang/LLVM, ntp, openresolv, DHCP, pdksh, groff, grep (+ possibly more firmware?), albeit FreeBSD has contributed to some of those, especially OpenZFS. ---------------------------------------------------------------------- illumosguy · 2018-10-16 17:59 I think OpenBSD can be considered more secure under various aspects: way thinner attack surface (kernel is around 1/3 FreeBSD's). Code is audited more systematically, and is made minimalist and easier to read for this purpose. Various default hardening tweaks limit side-chain attacks (as well as performance), hyper-threading is disabled. A lot of homegrown stripped-down hardened software is included in base, including LibreSSL, doas, httpd, ldapd, bgpd, iked, sndio, as well as Xenocara and Xenodm. Then you have ASLR, W^X, static PIE, LibreSSL, IP ID randomization, serious effort at sandboxing with many more pledged/unveiled packages in OpenBSD than capsicummed in FreeBSD. No Linux compat layer, nor any kind of binary emulation (which is a pro from a security point of view, a con in regard of functionality). No binary blobs nor wine in ports tree. That said FreeBSD still stays a very secure OS, a quick look at CVEs records for FreeBSD in the last 20 years can confirm it immediately. Various hardening options are applied by default, others are available for the user to enable. Code is clean and most of base consists of home-grown software; security bugs are fixed/mitigated acceptably soon,so are vulnerabilities in ports tree ---------------------------------------------------------------------- _arthur_ · 2018-10-16 18:08 FreeBSD also has pf, albeit an older (and faster) version. ---------------------------------------------------------------------- poshpotdllr · 2018-10-16 18:12 freebsd kernel code base is fucking madness. ---------------------------------------------------------------------- qci · 2018-10-16 18:14 I'd use OpenBSD for network components and other security critical appliances. FreeBSD is definitely somewhat more generic. I would choose it for desktop PCs. I cannot decide which one I would use for laptops though, because sleep works flawlessly with OpenBSD, not so with FreeBSD. FreeBSD has definitely more software in the ports collection. FreeBSD is also very noticably faster and supports OpenGL acceleration with nVidia drivers. ---------------------------------------------------------------------- bit_of_hope · 2018-10-16 18:15 Yes, but I quite prefer the newer version and its improved configuration syntax. ---------------------------------------------------------------------- bit_of_hope · 2018-10-16 18:28 * OpenSSL: replaced by LibReSSL, available as package * OpenZFS: license unacceptable to OpenBSD, but point * DTrace: same as above, but rewrite effort ongoing * OpenBSM: point * OpenPAM: uses BSD Auth instead * Sendmail: replaced by OpenSMTPd, still available as a package * Clang/LLVM: used as system compiler and included in base * ntp: OpenNTPD included in base * openresolv: not sure about implementation but a resolver is included in base * DHCP: included in base * pdksh: in base * groff: available as package * grep: are you serious? Only four or five of those are unavailable in OpenBSD. Nearly all of the remaining or something closely comparable are in the base system even. EDIT: Misread that comment, didn't realize the parent referred to components developed externally to FreeBSD (as opposed to OpenBSD base's mostly in-house composition) but I'll leave it up for comparison's sake anyway. ---------------------------------------------------------------------- illumosguy · 2018-10-16 19:27 I'm not getting this comment and I have serious reason to think you misinterpreted my words; I didn't imply OpenBSD lacks any of those features (outside the few you mentioned), I was trying to interpret previous commenter's statements, seconding the idea according to which having more 3rd party software in base represents one of the reasons which FreeBSD can result less secure for. ---------------------------------------------------------------------- illumosguy · 2018-10-16 19:29 Examples? ---------------------------------------------------------------------- bit_of_hope · 2018-10-16 19:51 Yes, I believe I did misinterpret. Sorry about that. ---------------------------------------------------------------------- NicheArchitecture · 2018-10-16 20:30 I'm replying from Firefox on OpenBSD, and I have over 150 tabs open and am running fine. ---------------------------------------------------------------------- NicheArchitecture · 2018-10-16 20:33 Hyperthreading doesn't do much for performance, and more often than not, can actually be a detriment to performance, especially for single threaded work loads. ---------------------------------------------------------------------- moetech · 2018-10-16 20:45 It also has doas (as does Linux), although the persist keyword doesn't work. ---------------------------------------------------------------------- illumosguy · 2018-10-16 20:47 no harm done :) ---------------------------------------------------------------------- williewillus · 2018-10-16 21:11 well CVE count isn't a good indicator of security, it just means less eyes are looking for exploits in FreeBSD than Linux, which is definitely true. ---------------------------------------------------------------------- illumosguy · 2018-10-16 22:03 I may take this argumentation as 100% valid for something really niche as Haiku, perhaps Illumos. Undoubtedly OS popularity is directly proportional to the frequency by which the system is audited, but are really those numbers totally useless? I don't think so: FreeBSD's CVE records count (372) is comparable with AIX' (335). How come? Shouldn't AIX have been under people's eyes more than FreeBSD? OpenBSD's count is *267*; doesn't add up: shouldn't OpenBSD be much more secure than FreeBSD and have less eyes than the it looking for exploits? All things considered, it's a R&D OS, it's not used in production, most auditing and pen-testing happens internally. And now the big surprise: OpenVMS' count is 17, which is consistent with the fact VMs is known for its **unrivaled** security, (please don't tell me VMS -as former leading production system- hasn't had tons of eyes looking for exploits on throughout years). Solaris' count for the record is 533, Linux (kernel only) is 2156, ---------------------------------------------------------------------- aftli · 2018-10-16 22:35 And LibreSSL, doas, and OpenBSD's httpd (as obhttpd) in ports. ---------------------------------------------------------------------- poshpotdllr · 2018-10-16 23:24 ZFS LOL ---------------------------------------------------------------------- zesterer · 2018-10-16 23:32 [Citation needed] ---------------------------------------------------------------------- illumosguy · 2018-10-17 00:24 I meant practical examples, I'd really like you to show us some some sample code madness and explain how better could it have been written. ---------------------------------------------------------------------- poshpotdllr · 2018-10-17 00:30 the entire freebsd source tree is bad and it should be replaced with he entire openbsd source tree. youre welcome. ---------------------------------------------------------------------- illumosguy · 2018-10-17 00:43 I still don't see you bringing the minimum evidence to suppport your statements, you could have just brought an extract of freebsd sources representing in your opinion a software nightmare and let us see how bad it is; you speak as if you analyzed and audited the entire source tree yourself, I was hoping for at least one single example, and yet I don't see anything. This conversation has just expectedly turned into pointless chatting ---------------------------------------------------------------------- poshpotdllr · 2018-10-17 00:48 virtualizing an entire slowaris kernel to make a frankenstein conglomerate for nothing more than ZFS support is a fucking abomination. ---------------------------------------------------------------------- thatstevelord · 2018-10-17 00:49 FreeBSD has a number of advantages: * A [selectively enforced](https://www.reddit.com/r/BSD/comments/8qhm9 n/disappointed_in_freebsd_coc/) Code of Conduct * Advocacy for [being more Linux](https://www.freebsdnews.com/2018/08/21/benno-rice-the-tragedy- of-systemd-bsdcan-2018/) Indeed, there are many reasons to pick FreeBSD over OpenBSD. If you'd prefer to eschew swift, working patches over debates on behaviour, [Fr eeBSD](https://www.reddit.com/r/freebsd/comments/7och5a/freebsd_was_ma de_aware_of_meltdown_and_spectre_in/) may be the OS for you. On a mildly more serious note, if you prefer multi-core performance over security, go with FreeBSD. ---------------------------------------------------------------------- illumosguy · 2018-10-17 00:55 1) Solaris has been one the most performing and scalable OSs for decades; the main reason in choosing it and SPARC against other Unices in huge clusters was performance (again, please, prove me wrong, but bring the data; just don't tell me Solaris felt slow and bloated on your laptop) 2) code, bring the bad code here, or link to source files highlighting bad parts ---------------------------------------------------------------------- poshpotdllr · 2018-10-17 01:03 > Solaris has been one the most performing and scalable OSs for decades i was talking about slowaris. i dont know what youre talking about. >code, bring the bad code here, or link to source files highlighting bad parts https://github.com/freebsd/freebsd this is terrible. ---------------------------------------------------------------------- VENTDEV · 2018-10-17 01:17 Dont' worry I'll help you out. DragonFly BSD - Matt Dillon's fork of FreeBSD after a disagreement over threading performance. Has a bunch of cool new experimental features such as HAMMER2. Focused on AMD64 performance. MidnightBSD - Lucas Holt's fork of FreeBSD in an attempt to make a presetup desktop system similar to NeXTSTEP. It's competition is PC- BSD and GhostBSD... ---------------------------------------------------------------------- mofomeat · 2018-10-17 01:38 Side question, as it's been awhile for me since I've used Open or Free: Does NetBSD still lag the pack as far as performance under load? I'll still use it regardless, just curious if you know. ---------------------------------------------------------------------- jsr1693 · 2018-10-17 04:22 Processor? ---------------------------------------------------------------------- BumpitySnook · 2018-10-17 05:14 Yeah, NetBSD has comparably bad performance to OpenBSD. ---------------------------------------------------------------------- BumpitySnook · 2018-10-17 05:18 I don't think it's unreasonable to hypothesize that Linux gets 10-100x more security eyeballs than any BSD. ~~(OpenVMS largely predates the use of the CVE system, I think?)~~ ---------------------------------------------------------------------- BumpitySnook · 2018-10-17 05:20 > DragonFly BSD - Matt Dillon's fork of FreeBSD after a disagreement over threading performance. Has a bunch of cool new experimental features such as HAMMER2. Focused on AMD64 performance. To be more specific, it's a fork of FreeBSD4.8 from the early 2000s. And less focused on AMD64 performance than "doesn't support any architecture except amd64." And sure, performance is a goal. ---------------------------------------------------------------------- BumpitySnook · 2018-10-17 05:21 trololo plz leave ---------------------------------------------------------------------- poshpotdllr · 2018-10-17 05:27 im just an opinionated person ---------------------------------------------------------------------- bit_of_hope · 2018-10-17 06:21 Hard to say since I haen't used FreeBSD much and neither my NetBSD not OpenBSD boxes, despite their low-end specs, tend to be under a lot of load. I'd expect NetBSD and OpenBSD to perform similarly with the huge caveat of this being very platform and use case dependent. ---------------------------------------------------------------------- bit_of_hope · 2018-10-17 06:23 I can't be mad at someone called Illumos guy anyway. Methinks I need to upgrade my homelab with a relatively recent and beefy box for use as a SmartOS virtualization host. ---------------------------------------------------------------------- DamienCouderc · 2018-10-17 07:12 https://www.zdnet.com/article/hyperthreading-hurts-server-performance- say-developers/ ---------------------------------------------------------------------- NicheArchitecture · 2018-10-17 09:29 i7 3770 ---------------------------------------------------------------------- illumosguy · 2018-10-17 09:30 >(OpenVMS largely predates the use of the CVE system, I think?) OpenVMS is perhaps the only 'big iron' OS to have survived until today by continously reinventing the wheel; I don't know what idea you got of it but, even though VMS is being slowly replaced by Linux (realistically speaking its days are gone too, along with Unices) there's still plenty of VMS appliances (especially where a performing, reliable, RTOS base with strong clustering capabilities is required, like billing systems, stock exchanges, semiconductor factories, and many others) and jobs. I really see no reason why there shouldn't be people looking for exploits on it. OpenVMS 7.0 to 8.4-2 (2016) were released when CVE system was already in place (from '99 on). Aside from that, OpenVMS is still developed today, VMS Software Inc. is [close to release x86_64 version](http://vmssoftware.com/pdfs/State_of_Port_20171006.pdf) and a V9.0 release is scheduled for 2019. OpenVMS is so much viewed as secure and reliable, that an old privilege-escalation bug found in the DCL shell last year, [CVE-2017- 17482](https://groups.google.com/forum/m/#!topic/comp.os.vms/BYIUQ0lJ- s0) (linking the relevant thread on Usenet) was [felt as a true exception](https://www.zdnet.com/article/mission- critical-system-alert-40-year-old-openvms-hit-by-exploitable-bug/) in public opinion ---------------------------------------------------------------------- NicheArchitecture · 2018-10-17 09:32 /u/DamienCouderc has you covered. Theo has also shit on hyperthreading on the mailing list. Hyperthreading/SMT is fundamentally flawed and should be done away with. There is a reason the OpenBSD and Redhat folks have disabled hyperthreading. ---------------------------------------------------------------------- illumosguy · 2018-10-17 10:06 You may want to use Zones for Solaris and Linux hosts (and IP-branded zones to make use of CrossBow VNIC). Regarding Linux host OmniOS wiki on [LX-branded Zones](https://omnios.omniti.com/wiki.php/LXZones) can be a good starting point With the latest SmartOS stable snapshot, FreeBSD's bhyve is officially supported by vmadm as an alternative hypervisor (and VM label) to KVM. ---------------------------------------------------------------------- LocalRefuse · 2018-10-17 10:53 where are you pulling that data from? pretty sure that's wrong. ---------------------------------------------------------------------- LocalRefuse · 2018-10-17 11:03 That's a citation from 2005. Since then almost every CPU architecture adopted SMT. It's not a coincidence. [Here's a 2018 benchmark for Cavium ThunderX2 4-way SMT](https://www.anandtech.com/show/12694/assessing-cavium- thunderx2-arm-server-reality/8). ---------------------------------------------------------------------- XxZozaxX · 2018-10-17 11:32 Thank You So Much. thuh, as a normal user should I use DFBSD or FreeBSD ? what do you think, I mean yeah I know the difference now but should I worry about it, I think DFBSD will be the right choose ---------------------------------------------------------------------- DamienCouderc · 2018-10-17 14:15 I've read another article about it in the past year but couldn't quickly find it again. ---------------------------------------------------------------------- BumpitySnook · 2018-10-17 15:13 I stand corrected. ---------------------------------------------------------------------- daemonpenguin · 2018-10-17 15:34 I'd like to point out that FreeBSD has PF and doas as well. Doas isn't natively, but it's widely used and available in ports. ---------------------------------------------------------------------- bit_of_hope · 2018-10-17 15:40 Yea, Zones are precisely what I'm referring to. LX-brand might come in handy, but I find myself not needing much Linux-exclusive stuff in my servers. Didn't know about bhyve being available now, that's rad. ---------------------------------------------------------------------- OsrsNeedsF2P · 2018-10-17 15:50 Might be a dumb question, but couldn't you just use another chip from a competitor company? ---------------------------------------------------------------------- VENTDEV · 2018-10-17 16:12 Depends what you mean as "normal". Server or Desktop? For servers, I use FreeBSD, as its major killer feature (ZFS) is more mature (HAMMER2 is still in heavy development). For desktops, FreeBSD will have more support and covers more software. It'll have things like Linux Compatibility layer, WINE, Tier 2 hypervisors, etc. AFAIK, DragonFly does not have an nVidia GPU drivers. So you would be on VESA. Other than that, they're essentially the same. They run mostly the same FOSS softwares. Scroll down to packages... https://distrowatch.com/table.php?distribution=dragonflybsd https://distrowatch.com/table.php?distribution=freebsd ---------------------------------------------------------------------- DonovanNagel · 2018-10-17 16:12 I'm using i7-8650 (X1 Carbon 6th) and I disagree that you could be running 150 open tabs without some serious performance issues on OpenBSD. ---------------------------------------------------------------------- illumosguy · 2018-10-17 16:35 >Didn't know about bhyve being available now, that's rad. Yeah!, have a look at [this commit](https://github.com/joyent/smartos- live/commit/48cb3c49e1a9c4cf204a59bed8312b0096f6209e) and at [20180315T080815Z changelog](http://us-east.manta.joyent.com/Joyent_D ev/public/SmartOS/smartos.html#20180315T080815Z); OmniOS [imported the work on bhyve too](https://omniosce.org/info/bhyve_kvm_brand.html). Carlos Neira wrote [zcage](https://github.com/cneira/zcage) as a general replacement for vmadm on non-SmartOS Illumos distribution; the utility was recently updated to support bhyve brand ---------------------------------------------------------------------- XxZozaxX · 2018-10-17 16:56 THANKS SO MUCH, I appreciate your help. NOW, FreeBSD I'm comming ---------------------------------------------------------------------- CommonMisspellingBot · 2018-10-17 16:56 Hey, XxZozaxX, just a quick heads-up: **comming** is actually spelled **coming**. You can remember it by **one m**. Have a nice day! ^^^^The ^^^^parent ^^^^commenter ^^^^can ^^^^reply ^^^^with ^^^^'delete' ^^^^to ^^^^delete ^^^^this ^^^^comment. ---------------------------------------------------------------------- BooCMB · 2018-10-17 16:56 Hey CommonMisspellingBot, just a quick heads up: Your spelling hints are really shitty because they're all essentially "remember the fucking spelling of the fucking word". You're useless. Have a nice day! ---------------------------------------------------------------------- XxZozaxX · 2018-10-17 16:59 thanks bot :) ---------------------------------------------------------------------- Moises95 · 2018-10-17 17:13 Bad bot ---------------------------------------------------------------------- B0tRank · 2018-10-17 17:13 Thank you, Moises95, for voting on CommonMisspellingBot. This bot wants to find the best and worst bots on Reddit. [You can view results here](https://botrank.pastimes.eu/). *** ^(Even if I don't reply to your comment, I'm still listening for votes. Check the webpage to see if your vote registered!) ---------------------------------------------------------------------- Moises95 · 2018-10-17 17:15 Good bot ---------------------------------------------------------------------- JonathanZP · 2018-10-17 17:26 You can enable hyper-threading by setting hw.smt=1. ---------------------------------------------------------------------- JonathanZP · 2018-10-17 17:27 Disabled on AMD's chips too. ---------------------------------------------------------------------- MrThugger · 2018-10-17 19:34 This is completely wrong, NetBSD has had advanced scheduling and scalability for years, developed in funded projects with people paid to work on that. It also has a scalable network stack with a very fast firewall. ​ OpenBSD has none of that and still uses the big kernel lock, this is why OpenBSD is the slowest/inefficient of the BSDs, and it barely does better in terms of security compared to the others. ---------------------------------------------------------------------- illumosguy · 2018-10-17 20:43 Untrue, especially when put it on a arm, mips or m68k: it flies. NetBSD has ridicolously low requirements (16MB RAM on amd64, 8MB or even lower on others) and performs beautifully on literally any embedded device (to the point compiling natively on ARM is doable) and any legacy PC, be it even from 25 years ago. ---------------------------------------------------------------------- illumosguy · 2018-10-17 20:44 > obhttpd Ok, you changed my day, now I really have to get it working with pkgsrc too ---------------------------------------------------------------------- mofomeat · 2018-10-17 21:27 I recycled an AMD K6-II last year, which had 128mb RAM, 300mhz processor and 6.44gb disk. It'd been five years since any linux distribution short of Slackware was even bootable on it or even usable in console mode. FreeBSD's installer would crash on it since 8. NetBSD's installation, day-to-day use and upgrade cycle was a dream. I never did a back to back comparison but it seemed to run just the same on 7.1 as it did on 1.4.1 back in the day. I know this is commodity x86 hardware and all (nothing esoteric), but there's something to be said about running a modern OS on a 20-year old computer with no tweaks or troubles. ---------------------------------------------------------------------- techsnapp · 2018-10-18 14:58 But doas, httpd, relayd are packages for other operating systems. They were invented for by and with OpenBSD. Notice others are not saying zfs is available for Linux, Oracle, and FreeBSD. ---------------------------------------------------------------------- techsnapp · 2018-10-18 15:05 I agree that the package/port locking with openBSD is annoying, although I'm not affected by not following -release. However, there's a new release every six months, so your packages are not going to be that old. FreeBSD does have considerably more packages for amd64, but what about the obscure platforms? Do packages exist for mips64, sparc64, etc? ---------------------------------------------------------------------- techsnapp · 2018-10-18 15:15 >"doesn't support any architecture except amd64." Did they never support x86 and x64 simultaneously? ---------------------------------------------------------------------- Paspie · 2018-10-19 09:58 Downvoted by those who couldn't take a joke. ---------------------------------------------------------------------- thatstevelord · 2018-10-20 14:05 To be fair, I'm not being serious but there's a sting of truth in it all. There are of course solid reasons to choose FreeBSD. Driver support is pretty good, and there's some really nice features such as ZFS and Bhyve that make it especially well-suited for situations that OpenBSD wouldn't fit well. I could've joked about NetBSD but very few people would've noticed ;) *ducks* ---------------------------------------------------------------------- Patatatarte · 2018-10-21 17:57 It depends on the workload you are running. Plain and simple. ---------------------------------------------------------------------- NicheArchitecture · 2018-10-28 06:29 Yes, and now SMT needs to be disabled to prevent the horrendous TLBleed vunlerability. Hyperthreading is garbage. ---------------------------------------------------------------------- haxies · 2018-10-28 17:34 Is there a historical or technical reason why these tools are suffixed with `d`? I’m really curious. `httpd ldapd bgpd` etc. ---------------------------------------------------------------------- illumosguy · 2018-10-28 17:44 Yes, they are [Unix daemons](https://en.wikipedia.org/wiki/Daemon_(computing)#Unix- like_systems) ---------------------------------------------------------------------- haxies · 2018-10-28 18:18 fuck. wow. okay that makes so much sense. thanks for opening things up for me! ---------------------------------------------------------------------- piisfour · 2018-10-29 18:33 > Indeed, there are many reasons to pick FreeBSD over OpenBSD. This is just pure salestalk. We need concrete data about security vs. performance, and ease of use. ---------------------------------------------------------------------- piisfour · 2018-10-29 18:36 Is driver support for OpenBSD bad? Is performance of FreeBSD noticeably better than that of OpenBSD, in normal conditions? ---------------------------------------------------------------------- piisfour · 2018-10-29 18:37 What problems does FreeBSD have with sleep? Is the choice of applications of FreeBSD comparable to a popular Linux distribution like Slackware or Debian? ---------------------------------------------------------------------- piisfour · 2018-10-29 18:38 This is your right, but please provide more, and good info if that is your opinion. We need info to be able to judge. ---------------------------------------------------------------------- piisfour · 2018-10-29 18:40 Hm. It sounds like someone might have taken a wrong decision at some point. ---------------------------------------------------------------------- qci · 2018-10-29 18:43 Sleep modes don't work well. I've always had problems, at least when a laptop wakes up. Mostly no video (screen off). Sometimes other devices could not wake up, USB controller etc. FreeBSD ports collection is huge. It's bigger than what most Linux distributions offer. It's as large as Arch Linux including AUR or Gentoo with overlays. ---------------------------------------------------------------------- piisfour · 2018-10-29 18:47 What's slowaris? This is trolling. You are talking about old versions of Solaris. This forum thread dates from 2001: https://arstechnica.com/civis/viewtopic.php?f=16&t=1034068 ---------------------------------------------------------------------- poshpotdllr · 2018-10-29 19:45 you just made my day ;D ---------------------------------------------------------------------- poshpotdllr · 2018-10-29 19:55 im that guy who has super insightful but highly controversial and politically incorrect opinions. ill give you 3 of them here: 1- if you think virtualizing half a solaris kernel for a bastardized shit implementation of something that is supposed to feel like a file system is a good idea you should stay the fuck away from systems programming. ZFS is shit! 2- a diamond covered in shit is still a shitty diamond. a badass kernel developer who writes code for freebsd is thus a shitty programmer (ok im being a bit funny here im sure many of them are fantastic). 3- the freebsd code of conduct is written by retards who deserve ridicule, but the developers who went along with that madness need to be made fun of indefinitely ad infinitum. ---------------------------------------------------------------------- piisfour · 2018-10-29 22:30 Couldn't those sleep mode problems be related to driver issues? I am a Porteus user and have sometimes prolems with NetworkManager when waking up. There is no network anymore and I have to reboot if I want to continue using the internet. What about the OpenBSD software collection? Is it comparable to what you are saying about FreeBSD or is there is sizable difference? ---------------------------------------------------------------------- piisfour · 2018-10-29 22:36 How does OpenBSD* do relating to security, software repositories, and ease of use for not extremely technically or geeky-minded users? Edit: sorry - meant to say NetBSD. ---------------------------------------------------------------------- piisfour · 2018-10-29 22:38 I seem to have noticed fhat people posting with "yeah" usually give wrong to superficially inexact answers. Not trustworthy at any rate. ---------------------------------------------------------------------- qci · 2018-10-29 22:56 I don't own a modern laptop at the moment, but I have got one that works flawlessly with OpenBSD, even hibernate and encryption together. OpenBSD is much better in this case. OpenBSD has got a much smaller amount of packages. But it could be enough for many people. I miss a working version of Darktable. It's unaccelerated and horribly buggy on OpenBSD. Also gphoto2 does not support USB3, so I would wait very long to download 100 photos from my camera. I like both BSDs to be honest. OpenBSD emphasizes correctness. FreeBSD emphasizes applications. FreeBSD has also some top features like ZFS, Bhyve and Jails. In most cases I choose FreeBSD for PC workstations. On laptops... it depends... ---------------------------------------------------------------------- LocalRefuse · 2018-10-30 00:13 if someone has a specific case where netbsd noticeably underperforms we're interested to hear & fix it :-) ---------------------------------------------------------------------- thatstevelord · 2018-10-30 09:57 > Is driver support for OpenBSD bad? No, but OpenBSD does not support devices where binary blobs are used, and where NDAs have to be signed to access docs, they refuse to sign them. FreeBSD on the other hand has support for a wider range of drivers because they compromise on binary blobs and sign NDAs. > Is performance of FreeBSD noticeably better than that of OpenBSD, in normal conditions? That's a subjective question. The best thing to do would be for you to try both on the same hardware with the same workloads and find out for yourself. Anecdotally, I've found FreeBSD Bhyve more performant than VMM, but that's not an apples to apples comparison. ---------------------------------------------------------------------- thatstevelord · 2018-10-30 10:00 For concrete data about security, [this](https://media.ccc.de/v/34c3-8968-are_all_bsds_created_equally) provides an interesting starting point. If you'd like to produce concrete data on the rest, that would be nice. ---------------------------------------------------------------------- piisfour · 2018-10-30 17:26 That's not a subjective question. Surely this can be observed in an unbiased way - as you are in fact suggesting yourself. I am not a really geeky person, just someone who needs the internet. What are binary blobs? I'll pass on the rest but binary blobs got me curious.. ---------------------------------------------------------------------- thatstevelord · 2018-10-30 19:23 > That's not a subjective question. Surely this can be observed in an unbiased way - as you are in fact suggesting yourself. You can perform benchmarks on the same hardware with different OSes, e.g. Sysbench etc. but that's going to give you numbers that aren't representative of actual real-world performance. I picked out Bhyve and VMM as a specific example. Bhyve is way more advanced than VMM, so comparing the two for performance is likely to see an advantage for Bhyve. > What are binary blobs? Start [here](https://en.wikipedia.org/wiki/Binary_blob). ---------------------------------------------------------------------- piisfour · 2018-10-30 22:44 For me too. A mystery has been solved for me. ---------------------------------------------------------------------- piisfour · 2018-10-30 22:55 Firefox too here, about 240-250 tabs. I used to have more. The last time I was using Pale Moon, I had about 700 (seven hundred) tabs open. Pale Moon is far more efficient than Firefox in that respect. It is just getting a bit more slow at this point. ---------------------------------------------------------------------- NicheArchitecture · 2018-10-31 01:52 > 700 (seven hundred) What a mad lad! ---------------------------------------------------------------------- zmyrgel · 2018-11-01 15:32 https://networkfilter.blogspot.com/2014/12/security-openbsd-vs- freebsd.html there's some security comparisons between FreeBSD and OpenBSD. ---------------------------------------------------------------------- piisfour · 2018-11-01 22:17 Thanks. I will check it out. At this moment however - after having read much of the info provided in this thread, NetBSD looks like the distro having the most going for it.... ---------------------------------------------------------------------- piisfour · 2018-11-01 23:39 No kidding. ---------------------------------------------------------------------- piisfour · 2018-11-02 00:12 OK thanks for that info. But how does that make my question subjective? ---------------------------------------------------------------------- thatstevelord · 2018-11-02 09:21 I can explain it for you (as I did), but I can't understand it for you. Any comparison has to be apples to apples. I highlighted the example of Bhyve vs VMM as something that would appear apples to apples but is in fact apples to lemons. If you compare Bhyve to VMM, Bhyve will be more performant when running a Windows guest, as VMM doesn't support Windows guests at all. So, again. Set up both on the same hardware, run some tests with the loads you use and measure against the metrics you feel are important as best as you can. I think we're going in circles here so I'm going to disengage from this discussion. Hope you find the metrics that matter to you. ---------------------------------------------------------------------- [deleted] · 2019-01-16 16:35 Your troll is terrible...! xD ---------------------------------------------------------------------- poshpotdllr · 2019-01-16 17:04 you went back 3 months to put your name next to mine... im pretty sure im god tier to you at least. also im not trolling. i think netbsd is stupid, freebsd is an abomination, dragonflybsd is artwork, and openbsd is a religion for the enlightened elite. i told you virtualizing an entire slowaris kernel to make a frankenstein conglomerate for nothing more than ZFS support is a fucking abomination and you still asked me to give you examples of bad code. you are not part of the enlightened elite and openbsd is not for you. imagine modularizing some terrible architecture into tiny parts. then assign those tiny parts to the best programmers on earth and dont tell them what they are working on. the result is kind of like freebsd, except the programmers are mediocre because it is open source and nobody with half a brain and half of an understanding of computer science would waste their precious time contributing to a fucking abomination. see you again in 3 months when you cant resist putting your name next to mine again noob. ---------------------------------------------------------------------- [deleted] · 2019-01-16 17:17 >i think netbsd is stupid, freebsd is an abomination, dragonflybsd is artwork, and openbsd is a religion for the enlightened elite Oh man, you are free to think whatever you want. >....is a fucking abomination and you still asked me to give you examples of bad code You just pointed out to the head of FreeBSD tree. That proves nothing more than "I don't care, my opinions are fact, no matter what". >imagine modulating some terrible architecture into tiny parts Terrible architecture? Which one? for whom? >.....their precious time contributing to a fucking abomination. At least, those people are still doing better than shitting all around as a troll. And you know what? Nobody cares what you think, what I think. \*BSD has been in abomination and dying since last 20 years. Yet it's not dead. In fact, my whole university migrated from Linux to FreeBSD this year. Besides, even according to you, \*BSD is already dying, so why bother? Let it die, and laugh in the corner silently, maybe? AFAIK, according to game theory, there are two direct possibility, when a player wants opponent to be dead (and quickly eliminated), abandoned... or whatever 1. Opponent has too much potential power to overtake something. 2. Player is suffering in massive insecurity towards own decisions. ---------------------------------------------------------------------- poshpotdllr · 2019-01-16 17:25 >At least, those people are still doing better than shitting all around with as a troll. thats not true. they are being made fun of by someone who is elite, specifically for their failures at what they love the most, and that should hurt their feelings for the betterment of the software community. >And you know what? Nobody cares what you think, thats not true at all. anyone who is on my level would be fucking devastated if i ridiculed them. if theo made fun of my architecture in a public forum i think i would never touch a computer again. >what I think. *BSD has been in abomination and dying since last 20 years. Yet it's not dead. what are you a fucking holocaust revisionist? >Infact, my whole university migrated from Linux to FreeBSD this year. university of auchwitz? >Besides, even according to you, *BSD is already dying, so why bother? Let it die, and laugh in the corner sliently, maybe? AFAIK, according to game theory, there are two time, when people want opponent to be dead (and quickly eliminated), abandoned... or whatever personal amusement seems to be lost upon you. helping noobs avoid insanity also has value, but its nothing compared to the power of personal amusement. ---------------------------------------------------------------------- [deleted] · 2019-01-16 17:27 Thanks for verifying that you are trolling! xD ---------------------------------------------------------------------- poshpotdllr · 2019-01-16 17:38 talking shit based on objective complex technical analysis and trolling are 2 different things. humor doesnt make me a troll, its just a side effect of my genius. ---------------------------------------------------------------------- rehcla · 2019-01-20 11:59 This is why I prefer OpenBSD far over FreeBSD: ​ \- What works on OpenBSD keeps working and it is rock stable! OpenBSD Current is even more stable than lets say TrueOS \- OpenBSD has very good documentation and a helpful IRC community \- OpenBSD has PLEDGE \- OpenBSD has UNVEIL \- OpenBSD has W\^X \- OpenBSD does periodic audits of it ports \- OpenBSD has Theo de Raadt who is a brilliant programmer and reliable person with a integer character \- OpenBSD has no Code of Conduct with some weird ideas... \- OpenBSD has comparable hardware support to any other \*BSD \- OpenBSD has more current versions of software / DEs like GNOME 3... ​ ​ ---------------------------------------------------------------------- knightjp · 2019-03-24 06:34 I just tried OpenBSD on an old laptop. Now I am quite new to the whole BSD scene. I've dabbled with FreeBSD here and there. In fact I just had FreeBSD working well on the laptop. But the machine is more of a test bench, just to see what I can do with it. I like the performance on FreeBSD with Openbox window manager, etc. What I liked about OpenBSD was that the graphics drivers were installed out of the box as was the X Window system and the display manager "xenodm". I'm not sure, but I liked it better than the xdm that I was using on FreeBSD. I wasn't crazy about fvwm and would have prefered just the standard X window system over something like that, but it was easily remedied. But there is a reason that I chose to go back to FreeBSD. During the installation of OpenBSD, I couldn't setup the wireless. It would always say "no link... "; don't quite know what that means. I find the whole installation of OpenBSD not quite as straight-forward or as easy to understand as FreeBSD's installation. Its not easy for us new guys to know what is actually going on. As per installing packages, I found OpenBSD quite fast in installing packages from the net. I could not get the wireless to work though. I guess if I had a choice, I would use OpenBSD as a desktop and FreeBSD as my laptop. But I believe that there was someone who did the opposite. When setting up the wifi on FreeBSD I used "wifimgr" (which is not available on OpenBSD)... what GUI wifi manager do we use then? In terms of performance, I think it all depends on the hardware that you are using. Personally I didn't find a difference in between the two.