You''re looking at byte counts, not block sizes.
56kb sounds typical for UFS, which uses an 8k block size,
with 1k frags (default), so you''ll typically see IO sizes
to/from UFS in multiples of 8k. The actually amount of
IO depends of course on several factors.
You can also just use iostat data. For reads, divide kbytes reads by
reads-per-second to get the physical IO size for a given row of
data. (same for writes).
/jim
Ferrand wrote:> Hye everyboy,
>
> I try to obtain the REAL size of I/O in block or Ko in order to know how
ZFS manage the block size.
>
> I''ve tried the io provider with
>
> this->byte_size = args[0]->b_bcount;
> this->kibi_byte_size = this->byte_size/1024;
>
> but my results seems strange ( block of 56 ko with UFS ... )
>
> How can i retrieve REAL block size for I/O ?
> Thanks
> R.
>