From owner-freebsd-current@freebsd.org Sat Mar 17 19:44:32 2018 Return-Path: Delivered-To: freebsd-current@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 E49E1F63ACE for ; Sat, 17 Mar 2018 19:44:31 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic317-27.consmr.mail.bf2.yahoo.com (sonic317-27.consmr.mail.bf2.yahoo.com [74.6.129.82]) (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 73B576B7D8 for ; Sat, 17 Mar 2018 19:44:31 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: IjYH3yUVM1kTT8y3zg96MQ6g8t0RSKj3DMRAtlA1pJZL0DVRGXiHJrJmM0SBZQO zYjkcG0rVBb2GMnJFeYwp953CUOJjSZkwkL1cMsRTca0UGW717M8LXuLMHd17oPWm9bSPsooXGhS cHbCIQUuALnvxJH7AqkyZQ4zPmICOSSJiqMSiOFnr.hMai8x3bGBUv_lMPGLu0NAB81SipChyov1 FSOmC2SY4IGynDO4L315O4SwOdL2t3HUnc583Z843bWAIDIXbH_50XPDPJNfROBf011H5YoLs0hM lNvOd6KwV.gqPUTIZAWEqlQHEClIT7UX9oObiBz3oOfIqOVJ9emeetJ86fAekm.AWgMLrbzPvJW6 WJxZXxlAPMKnnGJlhuFNsaAWmp6GHPSS08ZA6Czv_uAwlErHazPX583oLIQszVlrNxH.DfKYajoE mohPdDYJmwdn.CYKDZ5R46UVrbNwrTm1tzuIqnPrpGj0uKg6P7TpSwaHMVKjVjahbJvJ4aQKJy0G u3IvnDV7kp0Ycj8o6UGsiWcl_3xsKBUBwz_Co Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.bf2.yahoo.com with HTTP; Sat, 17 Mar 2018 19:44:24 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp419.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 6bbcb7b821be2004d857f7e97113e167; Sat, 17 Mar 2018 19:44:20 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: Strange ARC/Swap/CPU on yesterday's -CURRENT From: Mark Millard In-Reply-To: Date: Sat, 17 Mar 2018 12:44:18 -0700 Cc: "O. Hartmann" , Jeff Roberson , freebsd-current@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <20180317103915.081ca2dd@thor.intern.walstatt.dynvpn.de> To: Andriy Gapon X-Mailer: Apple Mail (2.3445.5.20) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Sat, 17 Mar 2018 19:44:32 -0000 On 2018-Mar-17, at 11:26 AM, Andriy Gapon wrote: > On 17/03/2018 18:51, Mark Millard wrote: >> I'll note that top was a -w that reports: >> >> -w Display approximate swap usage for each process. > > As far as I can tell, this option is quite broken. > The "approximate swap usage" it reports is nowhere like it. Too bad. Do you know if it is so messed up that the apparent order of "uses more" vs. "uses less" would be wrong when the difference in reported figures is fairly large? (I'd avoid assuming an order for sufficiently small differences [which still might be fairly large].) Do you know if the system-wide figures from the summary line: Swap: 61G Total, 61G Free (could also display an in-use figure) are also broken as far as in-use would go? Should top just be avoided for most swap-in-use information? More overall, if anyone knows of such: Is there a place to get reasonable swap-in-use information, per process and/or system-wide? One thing I've wished for is what would be a low bound on the overall maximum-in-use figure (system wide), say by checking periodically a reasonable in-use figure and keeping track of (and reporting) the maximum-observed-so-far figure. This kind of background information could be used in choosing/adjusting a couple of poudriere-devel parameters that control how much parallel activity there can be. (My local top implementation has an adjustment to also display such a system-wide maximum-observed-swap-used figure.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)