Saturday, 24 August 2013

blktrace output & block sizes in linux block layer

blktrace output & block sizes in linux block layer

I have been using blktrace/blkparse recently and have a couple of
questions and would appreciate if somebody can help me out:
1) The number of blocks value in blkparse output is represented in sectors
(512 bytes). Is this correct? Is this still applicable in SSDs which don't
have 512 bytes sectors?
2) This number of blocks value doesn't go above 2048 (1MB) even if i run a
workload which submits data bigger then 1MB blocks (using libaio). Is
there a limit on block size that can be submitted to Linux block layer and
if the block layer automatically breaks larger blocks into smaller ones?
Could somebody point me to kernel codepath where this is done?
Thanks very much in advance.
Terko

No comments:

Post a Comment