Re: raid and cgd

2017-11-26 Thread Mouse
>> RAIDframe operates on units called stripes. [...RMW...] > Your description matches a paragraph in raidctl(8) that starts with > 'Tuning RAID 5 sets is trickier.' while my setup is RAID 1 Ah, that's important information. > and recommended values for SectPerSU are 32 to 128. I set it to 128

Re: raid and cgd

2017-11-26 Thread Alexander Nasonov
Edgar Fu? wrote: > RAIDframe operates on units called stripes. FFS mostly operates on FS blocks. > If one FS block is not exactly a whole number of stripes (either because of > misalignment or because an FS block is smaller than a RAID stripe), then each > write of an FS block will force the

Re: raid and cgd

2017-11-26 Thread Edgar Fuß
> Can you please elaborate? Do they have to match for the best performance, > or should one be a multiple of the other? RAIDframe operates on units called stripes. FFS mostly operates on FS blocks. If one FS block is not exactly a whole number of stripes (either because of misalignment or

Re: raid and cgd

2017-11-26 Thread Alexander Nasonov
mponent's stripe part with whatever cgd operates on. Can you please elaborate? Do they have to match for the best performance, or should one be a multiple of the other? > Why do you do RAID-on-CGD and not CGD-on-RAID? Do I? First, I configured raid0 and then cgd0 as following: cgdconfig -s cgd0 /dev/r

Re: raid and cgd

2017-11-26 Thread Edgar Fuß
> when raid is configured for the first time, it needs to do something > with every block? raidctl -i, yes. Other than that, you'll need to align your FS blocks with RAID stripes and each component's stripe part with whatever cgd operates on. Why do you do RAID-on-CGD and not CGD-on-RAID?

Re: raid and cgd

2017-11-26 Thread Alexander Nasonov
Mouse wrote: > > My raid is made of two disks dk8 and dk9. When there is an activity > > on cgd, dk8 and dk9 shows more than 2x bytes each than cgd. Why is > > that? > > Speculation: read-modify-write cycles? > > Speculation: cgd's encryption leading to accessing more of its > underlying disk

Re: raid and cgd

2017-11-26 Thread Mouse
> My raid is made of two disks dk8 and dk9. When there is an activity > on cgd, dk8 and dk9 shows more than 2x bytes each than cgd. Why is > that? Speculation: read-modify-write cycles? Speculation: cgd's encryption leading to accessing more of its underlying disk than the upper-layer access?

Re: raid and cgd

2017-11-26 Thread Alexander Nasonov
Alexander Nasonov wrote: > My raid is made of two disks dk8 and dk9. When there is an activity on cgd, > dk8 and dk9 shows more than 2x bytes each than cgd. Why is that? > >wd01525 71M 66.8 msix2 vec 0 2730 > ftarg >wd11524 71M 59.3

raid and cgd

2017-11-26 Thread Alexander Nasonov
My raid is made of two disks dk8 and dk9. When there is an activity on cgd, dk8 and dk9 shows more than 2x bytes each than cgd. Why is that? $ systat 2 :vmstat Disks: seeks xfers bytes %busy msix1 vec 4 2048 fmin wd01525 71M 66.8 msix2