Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Aug 2003 11:18:39 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        David Schultz <das@freebsd.org>
Subject:   Re: headsup: swap_pager.c 
Message-ID:  <7147.1059729519@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 01 Aug 2003 16:36:28 %2B0800." <20030801083628.GB56492@skywalker.creative.net.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7147.1059729519>