hi,all
we create a 2TB rbd image, after map it to local,
then we format it to xfs with 'mkfs.xfs /dev/rbd0', it spent 318
seconds to finish, but  local physical disk with the same size just
need 6 seconds.

After debug, we found there are two steps in rbd module during formating:
a) send  233093 DELETE requests to osds(number_of_requests = 2TB / 4MB),
   this step spent almost 92 seconds.
b) send 4238 messages like this: [set-alloc-hint object_size 4194304
write_size 4194304,write 0~512] to osds, that spent 227 seconds.

is there any optimations can we do?
-- 
thanks
huangjun
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to