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

Re: [Nbd] NBD Super Size io operations



The issue here is high network latency(100 ms). In your case it is close to zero.
 
Since a single request of 8 MB will be spilt into approx. 80 requests of size approx. 100KB each
so you can expect several seconds of delay. And the delay for 8 MB is around 4-5 sec in my case.
 
 
 
From: folkert
Sent: ‎Monday‎, ‎April‎ ‎1‎, ‎2013 ‎11‎:‎44‎ ‎PM
To: Rohan Sharma
Cc: nbd-general@lists.sourceforge.net
 
> 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@...1280...:~/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

Reply to: