From owner-freebsd-arch@FreeBSD.ORG Fri Aug 1 02:18:41 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 27EB537B401; Fri, 1 Aug 2003 02:18:41 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FFED43F3F; Fri, 1 Aug 2003 02:18:40 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h719IdmE007148; Fri, 1 Aug 2003 11:18:39 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Adrian Chadd From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 01 Aug 2003 16:36:28 +0800." <20030801083628.GB56492@skywalker.creative.net.au> Date: Fri, 01 Aug 2003 11:18:39 +0200 Message-ID: <7147.1059729519@critter.freebsd.dk> cc: arch@freebsd.org cc: David Schultz 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: Fri, 01 Aug 2003 09:18:41 -0000 In message <20030801083628.GB56492@skywalker.creative.net.au>, Adrian Chadd wri tes: >On Fri, Aug 01, 2003, Poul-Henning Kamp wrote: > >> >Can you please describe how the interface between ccd(4) and the >> >swap subsystem will work? I like this idea, but it isn't >> >immediately obvious how you plan to implement striping based on >> >load and dynamic addition and removal of swap space. >> >> ccdconfig -c ccd0 128 0 /dev/da0b /dev/da1b /dev/da2b >> swapon /dev/ccd0 > >.. and if I want to add another swap device, will that work? Yes, but it will of course not be striped with the rest, it will be laid out sequentially. And as a side effect you will not run into the NSWAP=4 limitation any more. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.