Re: rbd readahead settings

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

 



Hello,

On Mon, 15 Aug 2016 16:28:55 -0700 Bruce McFarland wrote:

> You'll need to set it on the monitor too. 
>
Where are you getting that "need" from?

As a [client] setting, it should be sufficient to do the changes in the
ceph.conf on the client machines to affect things, like the "rbd cache"
settings.
That is, any new invocation of librbd, it certainly won't affect running
ones.

It may be that librbd will override the defaults with values it gets from
the MONs, but I frankly never tested that.
I'd venture that the local ceph.conf takes precedence, though.

As for the OP, the default values are in the documentation
http://docs.ceph.com/docs/hammer/rbd/rbd-config-ref/
and you can get them from a MON like this:
---
ceph --admin-daemon /var/run/ceph/ceph-mon.[mon-name].asok config show |grep readahead
---

Christian

> Sent from my iPhone
> 
> > On Aug 15, 2016, at 2:24 PM, EP Komarla <Ep.Komarla@xxxxxxxxxxxxxxx> wrote:
> > 
> > Team,
> >  
> > I am trying to configure the rbd readahead value?  Before I increase this value, I am trying to find out the current value that is set to. How do I know the values of these parameters?
> >  
> > rbd readahead max bytes
> > rbd readahead trigger requests
> > rbd readahead disable after bytes
> >  
> > Thanks,
> >  
> > - epk
> >  
> > EP KOMARLA,
> > <image001.png>
> > Emal: EP.KOMARLA@xxxxxxxxxxxxxxx
> > Address: 677 Gibraltor Ct, Building #2, Milpitas, CA 94035, USA
> > Phone: 408-674-6090 (mobile)
> >  
> > 
> > Legal Disclaimer:
> > The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message!
> > _______________________________________________
> > ceph-users mailing list
> > ceph-users@xxxxxxxxxxxxxx
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


-- 
Christian Balzer        Network/Systems Engineer                
chibi@xxxxxxx   	Global OnLine Japan/Rakuten Communications
http://www.gol.com/
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux