All of lore.kernel.org
 help / color / mirror / Atom feed
* Improving latency and ordering of the backfilling workload
@ 2014-12-15 14:24 Loic Dachary
  2014-12-15 16:44 ` Sage Weil
  0 siblings, 1 reply; 9+ messages in thread
From: Loic Dachary @ 2014-12-15 14:24 UTC (permalink / raw)
  To: Samuel Just; +Cc: Ceph Development

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

Hi Sam,

Here is what could be done (in the context of http://tracker.ceph.com/issues/9566
), please let me know if that makes sense:

* ordering:

  * when dequeuing a pending local reservation, chose one that contains a PG that belongs to the busiest OSD (i.e. the OSD for which there are more PGs waiting for a local reservation than any other)
  * when sending a remote reservation request, set the priority to reflect the total number of pending PG (absolute workload) and the number local pending PG for the destination OSD (workload queued locally for the remote OSD)
  * on the receiving side, the priority of the remote reservation request makes sure the busiest OSD gets a remote reservation before the others

* reducing latency:
  
  * if there are N pending remote reservations, reject a remote reservation request instead of queuing it so that the local reservation can be used instead of waiting.

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-12-18  0:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15 14:24 Improving latency and ordering of the backfilling workload Loic Dachary
2014-12-15 16:44 ` Sage Weil
2014-12-15 17:01   ` Pavan Rallabhandi
2014-12-15 17:09   ` Loic Dachary
2014-12-15 17:20     ` Sage Weil
2014-12-15 17:48       ` Loic Dachary
2014-12-15 18:03         ` Sage Weil
2014-12-15 18:13           ` Loic Dachary
2014-12-18  0:54             ` Samuel Just

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.