Re: A suggest about Batch Read API

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

 



On Thu, 25 Oct 2018, 韦皓诚 wrote:
> Hi,
>    We need to read multiple locations in a big object(4MB) at the same
> time with librados and each part is 16KB. If librados provides a batch
> read api(vector<pair<offset, length>>) and issue multiple requests to
> SSD, will there be any improvement in performance?

For the C API, ty rados_create_read_op(), rados_read_op_read(..) for each 
extent, and then rados[_aio]_read_op_operate() to do the compound 
operation.  The interface varies a bit for the C++ and Python interfaces, 
but the same capability is there.

sage

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

  Powered by Linux