*
* speed up mirror resync
*
set md_mirror:md_resync_bufsz = 2048
to your /etc/system file (I do this in my jumpstart finish script). This works for Solaris 10 (which is of course what I'm installing eeverything with now!).
This speeds up the resync quite nicely. In fact, the data rate during resync seems to be almost the same in megabytes/s as the disk size in gigabytes (this might just be a coincidence and valid only for the restricted range of hardware I've tested). But this leads to the resync time being pretty well constant.
With the default SVM settings, I almost always saw 8 megabytes/s, which is pathetic for modern disks, and the resync could take hours. Now it's nice and quick.
Technorati: Solaris
2 comments:
I'm curious as what the side effects are. metasync(1m) doesn't say anything about it. And neither does the performance tuning blueprint (http://www.sun.com/blueprints/1103/817-4368.pdf).
I'm not sure there are any negative side-effects. The load on the disks was the same before, really - it was just very inefficient. Reducing the resync time dramatically reduces the time out of service, and correspondingly reduces the risk of a multiple failure.
Post a Comment