6 ms·
The Move from Linux to FreeBSD
- erkose 12y agoMany people are moving from linux to *bsd in protest of systemd.
- pmoriarty 12y agoAnd for a mature, stable ZFS implementation.
- Rovanion 12y agoWhich ZFS on Linux is not? I guess it depends on your definition of stable due to the upgrade from libzfs1-2 but the richness of the Debian packaging system is just too good to pass up for me.
- danieldk 12y agoWhich ZFS on Linux is not? Given the licensing issues of combining GPL with CDDL code, ZFS will probably never be included in major distributions (assuming that the license will not change), so they will never have the same amount of integration as e.g. FreeBSD has in the installer.
- jonhohle 12y agoHave you used other packaging systems? I've always liked ports (or portage in Gentoo) much more than apt. I'd go as far to say, I find apt infuriating compared to those.
- johnny22 12y agokinda funny though.. as you end up with a system that is developed more like systemd is.
- pmoriarty 12y agoCould you elaborate on that?
- rcxdude 12y agoOne single repository containing many different components of the OS, which are not designed to be interchangeable. Basically the biggest complaint most systemd critics have ('monolithic!').
- andreasvc 12y agoThat is not what monolithic means. Monolithic is opposed to modular. Just being in the same repository does not make components tightly coupled etc.
- the_why_of_y 12y agoMonolithic is _not_ opposed to modular. Here's a list of systems that are both monolithic and modular: * Linux * the FreeBSD kernel * the Solaris kernel * Apache HTTPD * Postfix * OpenJDK * XOrg * EMACS * LibreOffice A modular, non-monolithic alternative to the kernels would be MINIX or HURD.
- andreasvc 12y agoMonolithic may have a specific technical meaning in the context of kernels which is not opposed to modularity, but in general the two can be considered opposites. Monolithic is simply "of one piece", while modular means something has separate, changeable pieces. If you disagree it would be more enlightening to tell me your definition instead of a list of exceptions, because right now I don't see why they are.
- justincormack 12y agoBut they are in the same repo because they are tightly coupled. Some of the code is shared between kernel and userspace for example, and stuff is versioned to match, as the BSDs do not have the strict userspace compatibility guarantees that Linux does, so things do change (though there are compat shims).
- lowglow 12y agoThat's weird. I haven't kept up with the latest *nix gossip, but isn't the very principle of the system is that it is open and fully configurable/modular/extensible? What does it really matter in the end what system you use if you can make whatever system your own? (serious question)
- hobofan 12y agoIt matters because if it "invades" your distribution of choice. Imagine you've been useing a distro for years and grown to love it and now systemd is being forced upon you of you make the next major upgrade. Right now it isn't really that bleak, because some distros still give you a choice, but people are worried that the choice will be sacrificed in favor of easier maintanability in the future.
- danieldk 12y agoIt matters because if it "invades" your distribution of choice. Imagine you've been useing a distro for years and grown to love it and now systemd is being forced upon you of you make the next major upgrade. Like ELF, glibc2, egcs, devfs, hotplug (the old script-flavored version), udev, eglibc, etc. I am mentioning these, because all of them caused a controversy with a vocal minority. It is evolution. None of these are controversial anymore. Some of them were replaced, because they were bad ideas in hindsight (devfs). By definition any fundamental part of the system (such as init or the C library) that changes is 'forced upon' the user.
- na85 12y agoYour quotes around 'forced upon' make it seem like it is not really being forced onto users. Gnome users for example are getting shafted now that systemd is a dependency for the gnome DE.
- dnlrn 12y agohttp://www.islinuxaboutchoice.com/ http://www.islinuxaboutchoice.com/
- SFjulie1 12y agono. And I hope not. I moved to FBSD for positive reeasons: ipfilters and stuff vs packetfilter and ezjails. It makes you feel linux still cool, but you want that simplicity and power back (jails vs VM). I must admit shellshock and last security flaws also made me aware of my love for bloatwares. I find it sane to question my former choices.
- byuu 12y agoMany people are leaving Linux because of systemd (among other issues); but are choosing FreeBSD because of ZFS, pf, geli, jails, dtrace, bhyve, etc. (I haven't used the latter two myself yet, but the rest are fantastic.) In the end I've gained more than I lost, it's just that a catalyst was needed to get past the inertia of changing operating systems again.
- riquito 12y ago> Many people are leaving Linux because of systemd Do you have any number to justify this statement? I also note that all the tools you mentioned are of interest mostly in a server context (of course if you manage servers you will happily use them on your desktop too).
- icantthinkofone 12y agoMy guesstimate would be based on the number of posts on the FreeBSD forum(s) and mailing lists I visit where there has been a noticeable increase in the number of questions that mention leaving Linux due to the systemd debacle or wanting something that's not trying to become Windows or a XBox.
- keithpeter 12y agoQuote from OA; "In layman's terms, the hardware interface is called Linux, while the rest of the part: the shell, core tools, etc are GNU.It's a piece from there, another from somewhere else and merging the whole thing into one collectively known as GNU/Linux. [...] In FreeBSD, the whole thing is a complete unit." I think the OA will be quite happy with a mature systemd based GNU/Linux OS. Seems to like complete units. PS: 'Many' is a hard concept when the OS is freely downloadable and not particularly monitored. One hopes the refugees actually make donations/buy DVDs.
- fulafel 12y agoThe TLDR: The biggest difference was memory usage: "FreeBSD is just too good at managing memory. My server earlier used to consume over 1 GB of memory for running PHP, MySQL and Nginx. Now, it doesn’t even touch 500 MB! It’s always less than 500 MB. Everything is just same, configuration, etc. Only OS changed" Later in the article, a recount of desktop memory shortage issues under Linux and much improvement under FreeBSD. He even reports single applications like Chromium performing better and with no swapping.
- naner 12y agoI'm sure FreeBSD is probably better at memory management than Linux (considering his Desktop issues) but wouldn't it make sense for the OS to nearly max out memory usage as long as applications can make use of it?
- LeonidasXIV 12y ago> wouldn't it make sense for the OS to nearly max out memory usage as long as applications can make use of it? Yes, Linux uses spare memory extensively as caches which can be dumped immediately as applications need the memory for usage. Unfortunaltely, he didn't mention how he measured memory usage on both OSes.
- Flow 12y agoOh come on! This is the second comment in this thread that seem to claim Linux is so special and glorious. FreeBSD definitely does this, maybe even 3BSD or 4BSD did this. Functionality like this is basic OS design knowledge.
- CHY872 12y agoYes, exactly right - so it makes his conclusions sound fishy. I don't think anyone's trying to say that Linux is so special and glorious (beyond BSD).
- deleted 12y ago[deleted]
- LeonidasXIV 12y agoIt's odd, because he says that GNU can't run without Linux (it can, see Debian kFreeBSD, which has a FreeBSD kernel and GNU userland, also see the numerous GNU ports to Win32, starting with Cygwin and MinGW). He also says that Linux requires GNU which is AFAIK not true either (Android uses Linux but replaces the userland with its own Apache-licensed tools).
- justincormack 12y agoNot surprised people dont know that - Debian kFreeBSD is pretty obscure, and he had heard of HURD. And Android is still slightly a Linux fork, even if it is gradually converging, while the other non Gnu userspaces are not mostly entirely non GNU yet.
- agumonkey 12y agoAlso, few monthes ago kFreeBSD was discussed if it may be supported or not in the future. https://lists.debian.org/debian-devel-announce/2014/09/msg00002.html https://lists.debian.org/debian-devel-announce/2014/09/msg00... http://www.reddit.com/r/linux/comments/2hvikt/kfreebsd_port_is_in_danger_of_being_dropped_from/ http://www.reddit.com/r/linux/comments/2hvikt/kfreebsd_port_...
- justincormack 12y agoI do find it a bizarre thing, cutting yourself off from the main FreeBSD community.
- _delirium 12y agoIt's also not that uncommon to run a largely GNU userland on non-Linux-based distributions. Some of the Illumos distributions default to the GNU rather than the Solaris-heritage userland, for example (I believe SmartOS is one). And you can install most (all?) of the GNU userland on FreeBSD too, if you prefer it.
- peatmoss 12y agoI took that to mean that, in the GNU/Linux context, the two were interdependent.
- tux 12y agoHere we go again, some one telling us one os is better then the other ^_^ Never listen to anyone saying that. Simply use the OS that works best for YOU period. Few replies here where correct, linux uses more memory because it works like a cache, to not use HDD so much and if you have enought memory like 8GB+ you don't have to use swap at all.
- obviouslygreen 12y agoNever listen to anyone saying that. Better suggestion: Be careful when listening to anyone making absolute judgments based on generalizations. Some operating systems, just like some applications, are better for certain purposes (often because they were designed and built specifically to be suitable for those purposes). "You can do anything with anything" is a very idealistic oversimplification that's implied by the idea that no OS is ever better than any other.
- danieldk 12y agoFirst of all: what makes you think that FreeBSD does not do disk caching? https://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/vm.html https://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handb... enought memory like 8GB+ you don't have to use swap at all. ...depending on usage. We have 64GB+ machines at work that regularly go swapping. It depends on various factors: how quick do you want the OOM killer to kick in, how slow do you want the system to get as a result of swapping, and how much budget is there available to buy machines that can take more memory.
- assente 12y agoHere is a comparison between the current FreeBSD vs Linux performance/features http://assente.vega9.com/it/freebsd_vs_linux_2014_performance_and_features http://assente.vega9.com/it/freebsd_vs_linux_2014_performanc...
- execat 12y ago> FreeBSD gave my computer a new life, otherwise I was nearly going to get a new desktop because of shitty performance. In other words, it saved me ₹35000+ No, it didn't save you any money. Delaying a purchase is NOT saving money.
- daurnimator 12y agosure it is. if you buy new hardware on a regular schedule (e.g. every 3 years), extending that cycle out (e.g. to every 5 years) saves you money.
- keithpeter 12y agoAnd you can do things like refresh (say) the one third of the desktop computers that need a higher spec (Cad, Video &c) every two years and then 'hand down' the older boxes to the other two thirds in stages. Worked quite well in one College I worked in a few years ago.
- wojt_eu 12y agoIt is saving, delaying a purchase that would be financed out of debt until you accumulate cash allows you to save on debt interest. Alternatively, if you already have the money you can invest them for a while and earn interest.
- agumonkey 12y agoCome on, the computer industry existence rely partially on cyclic purchases for that exact reason. My neighbor got a brand new SONY laptop so she could do .. everything I already do on my 2007 ThinkPad. And she can't so she pays me to fix her system from time to time. It's not far fetched to say that different OSes can and will save you money.
- deleted 12y ago[deleted]
- maurycy 12y agoIt is, hint: time value of money.
- deleted 12y ago[deleted]
- grigio 12y agoGoogle for "Freebsd vs Linux 2014 performance and features" to see other considerations about the current status.
- chx 12y ago> like how to tweak fontconfig to get clean & beautiful fonts, etc. That's quite something to drop just like that. Any links?
- XorNot 12y agoI just discovered the infinality patches. They are amazing and so easy on the eyes.
- ausjke 12y agoI applaud for this move, but I do embedded linux, need checkout NetBSD which is typically the embedded BSD, the concern is about all those drivers' support.
- justincormack 12y agoIt doesnt have as many drivers as Linux, but it is pretty easy to add them - does Linux always have the ones you want? It rather depends on platform.
- stefantalpalaru 12y ago> GNU is the userland Although important, GNU projects are a very small percent of the 2376 packages that make up my desktop's userland right now.
- sneak 12y agoHe claims it saved him $3500, but I just read a story about a guy squandering a few grand in billable time screwing around swapping one POSIX OS for another.
- AlexeyBrin 12y ago₹35000 (rupees) and not $ 3500 (US dollars)!
- danieldk 12y agoYou know, life gets pretty hollow when everything is 'billable time'. It's also fun to just hack and tinker. Also, if maximizing billable time is the goal, maybe the guy learnt a lot playing with another UNIX and increases his worth :p.
- ac2u 12y agoYou've put it better than I ever could. It's frustrating to see someone share an experience along the lines of "I earned X this weekend by exploiting a niche I completely ignored before and learned loads!", only for a commenter to inevitably come along and say "well, thats all well and good, but if you value your time at Y per hour you've actually lost money, not to mention the wasted opportunity cost of not using that time to become a rocket scientist and earning even more!"
- bradleyland 12y ago
- moron4hire 12y agoThis guy's issues aside, if you're interested in trying FreeBSD, but would like for a more turnkey experience, there is the PC-BSD distro that has the modern conveniences like a graphical installer and preinstalled window manager.
- olgeni 12y ago> The only things I miss are: Dropbox and Android SDK I am actually using devel/android-tools-adb with the SDK under Linux emulation and it works quite well.
- dorfsmay 12y agoI suspect the high memory usage OP saw on Linux was a combination of: - swappiness: they said they switched swappiness to zero but my guess is that by that time their mind was made up. Also, from the mention of swapping and the mention of apps being slow to come back to life, I really think this was the main reason for their memory issues. For reference, high swappiness will make the kernel will push memory for apps into swap to the benefit of caches. Default is 40, I have not seen one single case where that is a good thing in 12 ro 15 years. Do yourself a favour, make your first CM rule to switch swappiness to zero! - the myriad of small apps in a lot of modern Linux distro (pieces of systemd, pieces of gnome (even on servers!), dbus, etc...). They are minimalistic distors out there which use a very small footprint - the way memory is reported: If you look at free, the first line shows free memory as what's not in use by apps, cache nor buffers. If anything, free memory on the first line is memory that the OS is wasting (not using). If you want to know what is available for use by apps, you have to look at the second line (-/+ buffers/cache)
- Touche 12y agoI really love FreeBSD and use it for servers, but I wouldn't use it for desktop. It lags behind Linux quite a bit (which itself lags behind proprietary OSes) in things like driver support. I've found it very hard to use with modern hardware.
- jestinjoy1 12y agoI tried switching to BSD (PC-BSD) from Debian and then went back because I couldn't find out any better performance from BSD as compared to Debian.
- zobzu 12y agoLinux memory management is actually quite good. In particular the unified fs cache. I would think this guy had weird settings/tweaks and or more things enabled since he ran gentoo but misconfigured swapiness. The apps code is very close and linux doesnt magically needs to allocate more memory. What changes is just libc. Freebsd is one of my favorite OSes regardless.