From owner-freebsd-questions@freebsd.org Tue Feb 6 08:04:58 2018 Return-Path: Delivered-To: freebsd-questions@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 A448AEE0930 for ; Tue, 6 Feb 2018 08:04:58 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1A1D77C071 for ; Tue, 6 Feb 2018 08:04:57 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id w1684lG1094904 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 6 Feb 2018 09:04:47 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id w1684l2K094901 for ; Tue, 6 Feb 2018 09:04:47 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 6 Feb 2018 09:04:47 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD questions Subject: Re: Swap on SSD In-Reply-To: <23160.43027.295357.808217@jerusalem.litteratus.org> Message-ID: References: <26877DEB-034F-422B-918F-2A0D1C381537@kreme.com> <23160.43027.295357.808217@jerusalem.litteratus.org> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2018 08:04:58 -0000 On Mon, 5 Feb 2018 13:53-0500, Robert Huff wrote: > last pid: 57956; load averages: 2.02, 2.01, 1.95 up 57+19:09:04 13:49:29 > 132 processes: 3 running, 129 sleeping > CPU: 38.7% user, 0.4% nice, 7.9% system, 0.0% interrupt, 53.0% idle > Mem: 2264M Active, 2303M Inact, 1478M Laundry, 1525M Wired, 761M Buf, 115M Free > Swap: 17G Total, 996M Used, 16G Free, 5% Inuse > > So ... is "Swap" an incorrect label, or is actual swapping > going on? > (And is there a utility which will list the swap area by owning > process?) Try hitting the w key while running top. Then hit the o key and type in swap. Hit the enter key and the display should now be sorted by the most swappy processes. If you read the commit log for top, you'll notice the VM subsystem doesn't really track swap usage, so the presented values are only an estimate. -- Trond.