If you are concerned about *client io performance* during recovery, use these 
settings..

osd recovery max active = 1
osd max backfills = 1
osd recovery threads = 1
osd recovery op priority = 1

If you are concerned about *recovery performance*, you may want to bump this 
up, but I doubt it will help much from default settings..

Thanks & Regards
Somnath

-----Original Message-----
From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of J-P 
Methot
Sent: Wednesday, August 19, 2015 12:17 PM
To: ceph-us...@ceph.com
Subject: [ceph-users] Bad performances in recovery

Hi,

Our setup is currently comprised of 5 OSD nodes with 12 OSD each, for a total 
of 60 OSDs. All of these are SSDs with 4 SSD journals on each. The ceph version 
is hammer v0.94.1 . There is a performance overhead because we're using SSDs 
(I've heard it gets better in infernalis, but we're not upgrading just yet) but 
we can reach numbers that I would consider "alright".

Now, the issue is, when the cluster goes into recovery it's very fast at first, 
but then slows down to ridiculous levels as it moves forward. You can go from 
7% to 2% to recover in ten minutes, but it may take 2 hours to recover the last 
2%. While this happens, the attached openstack setup becomes incredibly slow, 
even though there is only a small fraction of objects still recovering (less 
than 1%). The settings that may affect recovery speed are very low, as they are 
by default, yet they still affect client io speed way more than it should.

Why would ceph recovery become so slow as it progress and affect client io even 
though it's recovering at a snail's pace? And by a snail's pace, I mean a few 
kb/second on 10gbps uplinks.
--
======================
Jean-Philippe Méthot
Administrateur système / System administrator GloboTech Communications
Phone: 1-514-907-0050
Toll Free: 1-(888)-GTCOMM1
Fax: 1-(514)-907-0750
jpmet...@gtcomm.net
http://www.gtcomm.net
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

________________________________

PLEASE NOTE: The information contained in this electronic mail message is 
intended only for the use of the designated recipient(s) named above. If the 
reader of this message is not the intended recipient, you are hereby notified 
that you have received this message in error and that any review, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this communication in error, please notify the sender by 
telephone or e-mail (as shown above) immediately and destroy any and all copies 
of this message in your possession (whether hard copies or electronically 
stored copies).

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

Reply via email to