From owner-freebsd-current@freebsd.org Tue Mar 1 14:41:24 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5475BABD7D2 for ; Tue, 1 Mar 2016 14:41:24 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [IPv6:2607:fc50:1000:7400:216:3eff:fe72:314f]) by mx1.freebsd.org (Postfix) with ESMTP id 3F67A1135 for ; Tue, 1 Mar 2016 14:41:24 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from sweettea.beer.town (unknown [76.164.8.130]) by smtp.vangyzen.net (Postfix) with ESMTPSA id C8A0C56507; Tue, 1 Mar 2016 08:41:23 -0600 (CST) Subject: Re: continuous stream of writes? To: Michael Butler , freebsd-current References: <56D5A59E.8040608@protected-networks.net> From: Eric van Gyzen Message-ID: <56D5AA10.5090703@FreeBSD.org> Date: Tue, 1 Mar 2016 08:41:20 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56D5A59E.8040608@protected-networks.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 01 Mar 2016 14:41:24 -0000 On 03/01/2016 08:22, Michael Butler wrote: > On an otherwise idle machine, I now see a continuous stream of writes to > disk. I've only noted this over the last couple of weeks but this will > not be welcome behaviour on an SSD .. > > How do I find the source of these writes? > > > imb@toshi:/home/imb> iostat 10 > tty ada0 cd0 pass0 cpu > tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id > 0 992 58.53 229 13.10 0.00 0 0.00 0.37 0 0.00 13 2 7 1 78 > 0 23 30.82 12 0.36 0.00 0 0.00 0.00 0 0.00 2 0 4 0 94 > 0 8 31.38 12 0.37 0.00 0 0.00 0.00 0 0.00 0 0 4 0 96 > 0 8 31.75 11 0.34 0.00 0 0.00 0.00 0 0.00 3 0 3 0 94 > 0 8 31.82 11 0.35 0.00 0 0.00 0.00 0 0.00 1 0 3 0 96 > 0 8 31.76 12 0.36 0.00 0 0.00 0.00 0 0.00 0 0 3 0 96 > 0 8 31.75 11 0.35 0.00 0 0.00 0.00 0 0.00 1 0 4 0 95 > 0 8 31.55 12 0.38 0.00 0 0.00 0.00 0 0.00 1 0 3 0 96 > The I/O mode of "top" might be useful: top -m io Eric