Re: [ceph-users] rados_read versus rados_aio_read performance

2017-10-01 Thread Maged Mokhtar
On 2017-10-01 16:47, Alexander Kushnirenko wrote: > Hi, Gregory! > > Thanks for the comment. I compiled simple program to play with write speed > measurements (from librados examples). Underline "write" functions are: > rados_write(io, "hw", read_res, 1048576, i*1048576); > rados_aio_write(i

Re: [ceph-users] rados_read versus rados_aio_read performance

2017-10-01 Thread Alexander Kushnirenko
Hi, Gregory! Thanks for the comment. I compiled simple program to play with write speed measurements (from librados examples). Underline "write" functions are: rados_write(io, "hw", read_res, 1048576, i*1048576); rados_aio_write(io, "foo", comp, read_res, 1048576, i*1048576); So I consecutively

Re: [ceph-users] rados_read versus rados_aio_read performance

2017-09-29 Thread Gregory Farnum
It sounds like you are doing synchronous reads of small objects here. In that case you are dominated by the per-op already rather than the throughout of your cluster. Using aio or multiple threads will let you parallelism requests. -Greg On Fri, Sep 29, 2017 at 3:33 AM Alexander Kushnirenko wrote:

[ceph-users] rados_read versus rados_aio_read performance

2017-09-29 Thread Alexander Kushnirenko
Hello, We see very poor performance when reading/writing rados objects. The speed is only 3-4MB/sec, compared to 95MB rados benchmarking. When you look on underline code it uses librados and linradosstripper libraries (both have poor performance) and the code uses rados_read and rados_write func