Thursday, March 19, 2015

ADEN Performance Test


The following test allows to choose an appropriate blocksize for ADEN on a given LAN. (For more information about ADEN project please refer to article1, article2 ). The test were run on a home wireless network with a TP-LINK  300Mbps wireless router, between two K43SV ASUS 2.30 GHz core i5 laptops, transferring a 190M file using a variety of blocksize and a constant datagram payload of 1472 bytes.
The test were run on ADEN version 1.0.0.4, Java version on both computers is JDK 1.6 update 20. 


              ^
              |
          800 +
      Seconds |     x                    
              |
          700 +
              |   
              |                          
          600 +                           blocksize | time (s)
              |                          ----------   -------
              |                               1         794
          500 +                               2         492
              |           x                   4         389
              |                               8         268
          400 +                              16         168
              |                 x            32          80
              |                              64          72
          300 +    
              |                       x         
              |                                       
          200 +                                 
              |                             x
              |
          100 +                                                  
              |                                   x     x                        
              |
            0 +-//--+-----+-----+-----+-----+-----+-----+-->
                    1     2     4     8    16    32    64
             
              blocksize (in UDP datagrams of 1472 Bytes payload)



As the chart shows, the transfer time does not decrease much when blocksize is increased from 32 to 64. Therefore, 32 can be considered an appropriate blocksize value for ADEN on the given network. 
Note that similar tests are only necessary when ADEN is intended to be used for bulk transfer on a LAN. For applications where messages are small (i.e. a message is only a few UDP packets) , blocksize can safely be the size of the largest application message.