> 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. 

What performance do you see?

Maybe you can try:
iozone -j 1024 -s 2g -r 128k -I -f test -+w 7
to verify that.

With nbd-server on a ramdisk(!) with nbd-client in a vmware vm I get with 
iozone3:
                                                            random  random    
bkwd   record   stride                                   
              KB  reclen   write rewrite    read    reread    read   write    
read  rewrite     read   fwrite frewrite   fread  freread
         2097152     128   37035   38578   168336   142210  138569   36966  
110692    31541   143964    53846    53114  122773   124531

This is somewhat surprising values by the way: 168MB/s on a virtual lan
which is capable of 186MB/s for read access is fine but 37MB/s for
writes?! (on a ramdisk!)

root@mdd-v2:~/linux-3.8.4/include# iperf -c172.16.86.1
------------------------------------------------------------
Client connecting to 172.16.86.1, TCP port 5001
TCP window size: 22.9 KByte (default)
------------------------------------------------------------
[  3] local 172.16.86.128 port 38572 connected with 172.16.86.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.70 GBytes  1.46 Gbits/sec


Folkert van Heusden

-- 
To MultiTail einai ena polymorfiko ergaleio gia ta logfiles kai tin
eksodo twn entolwn. Prosferei: filtrarisma, xrwmatismo, sygxwneysi,
diaforetikes provoles. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

------------------------------------------------------------------------------
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

Reply via email to