Project

General

Profile

Feature #5035

rados: smarter localized reads

Added by Josh Durgin almost 11 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently localized reads just match based on client and osd ip matching, which was originally implemented for hadoop. A more general notion of locality could also be useful.

From #3064:

It would nice if a librados/librbd user could either:

- configure the client's location in terms of crush hierarchy (e.g. dc=us-west)
OR
- configure a list of IP subnets that are considered "close"

These could even go in ceph.conf / libvirt rbd disk entry. "client location = dc:us-west" would match the syntax I've been playing with for OSDs to know what crush location to set at bootup. (Colon because I wanted to avoid "client_location=dc=us-west" confusion.)

I personally prefer the first one, because it isolates the client from knowing internal deployment details of the cluster. I don't know if the crush information would be available

History

#1 Updated by Sage Weil almost 11 years ago

  • Tracker changed from Bug to Feature

#2 Updated by Ian Colle almost 11 years ago

  • Project changed from rbd to Ceph

#4 Updated by Loïc Dachary over 9 years ago

  • Status changed from 12 to Resolved
  • Assignee set to Sage Weil

Also available in: Atom PDF