From owner-freebsd-stable@FreeBSD.ORG Sat Jan 19 17:51:54 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E60EC16A418; Sat, 19 Jan 2008 17:51:54 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from spork.qfe3.net (spork.qfe3.net [212.13.207.101]) by mx1.freebsd.org (Postfix) with ESMTP id ACDF413C4F9; Sat, 19 Jan 2008 17:51:54 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from [81.104.123.28] (helo=voi.aagh.net) by spork.qfe3.net with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JGHrD-000FVr-Tp; Sat, 19 Jan 2008 17:51:51 +0000 Received: from freaky by voi.aagh.net with local (Exim 4.68 (FreeBSD)) (envelope-from ) id 1JGHrD-0007Fm-L0; Sat, 19 Jan 2008 17:51:51 +0000 Date: Sat, 19 Jan 2008 17:51:51 +0000 From: Thomas Hurst To: Kris Kennaway , John Baldwin , freebsd-stable@freebsd.org, Peter Jeremy Message-ID: <20080119175151.GA22860@voi.aagh.net> Mail-Followup-To: Kris Kennaway , John Baldwin , freebsd-stable@freebsd.org, Peter Jeremy References: <20071203054207.GA1153@aleph.niw.com.au> <4787AAF4.1020905@FreeBSD.org> <20080112033147.GX60060@server.vk2pj.dyndns.org> <200801120005.38972.jhb@freebsd.org> <20080115020316.GA47831@voi.aagh.net> <478C7B04.9080102@FreeBSD.org> <20080116182621.GA4260@voi.aagh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080116182621.GA4260@voi.aagh.net> Organization: Not much. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Thomas Hurst Cc: Subject: Re: Swapping caused by very large (regular) file size X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 17:51:55 -0000 * Thomas Hurst (tom.hurst@clara.net) wrote: > * Kris Kennaway (kris@FreeBSD.org) wrote: > > >> Excellent. I've been seeing this behavior for a long time, mostly on > >> backup runs (RAID-1 amr SATA -> 1 disk Marvell ata). It's pretty odd > >> seeing a system with 8G of memory, 60% of which is just cache, swap > >> out half a dozen things for no apparant reason. And to think, people > >> on FreeNode ##freebsd just insisted I had a misconfigured system ;) > > 7 does indeed seem to resolve this. Also, no sign of corruption on my > Marvell 88SX6081, at least during serial read tests. I'll test with > a level 0 dump tonight; my writes go via tee to the filesystem and > sha1(1) so I should pick up any silent corruption. Doh: http://voi.aagh.net/voi.nightsdawn.sf-swap-day.png Making a 100GB dump of /usr, then making a par2 set results in minor paging activity all through it. Running sha1 over the dump has a similar effect. It settles around 2.5MB swap now, though; 6 would quickly settle around 10MB, so it does appear to be improved somewhat; top isn't showing fetchmail and friends as for instance. This is off a single ata(4) disk, which peaks around 65MB/s. sha1 file results match that from the dump|tee file|sha1 > file.sha1 at least :) -- Thomas 'Freaky' Hurst http://hur.st/