Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2005 10:32:22 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        Mark Bucciarelli <mark@gaiahost.coop>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: gmirror: Any way to speed mirror build?
Message-ID:  <43AAD516.9020100@centtech.com>
In-Reply-To: <20051222162821.GA2836@rabbit>
References:  <20051222162821.GA2836@rabbit>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Bucciarelli wrote:

>I have to build three boxes with the same configuration (same kernel, 
>same disk size, RAID1 gmirror).
>
>Is there any way to build the mirrors more quickly?
>
>For example if I dump the file system on disk1 then newfs and restore 
>the dump to disk2 will adding disk2 to the mirror go faster?
>
>If not, is there anyway to make it faster?
>  
>

I believe these sysctl's will do the trick for you:

kern.geom.mirror.syncs_per_sec: Number of synchronizations requests per 
second
kern.geom.mirror.reqs_per_sync: Number of regular I/O requests per 
synchronization request


Eric


-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------




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