From owner-freebsd-arm@freebsd.org Tue Jan 28 02:22:28 2020 Return-Path: Delivered-To: freebsd-arm@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 64843237B50 for ; Tue, 28 Jan 2020 02:22:28 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-20.consmr.mail.gq1.yahoo.com (sonic301-20.consmr.mail.gq1.yahoo.com [98.137.64.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 4869PG6JZ7z4X0k for ; Tue, 28 Jan 2020 02:22:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: AgbTqg0VM1mq3mk5nVN8UUmnGVQpW8BYznKDi5R7zXKNZIZRS8QT3guroL1g0xt vwhJPku5m8sGMkPwKGReegc95bvnJGZc9FSEUIuzqYi3fxQZCub8hJ0INBdaT2eFguO8JvzXL4qI pc6qla4VZOb0OOUA3FMFSOI9Kg_XqCtoZgP91EGd1lCpAtz2_Bgrr_O5bD5uLmIKSG6JDaF5UnL2 QOj3k2oPlFAdJG3aQMTniOTGLWLydbL2T6sH7kFE366Lq3coruJ0jKvw5Yh.zWUZmyVzVfhLa.fL ghT3Xs8dyAp6uC_9Q1ZTIxGHF.FVFowaiVJ6C6XX73TsnGP4DDqiicVjx7Mt7lraFFj1eh3fpctF pYXpDb2pYVsVa0ma08kr5XgrMoJJwQRvBlZFAqhii1pLoLcs773YcqhWI0xtKEwUhWW61hoCP3_g HzLHuSBQs3v7jVokvXy8V3MVGEM3RgDdZBWvl1eb0qdtA6IanD2oMYhGoWC46HFHFzPs7OX2OjYN mdAPmvGaQ0IaYW6DN0DB2hC.xkuTRgx6FxhpE3dI2qV3B5s3U6QiMwYnXhqxA4Qf0h2CMObn12Ne 4ODnqPlIFAcCNqWCuC8Z3Xwwj4s2IWC9FkKwsmUTLpns1COCxAcTWC1lkHFC5ZBINTIIFVs_wCr9 O_XlIoFFHTIkKU5sabZ8H05tFQ5d8CX65O45e8Ga.9QmzpUztlV0_UlGAGtIFA7Loci7d9v67TaP twm.XNMXKtzjlMSylL0IsEMbredIgfaad6jV22ySOiGjk5pPSL9MoT44mXbbjb8Ar16tgjPu6Zrn hPxEYtjZ.bRWbDPbpNzXfTdlRCFofjvmvHyqi9pQ2CLaFQFZ_amU.IfJAawIbkPMu3IE6YjgvVqh oPMuETjucBYRGllTZW7rjjdbqJITWZHtbC6M6oItxtecvPETyNDZk8kjEqe5SQSy5MlFWRLCi9Vo CoLrFAm9v.Sg86ScARX36N0DVZSLkLsvImM5XgKwugvI0CNLw764ZdqMX1_uggL6JEs14MLQrP6_ wkebF0c3kCI1er0DmsoYY7nb7wOPP_QUHZxalvoDZntci7tz5tQzN1ENaWabuqRVv2UFv5azOcnA SxFnJWYXz2QGRkSolNZjytXWMVLYSEJk1pMUc.Lm7SGMMoRJRkF1n.I6WX.U8OkqyKd5jGXDuSU9 6Cf_4h7sf1kMetV2jUxvofXtnRnlhMB7aznGZpE8jvvHb7uPTMOjlFnwCdm8BKufJQdbKw3BgMJ9 Tvjz6SnVZ9f4klEAbb0RBSGMSdkOLzk4jSMIlvlLFOCyP_C6NtWNP_CAWuG6JZlzoVHKRE4UBKRw 4s2AIaxqxQlYac6FQawGomCsMtBUvV0_4bcDrBJM1bbC48Pe8PJ6hg3bMAV1QciXvyN9FDBSIspF CxQlncnNTzGvQH25e2L3TzKixUhUtBc371IIRviTA1fOJ03RHOAHfazAXKjnoxqBqP1J7Ut4- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Tue, 28 Jan 2020 02:22:24 +0000 Received: by smtp421.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 0794de9e1ab174c5d0be2f3446ba13b4; Tue, 28 Jan 2020 02:22:22 +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: OOMA kill with vm.pfault_oom_attempts="-1" on RPi3 at r357147 From: Mark Millard In-Reply-To: <20200127190709.GA11328@www.zefox.net> Date: Mon, 27 Jan 2020 18:22:20 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <20200127190709.GA11328@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 4869PG6JZ7z4X0k X-Spamd-Bar: - X-Spamd-Result: default: False [-1.23 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; 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)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.52)[-0.519,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.21)[-0.207,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (3.68), ipnet: 98.137.64.0/21(0.84), asn: 36647(0.67), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[146.64.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[146.64.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2020 02:22:28 -0000 On 2020-Jan-27, at 11:07, bob prohaska wrote: > The latest attempt at buildworld on a Pi3 with kernel and sources at > r357147 stopped with an "out of swap" kill. The activity log reported, > in the one second samples before, during and after the kill recorded: > > procs memory page disks faults cpu > . . . > It looks as if the vm.pfault_oom_attempts="-1" no longer shuts OOMA off. > Is there another way to deal with the problem? The OOM problem (even with both vm.pageout_oom_seq set large and vm.pfault_oom_attempts="-1") is apparently not ARM specific and not specific to <= 4GiBytes of RAM. See, for example, https://lists.freebsd.org/pipermail/freebsd-current/2020-January/075186.html for a 5 GiByte RAM, 4 core amd64 context running a i386 jail (so a tier 1 context) using MAKE_JOBS_NUMBER=4. It also has ZFS in the context but the ARC space was < 950mb and not much swap space used. Page-out delay and the number of attempts to get free RAM to be above the threshold do not seem to be driving this case or yours. We are back in the context of the difficulty figuring out what kind criteria is selecting to do such OOM kills --in order to then figure out how to best deal with that additional criteria. So far as I know, in the past progress was only made when someone already knowledgable got involved in isolating what was happening and how to control it. Gathering evidence can still prove possibly useful, even if such is true for what it takes to make progress this time. But there is uncertainty for what range of evidence is appropriate to try for. > . . . (I'll not mix in material for the various deadlock crashes, cpu reset failures, and such that also seem to be going on for arm currently. Those seem arm specific from what I've seen on the lists.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)