From owner-freebsd-arm@freebsd.org Sun Aug 5 06:16:46 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DC4B106826B for ; Sun, 5 Aug 2018 06:16:46 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-22.consmr.mail.gq1.yahoo.com (sonic309-22.consmr.mail.gq1.yahoo.com [98.137.65.148]) (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 046767E310 for ; Sun, 5 Aug 2018 06:16:45 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: iPHivfsVM1k_VcYQ0BUKzuQOblfzVSsXIK6.sHyYZOMoW3zpEEJR1b3Wn1LYGI0 8t8A8iw_wRIKRrhV7CzbD0VdewQtj4Mu6pFmGfHhujpZUpJJ4k5ZkXy5PNtZ_F2A3cUKl4nv.Zy_ meoh8JfrPRCjSqEkjG80QduYxmfGU4TtLavjnD2ueGC2uCh3QEsREVjEs0BpXmQ0brewnnZtRciZ sAOlc8Wz6m2Fnz4G_QGwBXy.RqDkjCWw9M9BZ_u46HrMo0w7sQh3bWZrlBKWWBqXZERP7tcKNUgj NHwR3zrAdCd7gh3o_2KTfiIz_kW9ezLhqu_bjeDtzwPAd1r49uyyJm_7YeQd3LlhUzaDAt71RuHW OGqeTFbFAdhC4ugRal5lDHH1SJR6j6GkKztszefcBQLYai1OFPYL2MV4KHRO.reLV6jzpIpo5gr_ S8dm_RFrINgmCcrAAe0LirheFFL9z7IWMvKvx73XJz8LLTvt68YE.0nY.CHLql.OZFAJ.fW7ICNa vqc6eFSDOhZQaGa1H2jLQBKEiCqWICPK.uJ6nTVN5cNpTdIaw2GUCRGjW4aWqYYBlJ9avWcuFoQq 5b_Yj0XhdJDlpbNu.4pKZhtk_Llf83fLHnLsJVHTcGcpxrLiKgMhbmcjn1zQiqdLyQw9.d5H2SLl 0S6tylUkTfjE.ti74dYg2UOPL178kv6q0NVjVD08ulQjeAJsgM3_PF.PnWApmUkoDyaO4ZJsJZry pGUsadOXADyY05PiXVdfnNP_Inn5BkmR6BCVf_VZ2OhbW7vFqV7ufB8DhejQyKmhKRMieAQvpahX o05dRBQqF9C9vvBnrXe_kRrbXRYJiQgPuvooYOBKSs5UaJE.pCoEqiIFJgnwUmupzezpHmRPLk9x GUa.APBuabdIc18tXwP.QOCd6HmlR3OegZ3Ab5lpi0apbCqmfAoMyIpxvU.r9xR056UjQO3T8XkM 7fdyq0LOxb_HrUphSf9oxglMyZmroXFqSNKmzTrs8ZCgQNrAYWKQJ8UDhou4gwTtD25wiPkFXbpl IO1kXXDd7 Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sun, 5 Aug 2018 06:16:39 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp404.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID e503cd0bcc35bee329e975763429041f; Sun, 05 Aug 2018 06:06:31 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: RPI3 swap experiments ["was killed: out of swap space" with: "v_free_count: 5439, v_inactive_count: 1"] From: Mark Millard In-Reply-To: <201808040355.w743tPsF039729@donotpassgo.dyslexicfish.net> Date: Sat, 4 Aug 2018 23:06:29 -0700 Cc: freebsd-arm , bob prohaska Content-Transfer-Encoding: 7bit Message-Id: <1860359E-38E8-4341-B7CD-31CCC01CFAFC@yahoo.com> References: <20180731153531.GA94742@www.zefox.net> <201807311602.w6VG2xcN072497@pdx.rh.CN85.dnsmgr.net> <20180731191016.GD94742@www.zefox.net> <23793AAA-A339-4DEC-981F-21C7CC4FE440@yahoo.com> <20180731231912.GF94742@www.zefox.net> <2222ABBD-E689-4C3B-A7D3-50AECCC5E7B2@yahoo.com> <20180801034511.GA96616@www.zefox.net> <201808010405.w7145RS6086730@donotpassgo.dyslexicfish.net> <6BFE7B77-A0E2-4FAF-9C68-81951D2F6627@yahoo.com> <20180802002841.GB99523@www.zefox.net> <20180802015135.GC99523@www.zefox.net> <201808030034.w730YURL034270@donotpassgo.dyslexicfish.net> <201808040355.w743tPsF039729@donotpassgo.dyslexicfish.net> To: Jamie Landeg-Jones X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2018 06:16:46 -0000 On 2018-Aug-3, at 8:55 PM, Jamie Landeg-Jones wrote: > Mark Millard wrote: > >> If Inact+Laundry+Buf(?)+Free was not enough to provide sufficient >> additional RAM, I'd would have guessed that some Active Real Memory >> should then have been paged/swapped out and so RAM would be made >> available. (This requires the system to have left itself sufficient >> room in RAM for that guessed activity.) >> >> But I'm no expert at the intent or actual operation. >> >> Bob P.'s reports (for having sufficient swap space) >> also indicate the likes of: >> >> v_free_count: 5439, v_inactive_count: 1 >> >> >> So all the examples have: "v_inactive_count: 1". >> (So: vmd->vmd_pagequeues[PQ_INACTIVE].pq_cnt==1 ) > > Thanks for the feedback. I'll do a few more runs and other stress tests > to see if that result is consistent. I'm open to any other idea too! You may want to have your top's sorted by RESident memory use and to list swap info (despite difficulty using the specific numbers shown in the column), including for system processes: -wSores being involved. This may help with judgments about how likely adjusting the following might be able to help make notably more memory available: vm.swap_idle_enabled: 0 vm.swap_idle_threshold1: 2 vm.swap_idle_threshold2: 10 === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)