atom feed8 messages in org.freebsd.freebsd-hackersRe: using ccd for striping?
FromSent OnAttachments
Paul TrainaJul 13, 1996 12:53 am 
Peter ChildsJul 13, 1996 4:56 am 
Michael L. VanLoon -- HeadCandy.comJul 13, 1996 7:09 am 
Poul-Henning KampJul 13, 1996 7:23 am 
Jason ThorpeJul 13, 1996 7:31 am 
Joe GrecoJul 13, 1996 12:27 pm 
Michael L. VanLoon -- HeadCandy.comJul 13, 1996 1:58 pm 
Joe GrecoJul 13, 1996 2:08 pm 
Subject:Re: using ccd for striping?
From:Michael L. VanLoon -- HeadCandy.com (mich@HeadCandy.com)
Date:Jul 13, 1996 1:58:23 pm
List:org.freebsd.freebsd-hackers

Is anyone using the ccd driver in striping mode? I'd like to hear about other people's good/bad experiences before trying it out myself.

I've seen it act a little funny with way large stripe sizes (65536), several different times I have seen it develop "non-writable" and "non-accessible" zones near the very end of the disk.

I presume you're talking about the interleave factor? Since you say large, and 65536, I assume you're saying 64MB stripes? (64K disk blocks, 32K bytes, wouldn't be "large".)

Is there a good reason for doing that? I would think you'd get a much better performance boost by going with interleaved stripes somewhere between the size of a filesystem cluster to a unit the size of the smallest drive's cache. (When I say "cluster", I am referring to the size of a filesystem block -- 8 fragments -- not a disk block -- 512 bytes.)

I have been going with a 128 block (64K) interleave, since that's half the size of my drives' caches, and is the size of four filesystem clusters (whichh I have allocated as 16K).

Any bigger than that and you lose all the benefits of interleaved access. In fact, I have considered reducing it to 16K so it would interleave on single-cluster sizes.

On the other hand, if you get too fine of an interleave, you can get inefficient since the ccd driver will be doing a lot of work reading in lots of small pieces and assembling them.

Still, I can't think of any reason you'd ever want 64MB interleaved stripes. I don't see any benefit in such an arrangement.

Roll your own Internet access -- Seattle People's Internet cooperative. If you're in the Seattle area, ask me how.