wanproxy performance

Uttam Singh us at iptvlabs.com
Fri Dec 3 18:57:50 PST 2010


Hi Juli

I have been experimenting with wanproxy and trying to benchmark
results. Great work btw, I think conceptually this is very meaningful.

In my observation, I am only seeing performance improvements in 1
direction (sending file from client -> server) and actually seeing a
degradation in the other direction (getting file from server->client).
Intuitively I though compression would be applied in both directions
(i.e. peer <> peer). Debug messages on Server-Proxy seems to imply
that it is attempting to compress data.

It may be that I have misunderstood your example configuration. I
don't think the list allows attachments, so I will try to briefly
describe my network setup. I would appreciate any suggestions or,
pointers.

- Both Client and Server are PCs running Windows
- wan is setup as 5Mbps Down / 1 Mbps Up
- tests are performed by copying a 10MB binary file, file transfers
are always initiated from Client R2D2
 -- Up ( R2D2> copy test.bin \\frontdesk\temp )
 -- Down ( R2D2> copy \\frontdesk\temp\test.bin . )

 Server-Frontdesk          Server-Proxy
(192.168.0.116)             (192.168.0.42)
       |                                  |
       |                                  |
       |                                  |
      ------------{ Router }------------

     ... WAN (5Mbps v, 1Mbps ^ )...

      ------------{ Router }------------
       |                                  |
       |                                  |
       |                                  |
 Client-R2D2                 Client-Proxy
(192.168.2.10)             (192.168.2.42)

I am using SMB share, so the only TCP port that I need to proxy is 445
(Microsoft SMB).

I change "hosts" file on R2D2 to resolve "Frontdesk" as (192.168.2.42,
Client-Proxy) when testing with WanProxy.

Client Proxy (client.conf)
------------------------
create codec codec0
set codec0.codec XCodec
activate codec0

create interface if0
set if0.family IPv4
set if0.host "192.168.2.42"
set if0.port "445"
activate if0

create peer peer0
set peer0.family IPv4
set peer0.host "192.168.0.42"
set peer0.port "3301"
activate peer0

create proxy proxy0
set proxy0.interface if0
set proxy0.interface_codec None
set proxy0.peer peer0
set proxy0.peer_codec codec0
activate proxy0


Server Proxy (server.conf)
-------------------------------
create codec codec0
set codec0.codec XCodec
activate codec0

create interface if0
set if0.family IPv4
set if0.host "192.168.0.42"
set if0.port "3301"
activate if0

create peer peer0
set peer0.family IPv4
set peer0.host "192.168.0.116"
set peer0.port "445"
activate peer0

create proxy proxy0
set proxy0.interface if0
set proxy0.interface_codec codec0
set proxy0.peer peer0
set proxy0.peer_codec None
activate proxy0

Results so far (average over multiple samples)

Without WanProxy
--------------------------
Up: 0.82Mbps
Down: 4.01Mbps

With WanProxy (not counting 1st transfer)
-----------------------
Up: 2.62Mbps
Down: 2.48Mbps


thanks,

--Uttam



More information about the wanproxy mailing list