Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2020 22:46:23 -0400
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        Valeri Galtsev <galtsev@kicp.uchicago.edu>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Ask stupid questions and you'll get a stupid answers, was: Technological advantages over Linux
Message-ID:  <CAGBxaX=SR_sm7Pa5KXmTT=P6SCpvuyg9GhVa9WkxdPJM_HUBrg@mail.gmail.com>
In-Reply-To: <04df312d-9b2b-1873-2117-79a49e089bd9@kicp.uchicago.edu>
References:  <20200214204838.360c8f624397c659946bd764@sohara.org> <20200215063818.GE1482@admin.sibptus.ru> <20200215083359.367d8a3e9ddb4942df67d5b5@sohara.org> <58202623-bbf7-eda0-5cb5-fb4749e91e20@watters.ws> <CAEJNuHxbFSPBB7keSrBufpg=RsgQ8EPK_fvzt8XBROLNKyN_sw@mail.gmail.com> <6318251A-973A-4DEC-9271-12333EB11F7B@kicp.uchicago.edu> <CAEJNuHxC7i%2Bq7cq65=my6mJZDdiK4gpQsKjMU1nvsm=Ri4On%2Bg@mail.gmail.com> <ce61b5e9-b71c-e5b7-c64d-f79884c87435@watters.ws> <20200725152412.GJ92589@admin.sibptus.ru> <CAGBxaX=Ktr-pqtT8FU37ajkYonVLYT_WhSenn23Tj5b=i0d-8g@mail.gmail.com> <20200725162403.GA4721@admin.sibptus.ru> <CAGBxaXmBZcCWqAZFR9OSyRGrqGFU%2BqCAZ8CfOi=0oXAmf-2=tA@mail.gmail.com> <20200725182554.deffc63058a7c9f6d343ef06@sohara.org> <04df312d-9b2b-1873-2117-79a49e089bd9@kicp.uchicago.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 25, 2020 at 9:06 PM Valeri Galtsev <galtsev@kicp.uchicago.edu>
wrote:

>
>
> 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@gmail.com> 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, http://www.PetiteCloud.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaX=SR_sm7Pa5KXmTT=P6SCpvuyg9GhVa9WkxdPJM_HUBrg>