From owner-freebsd-questions@freebsd.org Sun Jul 26 02:46:36 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C696737A030 for ; Sun, 26 Jul 2020 02:46:36 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BDnQ35cqrz40gy for ; Sun, 26 Jul 2020 02:46:35 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-io1-xd2f.google.com with SMTP id s189so6372115iod.2 for ; Sat, 25 Jul 2020 19:46:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=74aNJRDG9kNPWRNYURiXgjigQacE4ipcFlkwSeVnHQk=; b=Zyvb+RwScpFaEj9zuocymilCgzUscayzMQcG6zqRd90hzwqU8qldShg73yho0V5XrI xD+sYzfHr8UviYZCdSnYYUiLeuCmZyVZz/tMB85eaF4CV/ijUohBJqB2wDrbeuzWpVsF qGdeX33CVGyNW3DXeUO2Mg1R6yFrioaMdmeCRMi1xIhvwKjlUcboVtOvjBAys+cmUTLK ynBUTFJGTph3B2t1gBHL3Ygkpu49jBgr35bXGYMFUMx7EuU8oK8LCJOcCOZEEWhDoTx5 NJl9R0iAbJsuNpQYfSd29/kGD1BsGDuD2E+12NwY/en1sr/VG/jh7wY1hd1TfhCJ7SYg a5bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=74aNJRDG9kNPWRNYURiXgjigQacE4ipcFlkwSeVnHQk=; b=iQ8QO7arqOQ7/u7njXG8Xpwckk6/YDZUugZIB+JCC+Ng6Zmk03YU0Q+dPluZcmkp/7 x6o69xzJECWu3yJE7dhxVvbwqojOPMSd6lMMeni1bnndx9CiydcuasBoqjssufnCg/er Fc6OhTCDeqNCjFA7w80vMNDonuswFHGvYu7d5of7ICqe5H1KxQMEAM6314T/Q1tViGsE cZlkAl/JoIy5uQFZb8iOJ7VGMQanE+5bU+yc80XUNifNgbTKakw5/EJAFx1mNonsmDAC sTQ0qe8zilUcd12/g3f28BGigc69n7uFlC7JT0oN6AB4vUrQjK7IS7jgXUgEpba2PyiK /Drg== X-Gm-Message-State: AOAM533nhB70RkatsYdMkhqprgzNCAwFKVnU68v8E/82/zjK2kuNLC1E kj4oFYp11VyYvCinSPQ7LzXq5U2gebSVhYr2OdA= X-Google-Smtp-Source: ABdhPJzPo6WSWurvex6tDChmlgyw6RAtjEM+WIh1+/w1YaJKFcGjz44Ipxk63NYqIgNFF+NT7V9YJHl05WF3CBcerow= X-Received: by 2002:a02:c789:: with SMTP id n9mr18826084jao.40.1595731594536; Sat, 25 Jul 2020 19:46:34 -0700 (PDT) MIME-Version: 1.0 References: <20200214204838.360c8f624397c659946bd764@sohara.org> <20200215063818.GE1482@admin.sibptus.ru> <20200215083359.367d8a3e9ddb4942df67d5b5@sohara.org> <58202623-bbf7-eda0-5cb5-fb4749e91e20@watters.ws> <6318251A-973A-4DEC-9271-12333EB11F7B@kicp.uchicago.edu> <20200725152412.GJ92589@admin.sibptus.ru> <20200725162403.GA4721@admin.sibptus.ru> <20200725182554.deffc63058a7c9f6d343ef06@sohara.org> <04df312d-9b2b-1873-2117-79a49e089bd9@kicp.uchicago.edu> In-Reply-To: <04df312d-9b2b-1873-2117-79a49e089bd9@kicp.uchicago.edu> From: Aryeh Friedman Date: Sat, 25 Jul 2020 22:46:23 -0400 Message-ID: Subject: Re: Ask stupid questions and you'll get a stupid answers, was: Technological advantages over Linux To: Valeri Galtsev Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 4BDnQ35cqrz40gy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Zyvb+RwS; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::d2f as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-3.02 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.003]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.03)[-1.033]; NEURAL_SPAM_SHORT(0.02)[0.017]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2f:from]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2020 02:46:36 -0000 On Sat, Jul 25, 2020 at 9:06 PM Valeri Galtsev wrote: > > > On 7/25/20 12:25 PM, Steve O'Hara-Smith wrote: > > On Sat, 25 Jul 2020 13:18:08 -0400 > > Aryeh Friedman 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