On Sun, May 15, 2011 at 11:44 PM, Simon Tian <aixt2006@xxxxxxxxx> wrote: > Great! Thx very much... > It's just that reason!!! > I just did "rados -p data bench 60 write -t 1 -b 1024", the speed is > more or less the same. > > So I changed the IO_SIZE to 1MB and above in my test codes, the speed > became perfect. > > There should be a buffer policy in the libceph api, so speed is not > hurt badly by the small IO_SIZE, is it right? Hmm, where can I find > the buffer policy in the ceph code? > > Thx! > Simon The Ceph code proper does do buffering, but the lower-level rados and RBD apis don't have any at all -- applications that want it are expected to implement that themselves. libceph uses the Client class in the source code, and that does buffering and caching with the ObjectCacher module. :) -Greg -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html