From owner-freebsd-current@freebsd.org Mon Jan 27 20:36:37 2020 Return-Path: Delivered-To: freebsd-current@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 5FEF622E17B for ; Mon, 27 Jan 2020 20:36:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-20.consmr.mail.gq1.yahoo.com (sonic317-20.consmr.mail.gq1.yahoo.com [98.137.66.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4861kD3WfHz49N4 for ; Mon, 27 Jan 2020 20:36:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: WvpiRxkVM1nehU5YT44ndzcgjJQjYhhDWPNSxK0kfYp9Th4v.8wIYPyTIAZvyf3 EbWh3sLK.q5l9dRD5ERmVNarU63xkXtPUvknljRc9BiTSgFkdpemG5T9taQDNvPDeO2qsVKNWLZs Qle3jK6hSUEmLF6gfyK_eMNy7yVfjzZSvDndb5_D6WT9MHrxalUcbNGO3Yx_lHFYTDhEixNdG0Go LXJdVq_tTzsw4OO1X6B8YoK1rUgHKTUo1Vw9qHEzL6s88Kx3f13YJubqwcGpZfMNW9xSpRLmSd2U lNavyL5xOm1IevCEZWufle1Y.Nv4FMh33ydcndyhj_0DyOO9MclGYjz5FlkxakIZPWZsdCq8qiaa eqr4ex_xwVghXRLi6r3oWX26tmhDyYAmq_zhcX7N.SYP.wrJDax85tniw9X0ZzChJ0vvcHeQnlFK rk3r1h_2UkrfaTDbPrtVpr0m76mNTpQIs_UdFCTdx19XSkZpwpAFeawzri5_jI81rGmky5.lyIXz vcvLKC0QsOKcxNOo5.fAKZ9DRtlIE5t2nVBblmJaQIF5QLGzvNRx9i4VMUT4DAM8QhcIyZ5DZAmG R2GsrpDQdhvLz3Usb_OSw0kzVCCjiuPocxHWNm.HGBBH1PrOmeAOWHdGGzgbdD3eDZHQynPR.gPQ OO2DKcweJrq5CmoXP6lo1xNDro91FW14gV_SdcI51YivKsDmcul9c8Uz80k4SEMYZKHNsBHaf_2x B1EaoOVrhYRqVI973kBWuj4ddcbombWF4_09.opSIwmX3ZXtGEKcSTkEObRjke0AymSEQgi5LWg4 F5ptstobCSLxeEr2U.pBK33ZzXDQ.TjXn6zffyMlXY3ACC0fyqUrZXPjO32c.G48NvxorwvUgxWK nnf_EZaOQtpq2G0Pw_r7Nb6BtyGJmSGUK_f5Mfp2WyWQ3VGiGiv0ehRAU0o44vXX308FTZGEZcPY tOJY7wK8VEbyL4qF8E3eFrD0uwvNRWAT8ugq65KlTltlxHoyODdya3FiPp.4nx3IR2h4nHEXAGzG 9J6hGIZRszeRxPnpTypUuIDkE32VLBEjgx0PxCZiQfdsY5tQMDB7y4au9.qpeaEg_oJ3PEU0EnEA 08r.WEnkT0a0zNEkB_GBiyvFxELtIi.PC8fTtUjFKHh5LyLUO_ZDzu1pQakJ_Xo44_D4eqB9WO.i D2kK1l8.JuivbQ07IoOLtYrNzag86NzYXO75u4b_voSU6z5r_BKcpMuxDWAS_lr04S0B.pd78g9d r3MsAtnX6OcnMn5rs2IrBd7FOow5PGnCBDPJXbc88dAZD6kuoAs68BE8jfkaFUcRzwvzmHqqmRCE vMwWsBHV5DBvyubDSNZHAbjHCLVx2Y_mabwooL32I7.NVMmaNwdPYch_iGAOMtIp9BRb8s7pvRzo 5i_4UR1Lj0mrdY6cL_G77JOrS5sCHD0mrc_MSYEnTBGGXt1r3NpCgQ6_hvfDRhHexzGhaYA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Mon, 27 Jan 2020 20:36:34 +0000 Received: by smtp432.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID dd65fcb9de299ccb491ebb566e1d1d57; Mon, 27 Jan 2020 20:36:29 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: After update to r357104 build of poudriere jail fails with 'out of swap space' From: Mark Millard In-Reply-To: Date: Mon, 27 Jan 2020 12:36:27 -0800 Cc: "Rodney W. Grimes" , sgk@troutmask.apl.washington.edu, freebsd-current@freebsd.org, yasu@utahime.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <202001261745.00QHjkuW044006@gndrsh.dnsmgr.net> <202001271309.00RD96nr005876@slippy.cwsent.com> To: Cy Schubert X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 4861kD3WfHz49N4 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.96 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.45)[-0.452,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.01)[-0.009,0]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_FIVE(0.00)[5]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[146.66.137.98.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (3.16), ipnet: 98.137.64.0/21(0.84), asn: 36647(0.67), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2020 20:36:37 -0000 On 2020-Jan-27, at 10:20, Cy Schubert = wrote: > On January 27, 2020 5:09:06 AM PST, Cy Schubert = 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)