Ask stupid questions and you'll get a stupid answers, was: Technological advantages over Linux

Aryeh Friedman aryeh.friedman at
Sun Jul 26 02:46:36 UTC 2020

On Sat, Jul 25, 2020 at 9:06 PM Valeri Galtsev <galtsev at>

> On 7/25/20 12:25 PM, Steve O'Hara-Smith wrote:
> > On Sat, 25 Jul 2020 13:18:08 -0400
> > Aryeh Friedman <aryeh.friedman at> wrote:
> >
> >> Prime example is
> >> all the crap that FreeBSD has had to import from Linux to make X work
> has
> >> made it incredibly unstable (I have to reboot 3 or 4 times a day if I am
> >> using KDE, Gnome or any other Linux originated desktop software usually
> >> due to it slowing to a crawl for no apparent reason [has to be resource
> >> leak of some kind]).
> >
> Hmm... I run FreeBSD workstation for Months (6 Month at least till
> security update really requires reboot), with Mate desktop. No trouble,
> nothing slows down. And I am not even considering myself lucky.
> Maybe you have some piece of software with memory leak (Oh, I just
> noticed you have said it yourself), and big enough swap space (like
> recommended 4 GB), and your machine starts swapping a lot. That can
> bring any machine to its knees. Until swap is exhausted, and system
> kills the offender.

Firefox, a terminal and a audio player (deadbeef) and thats it.   12
logical cores [AMD Ryzen 5 2600] 24 GB of RAM with 6 GB of swap backed by a
1 TB SSD.  The only thing I can think of is there is a HTML 5 game that I
often leave open all the time (one of those hurry up and wait multiplayer
strategy/war freemium games [Forge of Empires]) and that slows it down but
almost anything else I do besides the above also slows it down (for example
libreoffice slows the entire machine to a crawl if you select a cell range
in calc for copy/pasting [you don't need to actually copy and paste
anything just select the region]).   If I start mysql-server it makes the
machine go out to lunch if I am using the GUI at all.   I have an identical
machine that I never use X or any GUI on that runs 3 VM's with one of them
being my mail/print/nfs/dns/etc. server and not a single performance issue
with any of the VM's or host.  So the only possible conclusion I can draw
is it is X being extremely screwy on FreeBSD due to all the linux hacks in
it (this despite X's claim it will work on any POSIX machine with the right
video support).   As we move more and more towards wayland as being the
pixel driver it gets worse.

> Incidentally, I've got question for experts. How "Out Of Memory"
> situation is handled by FreeBSD. I only dealt with [memory] "leaky"
> things under Linux, and OOM killer there really does its job well (and
> its way of judgement I do know).

When out of swap and real memory it just starts killing of processes that
have not made any CPU requests recently.

> Valeri
> >       Yeuch, but it has nothing to do with making X work, X works just
> > fine for as long as you care to leave it running. I can't speak for Gnome
> > or KDE I don't use them, but with a simple WM X is as rock solid as it
> has
> > ever been.
The above is true regardless of WM or desktop, it is true of all Linux
derived GUI stuff.

TL; DR -- X and wayland even more so have become far too tied to Linux for
them to really be considered workable on any other OS.

Aryeh M. Friedman, Lead Developer,

More information about the freebsd-questions mailing list