Re: mkfs rbd image is very slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try running "mkfs.xfs -K" which disables discarding to see if that
improves the mkfs speed. The librbd-based implementation encountered a
similar issue before when certain OSs sent very small discard extents
for very large disks.

On Sun, Oct 29, 2017 at 10:16 AM, shadow_lin <shadow_lin@xxxxxxx> wrote:
> Hi all,
> I am testing ec pool backed rbd image performace and found that it takes a
> very long time to format the rbd image by mkfs.
> I created a 5TB image and mounted it on the client(ubuntu 16.04 with 4.12
> kernel) and use mkfs.ext4 and mkfs.xfs to format it.
> It takes hours to finish the format and the load on some osds are high and I
> can get slow request warning from time to time.
>
> What is a reasonable time to format a 5TB rbd image?What should I do to
> improve it?
> Thanks
>
> 2017-10-29
> ________________________________
> Frank
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



-- 
Jason
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux