Date: Thu, 8 Jul 2021 15:51:38 -0700 From: Mark Millard via freebsd-ports <freebsd-ports@freebsd.org> To: Tatsuki Makino <tatsuki_makino@hotmail.com> Cc: bob prohaska <fbsd@www.zefox.net>, freebsd-ports@freebsd.org Subject: Re: Too many pythons in poudriere Message-ID: <F9F60B07-49F3-441E-9CC7-1558B0C45CF6@yahoo.com> In-Reply-To: <4A6DD11F-6C9B-4BE9-81BF-F5B6A40CC08D@yahoo.com> References: <4A6DD11F-6C9B-4BE9-81BF-F5B6A40CC08D@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-Jul-8, at 15:47, Mark Millard <marklmi at yahoo.com> wrote: > From: Tatsuki Makino <tatsuki_makino_at_hotmail.com> wrote on > Date: Fri, 9 Jul 2021 05:59:52 +0900 : >=20 >> bob prohaska wrote on 2021/07/09 02:54: >>> Started a new swaplog: >>=20 >> Connect a USB mass storage device that you have no use for. >> Mount the file system in it. >> Create a file in that file system like dd if=3D/dev/zero = of=3D/mnt/somefile. >> Attach it to the memory disk like mdconfig /mnt/somefile. >> Add it to the swap. >=20 > Bob already has the swap space: >=20 > Device 1K-blocks Used Avail Capacity > /dev/da0s2b 1843200 26944 1816256 1% > /dev/mmcsd0s2b 1843200 26956 1816244 1% > Total 3686400 53900 3632500 1% >=20 > This is nearly as much as is allowed I should have said something like "on a 1 GiByte RAM machine" here in the sentence that I've split with this note. > without getting > swapon-time-frame notices of the form: >=20 > warning: total configured swap (??? pages) exceeds maximum recommended = amount (??? pages). >=20 > Bob may be stuck with a choice among: >=20 > A) running the RPi3B (1 GiByte RAM) mistuned such that > the above messages are reported (or adjusting other > kernel tradeoffs explicitly to avoid the message) > vs. > B) building www/chromium on another machine that has > more RAM then installing the package built on the > RPi3B for later use > vs. > C) giving up on building www/chromium at all, using a > pre-built package > vs. > D) giving up on even using www/chromium on the RPi3B. >=20 > Bob is familiar with doing (A). I'm the one that > requested that he try not doing so as part of trying > to isolate a problem building devel/llvm10 . That > problem was later identified to be a different issue. > (A) does make other kernel resource tradeoffs, > either implicitly or explicitly. I do not know how > to well manage the tradeoffs involved so I never > recommend (A). Others may know what they are doing > for making such tradeoffs. >=20 > However, even if Bob does (A) there may be other issues > that he will run into. Form build attempt to build > attempt he is having problems leading to massive swap > space usage at differing points in the build. The same > step sometimes works fine and other times fails. This > suggests another issue may be present (racy leak?). >=20 >> Ask Mark to explain the details to you :) >=20 >=20 > I would never recommend using files for swap space on > FreeBSD, only swap partitions. See comments 7 and 8 of: >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206048 >=20 > for notes from Konstantin Belousov that lead me to > not do so. (8 is a reference to other material.) >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F9F60B07-49F3-441E-9CC7-1558B0C45CF6>