From owner-freebsd-arch@FreeBSD.ORG Sat Aug 2 09:58:47 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A831037B401 for ; Sat, 2 Aug 2003 09:58:47 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDDB943FBF for ; Sat, 2 Aug 2003 09:58:46 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h72Gvfai018858; Sat, 2 Aug 2003 12:57:41 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h72GvfCK018855; Sat, 2 Aug 2003 12:57:41 -0400 (EDT) Date: Sat, 2 Aug 2003 12:57:41 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Andy Farkas In-Reply-To: <20030803020222.W41683-100000@hewey.af.speednet.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org Subject: Re: headsup: swap_pager.c X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2003 16:58:48 -0000 On Sun, 3 Aug 2003, Andy Farkas wrote: > One last stupid question... > > > Poul-Henning Kamp wrote: > > > Another thing is that striping does not belong in the swap_pager in > > > the first place, we have CCD and similar pieces of code for that. > > So when NSWAPDEV is > 1 the CCD module is auto-loaded? > > How much RAM does the CCD module use? I don't have much expertise in this area of the code, but my reading of the changes proposed by Poul-Henning is that they don't require the use of CCD to support multiple swap devices, that simply has to do with the strategy by which bits of swap is targetted at the devices connected to the swap subsystem. I.e., swapon /dev/ad0s1b followed by swapon /dev/ad1s1b doesn't require you to use CCD. You only have to use CCD if you want to reproduce the striping effect. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories