Re: RBD: Max queue size

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

 



Big Thanks Ilya,
for explanation

2015-11-30 22:15 GMT+03:00 Ilya Dryomov <idryomov@xxxxxxxxx>:
> On Mon, Nov 30, 2015 at 7:47 PM, Timofey Titovets <nefelim4ag@xxxxxxxxx> wrote:
>>
>> On 30 Nov 2015 21:19, "Ilya Dryomov" <idryomov@xxxxxxxxx> wrote:
>>>
>>> On Mon, Nov 30, 2015 at 7:17 PM, Timofey Titovets <nefelim4ag@xxxxxxxxx>
>>> wrote:
>>> > Hi list,
>>> > Short:
>>> > i just want ask, why i can't do:
>>> > echo 129 > /sys/class/block/rbdX/queue/nr_requests
>>> >
>>> > i.e. why i can't set value greater then 128?
>>> > Why such a restriction?
>>> >
>>> > Long:
>>> > Usage example:
>>> > i have slow CEPH HDD based storage and i want it export by iSCSI proxy
>>> > machine for ESXi cluster
>>> >
>>> > If i have so low queue depth, i just worry to get a performance
>>> > problem because cluster can process request, but HV/VM can't send new
>>> > request if queue in full state
>>> >
>>> > Then i have two solutions make several RBD devices for exporting or
>>> > increase queue depth.
>>> >
>>> > What you think about it?
>>>
>>> Which kernel is that?
>>>
>>> Thanks,
>>>
>>>                 Ilya
>>
>> 4.2.5 on archlinux,
>> Thanks
>
> On 4.2 and above you can set queue depth at map time:
>
>     # rbd map -o queue_depth=129 ...
>
> The reasons lie in the block layer, which has to support both single
> queue drivers and drivers that are using blk-mq interface.  There are
> data structures that have to be preallocated on device setup, etc.
> nr_requests setting just doesn't work for blk-mq devices.
>
> Thanks,
>
>                 Ilya



-- 
Have a nice day,
Timofey.
_______________________________________________
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