On Mon, 19 Aug 2013, S?bastien Han wrote:
> Hi guys,
>
> While reading a developer doc, I came across the following options:
>
> * osd balance reads = true
> * osd shed reads = true
> * osd shed reads min latency
> * osd shed reads min latency diff
>
> The problem is that I can't find any of these options in config_opts.h.
These are left over from an old unimplemented experiment and were removed
a while back.
> Loic Dachary also gave me a flag that he found from the code.
>
> m->get_flags() & CEPH_OSD_FLAG_LOCALIZE_READS)
>
> So my questions are:
>
> * Which from the above flags are correct?
> * Do balanced reads really exist in RBD?
For localized reads you want
OPTION(rbd_balance_snap_reads, OPT_BOOL, false)
OPTION(rbd_localize_snap_reads, OPT_BOOL, false)
Note that the 'localize' logic is still very primitive (it matches by IP
address). There is a blueprint to improve this:
http://wiki.ceph.com/01Planning/02Blueprints/Emperor/librados%2F%2Fobjecter%3A_smarter_localized_reads
Cheers!
sage
>
> Thanks in advance.
>
> ????
> S?bastien Han
> Cloud Engineer
>
> "Always give 100%. Unless you're giving blood."
>
>
>
> Phone : +33 (0)1 49 70 99 72 ? Mobile : +33 (0)6 52 84 44 70
> Mail: sebastien....@enovance.com ? Skype : han.sbastien
> Address : 10, rue de la Victoire ? 75009 Paris
> Web : www.enovance.com ? Twitter : @enovance
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com