On AWS Firecracker
How about on baremetal?
Best I can do is 8 seconds.
I like the idea of FreeBSD, but I can’t see the point of giving up on my Linux conveniences to switch over to it. What advantages does it provide, and are they worth the switch, considering I’m losing a lot of software, as well as any semblance of gaming?
The advantage is that you can rebrand it, close the source and sell it as your invention.
Btw, did you know that Apple invented Unix?
Apple invented Unix?? What the hell are you talking about?
Ken Thompson, Dennis Ritchie, Brian Kernighan, Douglas McIlroy, and Joe Ossanna at Bell Labs developed and invented Unix.
This was a joke about how Apple just takes open source stuff (in this case, they used FreeBSD as a basis for MacOS/iOS/iPadOS/tvOS/watchOS), rebrands it and then claims it was theirs.
The source code used to be cleaner and easier to customise if you needed something specific. And if you leaned that way (of closing up everything), the license is much more lenient of course.
Other than that, nothing much. It’s interesting for the sake of it, but bsd has lost the Unix race (which isn’t necessarily a good thing).
At some point, the same could have been said with win -> linux.
Yes but the advantage of Linux over windows is obvious. It’s open source. Where’s the advantage of FreeBSD? Companies can make their own proprietary fork and give nothing back?
What advantages does it provide
ZFS, mostly. There are some smaller peripheral things (like much better manpages), but these days the big one is probably ZFS. Zero licensing conflicts allows it to be an integral part of the kernel.
like better manpages
I want them now! I want the better manpages! Has someone decided to create inproved manpages for Linux? I think this could be a great idea for a project or an organisation. Manprove, the organisation to improve Unix manual pages.
Isn't this actually impossible because manpages are maintained by distros? And the benefit of freedbsd being everything is created by the same team? Aka FreeBSD being a complete distro and not just a kernel?
FreeBSD 13.0-RELEASE switched to the OpenZFS implementation[1]:
The ZFS implementation is now provided by OpenZFS. 9e5787d2284e (Sponsored by iXsystems)
So no big differences now, except for the licensing.
Can you explain the differences between the license like I’m five?
Linux is licensed under the GPL, which is described as "copyleft." The GPL requires that if you want to use GPL code you need to license your modified code under the GPL.
FreeBSD is licensed under the BSD license, which is a permissive license. Basically as long as you stick the license statement in your documentation you can do whatever you want with BSD-licensed code. This is why commercial uses (like the Wii's OS) tend to be BSD-based rather than Linux-based.
Yeah, that was the reason holding me back. It was the boot up time.
You kid and aren’t wrong, but this was a huge metric when I was first getting into Linux. I remember seeing it prodominantly posted on Ubuntu’s site … I wonder which version… I think 4 or 6?
deleted by creator
Your local power plant approves of this mesaage!
The more interesting story here is that in 2023, FreeBSD was still using bubblesort. They made it go 100 times faster than a really slow thing, and we’ve known it’s slow for a long time.
“You may not like it, but this is what peak performance looks like.”
I wanted to comment on this being a cool read, but there’s too much happening in this thread that is beyond my knowledge. But anyway, cool that this guy is optimizing things like a mofo.
Still dont get the point of freebsd.
Unbreakably stable, cohesive (no need to fit and manage tens of different pieces to get a get a functionning OS), performant, bhyve, BSD licensed (can be a pro or con tho). It has quite a lot of stuff that makes it worthy of Linux or other BSDs.
EDIT: Almost forgot ZFS.
Not to mention that generations of Playstation and Nintendo consoles run on top of their work, and Apple’s macOS also has deep roots into the BSD history
There’s an old saying: “Linux users use Linux because they hate Windows. BSD users use BSD because they love Unix.” Obviously this is not true for every individual user, but I think it describes a trend or pattern.
FreeBSD is the tool you don’t know you need, and then suddenly there’s the perfect use case, because those BSD alchemists never get tired of tinkering on it and suddenly BSD overtake Linux or Windows in some areas. You think Linux is everywhere, same with BSD its just better at hiding.
and then suddenly there’s the perfect use case
Yeah but like WHAT?
Like when you want to have a fully-fledged OS that you can rebrand, close the source and sell as your invention.
The BSDs are very popular for wifi routers and modems
The NAS community seems to have standardized on BSD for reasons outside of my understanding. If you’re looking to roll your own NAS you might end up with BSD rather than Linux.
ZFS is baked in by default and the os is rock solid stable. It follows the same philosophy as Debian really, only the most tried and tested code makes it into the os.
How can I know? it’s something people need to research when they choose OS for their projects.
BSD overtake Linux or Windows in some areas
Any examples? besides the well known security, lower footprint and simplicity. genuinely curious.
ZFS? pf?
The tooling is just superior in some cases.
zfs is available on Linux just fine
I know the points you mentioned but I don’t really follow much about BSD, but I have respect for it and knows it’s there the day I need it.
25ms boot time?
Much smaller footprint than Linux. If you’re running a server, it’s much less vulnerable to malicious exploits.
I’ve ran a freebsd based version of TrueNas on consumer hardware for well over 400 days straight. It’s the most stable system I’ve ever run.
How do you mean? Like, how is this different than someone saying “I don’t get the point of Linux”?
Haha yeah actually I wonder whether people actually did ask this when Linux started making the rounds. If I read the history right BSD was already almost 15 years old at the time!
It was, but there wasn’t an i386 BSD yet (which is where OpenBSD and NetBSD enter the picture). Linus Torvalds has said if OpenBSD had been available when he started the linux kernal, he would have just used that instead
BSD that’s easier to run in places than OpenBSD or NetBSD
Still , as with Linux, you spend hours in configuring something that in windows just installs and runs … not saying windows is the best OS , but as all companies … it is less time consuming and everything just runs on it.
Kind of hard to believe people still say stuff like this…
There is plenty of stuff that Linux does much better than Windows, for example containerized service and applications, which is why Windows needs a Linux subsystem at all. It’s possible that the main reason you think Linux is bad is that you aren’t as familiar with it.
The biggest downside to Linux remains official hardware and software support, though that’s a business economics issue and not a technical limitation.
I honestly could not imagine a circumstance in which I go back to using Windows or switch over to Mac, because Linux does basically everything I want and then some.
When was the last time you ran a distro and how awful was the hardware to have this experience? In the past 10 years all of them have been fairly “hit the ground running” for me unless it had something weird like Nvidia Optimus
Anything involving Nvidia, really.
I installed Xubuntu on an old laptop with a Geforce 635M. During installation I checked “Install proprietary drivers”. So it installs the current Nvidia driver instead of the correct legacy one for my GPU, even though it obviously would be able to tell which GPU I have installed.
So then I uninstalled the current one and installed the correct legacy one, but the driver still doesn’t work. Took me quite a while that apt remove/install only removes/installs the packages but doesn’t actually load/unload the drivers from the kernel.
So I loaded the legacy driver into the kernel, but it still didn’t work. Apparently, the current driver takes precedence, even though it doesn’t even support the GPU at all.
In the end I had to reinstall the current one, unload both drivers from the kernel, uninstall the current driver and load the legacy driver.
This took me a few hours and I am pretty sure that someone who doesn’t have an IT degree would probably just not have a working GPU and that’s that.
Then I spent a few hours to get Optimus to run, but couldn’t figure it out. So now this laptop cannot be used without a battery source for any decent amount of time, because the GPU is constantly running and consumes massive amounts of energy just to render e.g. a browser window.
That’s just Ubuntu being broken every time something slightly out of the ordinary happens. That is normal.
In the context of the post this one is interesting. Nvidia packages their driver for FreeBSD as well, and there is potential that it works better there because they aren’t actively fighting against it, as the Linux kernel does (that doesn’t mean it really does run better, but potentially).
deleted by creator
I don’t know what sort of bubble people live in, or if people convinced themselves that a computer getting slower over time because of OS clutter is normal, but every Windows PC I ever had had shit ton of problems, getting slow to the point of feeling like I have a $100 laptop instead of a $2000 one being the most common.
And can’t say MacOS is much better, at least judging by my gf getting freezes all the time and having to reboot by holding the power button.
More context please. There are a ton of things that “just work” on Linux, just like Windows. I have spent hours troubleshooting and configuring things on Windows as well.
With either OS, time spent configuring and installing things is heavily dependent on the experience of the user and their ability to interpret logs and error messages. With most OS’s, configuration and troubleshooting is just a matter of “knowing where to look” combined with understanding how the OS itself works.
Server services are much easier to configure on Linux, IMHO. Additionally, I find configuration to be much more flexible and (generally) more intuitive than Windows but that is my opinion. However, I have worked with both Linux and Windows since they were created, so I have a good number of years of experience.
My point is that it really depends on what you are wanting to do.
(Rant: Deep troubleshooting in Windows has always sucked and the methods to do so have changed a thousand times over the years. It’s a royal pain to keep up, TBH. Very rarely have I needed “reinstall Linux” because something was broken beyond fixing.)
The guy before isn’t exactly wrong.
Many things that “just work” on Linux are things you just don’t do on Windows. E.g. swapping the DE or theming/customizing the whole thing usually works great out of the box. But on Windows you just don’t do that.
On the other hand, getting e.g. legacy Nvidia drivers working correctly and setup so that it automatically switches between the power-consuming dGPU and the power-saving iGPU is a major pain in the rear. On Windows that just works. Mostly Nvidias fault, but to the user who has to deal with the situation it doesn’t matter who is at fault.
And in general, if you come from Windows with a lot of Windows experience and then have to dive into Linux, you mainly notice the things that don’t just work on Linux.
Also, fixing problems in Windows might take you through the registry or arcane wizards. But you hardly ever get into CLI and never into config files. So if you swap over to Linux, where almost any help you find online will go straight into CLI and config files (even if a GUI solution would be available), that can be pretty jarring.
I’ve been using Linux professionally for ~15 years and privately for ~5. But I still remeber getting into it very vivdly.
I don’t want to agree with this comment. And in fact I would say most of the time I don’t. Most stuff “just works” nowadays. But I do occasionally have to fight with something I wouldn’t in Windows. Easily worth it IMO but that’s not going to be everyone’s take.
It always funny to me to hear this sentence.
Just look how it is to install software on Windows.
You need to open the menu and type the browser name(/click on a shortcut), open the browser, search for your software, check you’re clicking on the right site and not some scam website, [sometimes you need to go few pages until you end up in the downloading page], clicking on the download button, and… *if* the download completed successfully… there’s still more…!
Now installing…
On Unix-like systems-
<package-mangager> <install-command> <software-name>.
Ex:
apt install i3
. That’s it!Yeah I’m pretty sure I could go Google and search for notepad + website and download plus install before you finish typing that. I use Linux Mac and Windows and Windows is definitely the easiest most user friendly. Mac is second (And by far most restrictive os) with Linux last for ease of use. Doesnt mean it’s bad but bro go tell my mom to type what you said and your argument crumbles. I can tell her to do what I said and she can get by.
You genuinely think it’s faster to make a Web query, wait for search results to show up, click and wait for the correct webpage to load, navigate to the download page, download the exe, run the exe and go through the pop up menu than it is to type
apt install x
?Yeah because I’d have to Google how to install X on Linux so I’d be stuck reading till I found the command. You don’t just guess what X is you either know or you gotta look it up. Most people are used to windows and it’s fine. Linux people that hate windows are just weird…they all do cool things but y’all crazy if you think 95% of people will be faster on Linux in the current state of the world. We have all been using Windows for 30 years.