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

[Nbd] NBD supersize io operations



I am using nbd over high latency network (100 ms ). Currently maximum size of nbd io operation(amount of data fetched in on e request) I can achieve is 130kb and it gives very poor disk performance. I tried recompiling nbd driver code so as to increase “max_sector_kb” property of disk queue. I added following two lines to nbd_init function
              blk_queue_max_hw_sectors(disk->queue, 65536);
              disk->queue->limits.max_sectors = 4096;
Do you have any idea what can I do to increase size of nbd io operations? I would like it to go as high as 4MB.
 
Thanks 
 
 
 

Reply to: