Yes its exactly the same thing. In fact I copied the small code from your post.
But do you have any idea what can I do to increase io size to more than 128K.
The default value is 127K and increasing it to 128 works but anything more than
that has
no effect.
I want io size to increase to 4-8 MB.
From: Michal Belczyk
Sent: Tuesday, April 2, 2013 1:55 AM
To: Paul Clements
Cc: Rohan Sharma, [email protected]
This looks like my _other_ patch I mentioned last time (*), except that the
suggested default value is different, doesn't it?
(*) http://www.mail-archive.com/[email protected]/msg01314.html
On Mon, Apr 01, 2013 at 02:41:43PM -0400, Paul Clements wrote:
> I'm looking at this right now. I just need to test and decide what the
> default should be, and I'll send this upstream.
>
> Thanks,
> Paul
>
> On Mon, Apr 1, 2013 at 1:45 PM, Rohan Sharma <[email protected]> wrote:
> > My last message didn?t show up properly due to some formatting errors.
> > So, I am sending it again
> >
> > I am using nbd over high latency network (100 ms ).
> > Currently maximum size of nbd io operation(amount of data fetched in one
> > 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;
> > But these modifications changed nothing.
> > 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
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Own the Future-Intel? Level Up Game Demo Contest 2013
> > Rise to greatness in Intel's independent game demo contest.
> > Compete for recognition, cash, and the chance to get your game
> > on Steam. $5K grand prize plus 10 genre and skill prizes.
> > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> > _______________________________________________
> > Nbd-general mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/nbd-general
> >
>
> ------------------------------------------------------------------------------
> Own the Future-Intel® Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game
> on Steam. $5K grand prize plus 10 genre and skill prizes.
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> _______________________________________________
> Nbd-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nbd-general
--
Michal Belczyk Sr.
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete
for recognition, cash, and the chance to get your game on Steam.
$5K grand prize plus 10 genre and skill prizes. Submit your demo
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general