Re: very slow backfill on Luminous + Bluestore

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

 



On Fri, 8 Sep 2017, Xiaoxi Chen wrote:
> Hi,
> 
>      We consistently saw very slow backfilling speed on our cluster,
> although max_backfill set to 50 and do have tens of PGs in
> backfilling, but the recovery speed still are only tens of MB, even 0
> in some time.
> 
>       The background is, we first have a pool with all bluestore(on
> hdd, db also on hdd) hosting ~ 6TB data across 24 OSDs.  Then we have
> another 24 OSDs with db on SSD.  I was trying to migrade the data from
> the old 24 OSDs to new 24 OSDs, with DB on SSD.
>       So what I did is reweight crush weight of all old OSD to 0 and
> all new OSDs to 5, obviously almost all object will goes to misplaced
> state and PGs are in "active + remaped+ backfilling/wait_backfill".
> Everything looks fine except the backfilling speed is extermply low.
> 
> See below pg stat output for instance, pls ignore the degraded PG ,
> that was due to I manually mark down 2 old OSDs, just to see if it
> could change anything, but nothing.
> 
>     Every 2.0s: ceph pg stat --cluster pre-prod
> 
>                  Fri Sep  8 08:13:10 2017
> 
> 8192 pgs: 89 undersized+degraded+remapped+backfilling+peered, 324
> undersized+degraded+remapped+backfill_wait+peered, 36
> active+undersized+degraded+remapped+backfilling, 2595 activ
> e+undersized+degraded+remapped+backfill_wait, 1088 active+clean, 46
> active+remapped+backfilling, 4014 active+remapped+backfill_wait; 5494
> GB data, 18768 GB used, 3047 TB / 3065 TB
>  avail; 325 kB/s wr, 64 op/s; 539794/4301028 objects degraded
> (12.550%); 3025778/4301028 objects misplaced (70.350%); 28794 kB/s, 7
> objects/s recovering

Can you try setting

  osd_recovery_sleep = 0

on the OSDs and see if that makes a difference?

sage

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux