From owner-freebsd-stable@FreeBSD.ORG Tue Jan 15 09:21:11 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 D846A16A46B; Tue, 15 Jan 2008 09:21:11 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0868513C447; Tue, 15 Jan 2008 09:21:09 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <478C7B04.9080102@FreeBSD.org> Date: Tue, 15 Jan 2008 10:21:08 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: John Baldwin , freebsd-stable@freebsd.org, Peter Jeremy , Kris Kennaway 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> In-Reply-To: <20080115020316.GA47831@voi.aagh.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 15 Jan 2008 09:21:11 -0000 Thomas Hurst wrote: > * John Baldwin (jhb@freebsd.org) wrote: > >> We have noticed an issue at work but only on faster controllers (e.g. >> certain mfi(4) drive configurations) when doing I/O to a single file >> like the dd command mentioned causes the buffer cache to fill up. The >> problem being that we can't lock the vm object to recycle pages when >> we hit the limit that is supposed to prevent this because all the >> pages in the cache are for the file (vm object) we are working on. >> Stephan (ups@) says this is fixed in 7. > > 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 ;) > > My other IO related issue with 6 is IO to independent amr arrays > blocking each other; e.g. daily run's find over amrd0 will invariably > cause reads from amrd1 and amrd2 to freeze for seconds at a time (pr > 114438). I'll be very interested to see if 7 fixes that. Sounds like it might be due to Giant contention, which I think is indeed fixed in 7. Can you try it? Kris