Date: Mon, 27 Jan 2020 12:36:27 -0800 From: Mark Millard <marklmi@yahoo.com> To: Cy Schubert <Cy.Schubert@cschubert.com> Cc: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>, sgk@troutmask.apl.washington.edu, freebsd-current@freebsd.org, yasu@utahime.org Subject: Re: After update to r357104 build of poudriere jail fails with 'out of swap space' Message-ID: <BA0CE7D8-CFA1-40A3-BEFA-21D0C230B082@yahoo.com> In-Reply-To: <A0E565B0-52A1-41CE-915F-35B8E0F9394F@cschubert.com> References: <202001261745.00QHjkuW044006@gndrsh.dnsmgr.net> <202001271309.00RD96nr005876@slippy.cwsent.com> <A0E565B0-52A1-41CE-915F-35B8E0F9394F@cschubert.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-Jan-27, at 10:20, Cy Schubert <Cy.Schubert at cschubert.com> = wrote: > On January 27, 2020 5:09:06 AM PST, Cy Schubert = <Cy.Schubert@cschubert.com> wrote: >>> . . .=20 >>=20 >> Setting a lower arc_max at boot is unlikely to help. Rust was = building >> on=20 >> the 8 GB and 5 GB 4 core machines last night. It completed = successfully >> on=20 >> the 8 GB machine, while using 12 MB of swap. ARC was at 1307 MB. >>=20 >> On the 5 GB 4 core machine the rust build died of OOM. 328 KB swap = was=20 >> used. ARC was reported at 941 MB. arc_min on this machine is 489.2 = MB. >=20 > MAKE_JOBS_NUMBER=3D3 worked building rust on the 5 GB 4 core machine. = ARC is at 534 MB with 12 MB swap used. If you increase vm.pageout_oom_seq to, say, 10 times what you now use, does MAKE_JOBS_NUMBER=3D4 complete --or at least go notably longer = before getting OOM behavior from the system? (The default is 12 last I checked. So that might be what you are now using.) Have you tried also having: vm.pfault_oom_attempts=3D"-1" (Presuming you are not worried about actually running out of swap/page space, or can tolerate a deadlock if it does run out.) This setting presumes head, not release or stable. (Last I checked anyway.) It would be interesting to know what difference those two settings together might make for your context: it seems to be a good context for testing in this area. (But you might already have set them. If so, it would be good to report the figures in use.) Of course, my experiment ideas need not be your actions. =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?BA0CE7D8-CFA1-40A3-BEFA-21D0C230B082>