ceph.conf provides caching for rbd itself, but it has nothing to do with KVM 
afaik. But you can set caching parameters in disk section of vm template 
(cache=writeback, for instance). Take a look here 
http://ceph.com/docs/next/rbd/qemu-rbd/ for details. But it seems that this 
setting doesn't really help: 
http://www.sebastien-han.fr/blog/2012/08/26/ceph-benchmarks/ 
http://www.mail-archive.com/[email protected]/msg01284.html

--  
Artem Salpagarov


On Monday, July 29, 2013 at 6:12 PM, Jaime Melis wrote:

> Hi Harald,
>  
> you might have better luck asking this at the Ceph mailing list?
>  
> regards,
> Jaime
>  
>  
>  
> On Tue, Jul 16, 2013 at 2:50 AM, Harald Rößler <[email protected] 
> (mailto:[email protected])> wrote:
> > Hi,
> >  
> > how I can enable the RBD caching for the VM's which have the underlying
> > Ceph file system? At the moment I have add the the caching in the
> > ceph.conf, but I'm not sure if this is the right place.
> >  
> > -----
> >  
> > [global]
> >         rbd cache = true
> >         rbd cache size = 134217728
> >         rbd cache max dirty = 100663296
> >         rbd cache target dirty = 67108864
> >         rbd cache max dirty age = 5
> >  
> > -----
> >  
> > Thanks
> > Kind Regards
> > Harald Roessler
> > _______________________________________________
> > Users mailing list
> > [email protected] (mailto:[email protected])
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>  
>  
>  
> --  
> Join us at OpenNebulaConf2013 (http://opennebulaconf.com/) in Berlin, 24-26 
> September, 2013
> --
> Jaime Melis
> Project Engineer
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org (http://www.OpenNebula.org) | [email protected] 
> (mailto:[email protected])  
> _______________________________________________
> Users mailing list
> [email protected] (mailto:[email protected])
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>  
>  


_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to