From owner-freebsd-arm@freebsd.org Mon Aug 13 04:02:54 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 EDDE41064A89 for ; Mon, 13 Aug 2018 04:02:53 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 84547886DC for ; Mon, 13 Aug 2018 04:02:53 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.15.2/8.15.2) with ESMTPS id w7D41aBk007245 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 12 Aug 2018 21:01:36 -0700 (PDT) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.15.2/8.15.2/Submit) id w7D41aTT007244; Sun, 12 Aug 2018 21:01:36 -0700 (PDT) (envelope-from warlock) Date: Sun, 12 Aug 2018 21:01:36 -0700 From: John Kennedy To: bob prohaska Cc: freebsd-arm Subject: Re: RPI3 swap experiments ["was killed: out of swap space" with: "v_free_count: 5439, v_inactive_count: 1"] Message-ID: <20180813040136.GD81324@phouka1.phouka.net> References: <20180806155837.GA6277@raichu> <20180808153800.GF26133@www.zefox.net> <20180808204841.GA19379@raichu> <2DC1A479-92A0-48E6-9245-3FF5CFD89DEF@yahoo.com> <20180809033735.GJ30738@phouka1.phouka.net> <20180809175802.GA32974@www.zefox.net> <20180812173248.GA81324@phouka1.phouka.net> <20180812224021.GA46372@www.zefox.net> <20180813030506.GC81324@phouka1.phouka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180813030506.GC81324@phouka1.phouka.net> User-Agent: Mutt/1.10.1 (2018-07-13) 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: Mon, 13 Aug 2018 04:02:54 -0000 On Sun, Aug 12, 2018 at 08:05:06PM -0700, John Kennedy wrote: > I was thinking more of the heavily distilled contents of top. Perhaps some version of this. Takes ~3M running, drops a timestamp in every minute. May have to tweak to make sure the disks you care about show up. while :; do date; vmstat -h -w5 -c20; don I don't know how to make the page free value make sense to me. The pages in/out seems Ok (not swapping much at that instant, ~1% used). The da0 disk is where /usr/src and /usr/obj are (swap on mm0). Sun Aug 12 20:41:35 PDT 2018 procs memory page disks faults cpu r b w avm fre flt re pi po fr sr mm0 da0 in sy cs us sy id 5 0 19 1.2G 271M 5424 90 61 82 2259 14109 0 0 17593 1647 8519 68 19 13 4 0 19 1.2G 271M 5699 0 1 1 3494 60 1 29 11869 4716 3046 63 37 0 4 0 19 1.1G 321M 6399 0 0 0 6484 46 0 30 12481 4959 2853 63 37 0 0 19 1.2G 296M 6742 0 2 1 3428 42 0 48 13397 5178 3230 62 37 1 4 0 19 1.2G 271M 4105 0 0 0 1577 53 0 28 14246 2513 2039 80 20 0 6 0 19 1.2G 268M 5834 0 3 1 3640 57 1 29 12392 4749 3256 62 38 0 6 0 19 1.2G 259M 6187 0 0 0 3615 60 0 29 12916 4518 2673 65 34 1 4 0 19 1.2G 247M 4813 0 0 0 2594 67 0 30 13449 3173 2255 74 25 0 4 0 19 1.2G 225M 4873 0 1 0 2175 70 0 27 13292 3127 2091 76 24 0 4 0 19 1.2G 231M 3512 0 0 0 2773 79 0 44 15339 2438 2410 79 21 0 4 0 19 1.2G 219M 3677 0 0 0 1914 82 0 43 15959 2132 2375 81 19 0 4 0 19 1.2G 210M 3622 0 0 0 2029 80 0 46 15267 2524 2351 79 21 0 5 0 19 1.2G 220M 5000 0 0 0 3555 78 0 27 12782 3525 2098 74 26 0 4 0 19 1.2G 215M 3730 0 0 0 2016 77 0 25 13425 2750 2142 77 23 0 6 0 19 1.2G 231M 4009 0 7 1 3315 81 0 27 13676 2797 2346 79 21 0 4 0 19 1.1G 304M 5477 0 1 0 7360 50 0 39 13346 4513 2862 64 35 0 4 0 19 1.1G 291M 2809 0 0 0 1508 48 0 52 15650 1639 2352 85 15 0 4 0 19 1.2G 276M 6818 0 3 1 3864 48 0 28 11419 5130 3224 61 39 0 4 0 19 1.2G 276M 2742 0 0 0 2012 58 0 32 14525 1508 1925 86 14 0 4 0 19 1.2G 253M 5533 0 2 1 2857 61 0 28 13042 3758 2715 71 29 0