Re: [Openvpn-devel] Erratic TCP Throughput
Hi, No, compression was on - so I also ran it again with it turned off (on both ends). Here are the results ... It seems that compression boosts performance from ~ 30 Mb/s to ~ 50 Mb/s overall, but still very erratic results ... :-(. Thoughts? Thanks! On Fri, Mar 5, 2010 05:20 PM, Jan Just Keijser wrote: > open...@rkmorris.us wrote: > > > > Hi, > > > > > > > > This is more my bet, because my question wasn't very clear ... I > > require a proxy server during "normal" operation, but for this data > > throughput test I had no proxy server, rather a "direct" connection. > > > > > > > without config files it's impossible to tell - is compression disabled > during testing? otherwise iperf numbers don't make a lot of sense... > > cheers, > > JJK > > Compression.png Description: Binary data NoCompression.png Description: Binary data
Re: [Openvpn-devel] Erratic TCP Throughput
open...@rkmorris.us wrote: Hi, This is more my bet, because my question wasn't very clear ... I require a proxy server during "normal" operation, but for this data throughput test I had no proxy server, rather a "direct" connection. without config files it's impossible to tell - is compression disabled during testing? otherwise iperf numbers don't make a lot of sense... cheers, JJK
Re: [Openvpn-devel] Erratic TCP Throughput
Hi, This is more my bet, because my question wasn't very clear ... I require a proxy server during "normal" operation, but for this data throughput test I had no proxy server, rather a "direct" connection. Thoughts? Thanks! On Wed, Mar 3, 2010 09:31 AM, "Karl O. Pinc" wrote: > On 03/03/2010 02:40:16 AM, Jason Haar wrote: > > On 03/03/2010 04:52 PM, open...@rkmorris.us wrote: > > > > > > 1) Without OpenVPN - consistent performance, ~ 70 Mbps total > > > throughput (on a 100 Mb LAN). > > > > 2) With OpenVPN - very consistent performance, sometimes fine, > > other > > > times very poor. ~ 70 Mbps total throughput (on a 100 Mb LAN), but > > > bounces around a lot. > > > So what you're saying is that on a ~70Mbs network you sometimes see > > ~70Mbs via "openvpn-via-proxy-server" and sometimes you don't? As the > > performance of openvpn varies - and I assume you know the client and > > server aren't the bottleneck - then that leaves? > > > > The proxy! :-) > > Or problems with tunneling tcp inside tcp which you can trace > back via this thread: > > http://article.gmane.org/gmane.network.openvpn.user/29183 > > > > Karl > Free Software: "You don't pay back, you pay forward." > -- Robert A. Heinlein > > > -- > Download IntelĀ® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > Openvpn-devel mailing list > Openvpn-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openvpn-devel >
Re: [Openvpn-devel] Erratic TCP Throughput
On 03/03/2010 02:40:16 AM, Jason Haar wrote: > On 03/03/2010 04:52 PM, open...@rkmorris.us wrote: > > > > 1) Without OpenVPN - consistent performance, ~ 70 Mbps total > > throughput (on a 100 Mb LAN). > > 2) With OpenVPN - very consistent performance, sometimes fine, > other > > times very poor. ~ 70 Mbps total throughput (on a 100 Mb LAN), but > > bounces around a lot. > So what you're saying is that on a ~70Mbs network you sometimes see > ~70Mbs via "openvpn-via-proxy-server" and sometimes you don't? As the > performance of openvpn varies - and I assume you know the client and > server aren't the bottleneck - then that leaves? > > The proxy! :-) Or problems with tunneling tcp inside tcp which you can trace back via this thread: http://article.gmane.org/gmane.network.openvpn.user/29183 Karl Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein
Re: [Openvpn-devel] Erratic TCP Throughput
On 03/03/2010 04:52 PM, open...@rkmorris.us wrote: > > 1) Without OpenVPN - consistent performance, ~ 70 Mbps total > throughput (on a 100 Mb LAN). > > bin/iperf.exe -c server.home -P 8 -i 1 -p 5001 -f m -t 10 > ...results removed > > 2) With OpenVPN - very consistent performance, sometimes fine, other > times very poor. ~ 70 Mbps total throughput (on a 100 Mb LAN), but > bounces around a lot. > > bin/iperf.exe -c server -P 8 -i 1 -p 5001 -f m -t 10 > > ...results removed So what you're saying is that on a ~70Mbs network you sometimes see ~70Mbs via "openvpn-via-proxy-server" and sometimes you don't? As the performance of openvpn varies - and I assume you know the client and server aren't the bottleneck - then that leaves? The proxy! :-) See how it's running. Does it have inline AV? Does it do content filtering/rate shaping/etc. Could it be simply overloaded? When you're nailing 70Mbs through it, how does it look? -- Cheers Jason Haar Information Security Manager, Trimble Navigation Ltd. Phone: +64 3 9635 377 Fax: +64 3 9635 417 PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
[Openvpn-devel] Erratic TCP Throughput
Hi, I have noticed erratic (or at least not real reliable) throughput when using OpenVPN in proto tcp mode (as I have to - UDP is not available to me, having to go through a TCP Proxy server). On my home network I just ran some tests, using iperf to characterize connection bandwidth between the same two PC's ... with and without OpenVPN. Here are the results ... 1) Without OpenVPN - consistent performance, ~ 70 Mbps total throughput (on a 100 Mb LAN). bin/iperf.exe -c server.home -P 8 -i 1 -p 5001 -f m -t 10 Client connecting to server.home, TCP port 5001 TCP window size: 0.01 MByte (default) [1908] local 192.168.2.109 port 1478 connected with 192.168.1.2 port 5001 [1888] local 192.168.2.109 port 1479 connected with 192.168.1.2 port 5001 [1872] local 192.168.2.109 port 1480 connected with 192.168.1.2 port 5001 [1792] local 192.168.2.109 port 1488 connected with 192.168.1.2 port 5001 [1840] local 192.168.2.109 port 1485 connected with 192.168.1.2 port 5001 [1808] local 192.168.2.109 port 1487 connected with 192.168.1.2 port 5001 [1856] local 192.168.2.109 port 1482 connected with 192.168.1.2 port 5001 [1824] local 192.168.2.109 port 1486 connected with 192.168.1.2 port 5001 [ ID] Interval Transfer Bandwidth [1808] 0.0- 1.0 sec 0.91 MBytes 7.60 Mbits/sec [1872] 0.0- 1.0 sec 0.91 MBytes 7.67 Mbits/sec [1888] 0.0- 1.0 sec 0.94 MBytes 7.86 Mbits/sec [1824] 0.0- 1.0 sec 0.91 MBytes 7.67 Mbits/sec [1792] 0.0- 1.0 sec 0.98 MBytes 8.26 Mbits/sec [1840] 0.0- 1.0 sec 0.92 MBytes 7.73 Mbits/sec [1856] 0.0- 1.0 sec 0.91 MBytes 7.67 Mbits/sec [1908] 0.0- 1.0 sec 0.94 MBytes 7.86 Mbits/sec [SUM] 0.0- 1.0 sec 7.43 MBytes 62.3 Mbits/sec [1888] 1.0- 2.0 sec 1.01 MBytes 8.45 Mbits/sec [1872] 1.0- 2.0 sec 1.00 MBytes 8.39 Mbits/sec [1856] 1.0- 2.0 sec 0.99 MBytes 8.32 Mbits/sec [1808] 1.0- 2.0 sec 1.01 MBytes 8.45 Mbits/sec [1908] 1.0- 2.0 sec 0.98 MBytes 8.26 Mbits/sec [1792] 1.0- 2.0 sec 1.01 MBytes 8.45 Mbits/sec [1824] 1.0- 2.0 sec 1.00 MBytes 8.39 Mbits/sec [1840] 1.0- 2.0 sec 0.98 MBytes 8.19 Mbits/sec [SUM] 1.0- 2.0 sec 7.98 MBytes 66.9 Mbits/sec [1792] 2.0- 3.0 sec 0.95 MBytes 7.93 Mbits/sec [1856] 2.0- 3.0 sec 0.97 MBytes 8.13 Mbits/sec [ ID] Interval Transfer Bandwidth [1888] 2.0- 3.0 sec 0.96 MBytes 8.06 Mbits/sec [1872] 2.0- 3.0 sec 0.96 MBytes 8.06 Mbits/sec [1908] 2.0- 3.0 sec 0.94 MBytes 7.86 Mbits/sec [1840] 2.0- 3.0 sec 0.95 MBytes 7.93 Mbits/sec [1808] 2.0- 3.0 sec 0.96 MBytes 8.06 Mbits/sec [1824] 2.0- 3.0 sec 0.95 MBytes 8.00 Mbits/sec [SUM] 2.0- 3.0 sec 7.63 MBytes 64.0 Mbits/sec [1908] 3.0- 4.0 sec 0.97 MBytes 8.13 Mbits/sec [1792] 3.0- 4.0 sec 0.95 MBytes 8.00 Mbits/sec [1824] 3.0- 4.0 sec 0.95 MBytes 7.93 Mbits/sec [1856] 3.0- 4.0 sec 0.95 MBytes 8.00 Mbits/sec [1808] 3.0- 4.0 sec 0.94 MBytes 7.86 Mbits/sec [1840] 3.0- 4.0 sec 0.96 MBytes 8.06 Mbits/sec [1888] 3.0- 4.0 sec 0.94 MBytes 7.86 Mbits/sec [1872] 3.0- 4.0 sec 0.95 MBytes 7.93 Mbits/sec [SUM] 3.0- 4.0 sec 7.60 MBytes 63.8 Mbits/sec [1792] 4.0- 5.0 sec 1.03 MBytes 8.65 Mbits/sec [1808] 4.0- 5.0 sec 1.02 MBytes 8.52 Mbits/sec [1908] 4.0- 5.0 sec 1.05 MBytes 8.78 Mbits/sec [1824] 4.0- 5.0 sec 1.02 MBytes 8.52 Mbits/sec [ ID] Interval Transfer Bandwidth [1856] 4.0- 5.0 sec 1.02 MBytes 8.52 Mbits/sec [1872] 4.0- 5.0 sec 0.99 MBytes 8.32 Mbits/sec [1840] 4.0- 5.0 sec 1.02 MBytes 8.52 Mbits/sec [1888] 4.0- 5.0 sec 1.02 MBytes 8.59 Mbits/sec [SUM] 4.0- 5.0 sec 8.16 MBytes 68.4 Mbits/sec [1824] 5.0- 6.0 sec 1.05 MBytes 8.78 Mbits/sec [1792] 5.0- 6.0 sec 1.05 MBytes 8.78 Mbits/sec [1908] 5.0- 6.0 sec 1.05 MBytes 8.78 Mbits/sec [1840] 5.0- 6.0 sec 1.05 MBytes 8.78 Mbits/sec [1872] 5.0- 6.0 sec 1.06 MBytes 8.91 Mbits/sec [1888] 5.0- 6.0 sec 1.05 MBytes 8.78 Mbits/sec [1808] 5.0- 6.0 sec 1.07 MBytes 8.98 Mbits/sec [1856] 5.0- 6.0 sec 1.05 MBytes 8.85 Mbits/sec [SUM] 5.0- 6.0 sec 8.42 MBytes 70.6 Mbits/sec [1840] 6.0- 7.0 sec 0.97 MBytes 8.13 Mbits/sec [1872] 6.0- 7.0 sec 0.99 MBytes 8.32 Mbits/sec [1888] 6.0- 7.0 sec 1.02 MBytes 8.52 Mbits/sec [1856] 6.0- 7.0 sec 1.00 MBytes 8.39 Mbits/sec [1824] 6.0- 7.0 sec 1.01 MBytes 8.45 Mbits/sec [1908] 6.0- 7.0 sec 0.99 MBytes 8.32 Mbits/sec [ ID] Interval Transfer Bandwidth [1792] 6.0- 7.0 sec 1.00 MBytes 8.39 Mbits/sec [1808] 6.0- 7.0 sec 0.99 MBytes 8.32 Mbits/sec [SUM] 6.0- 7.0 sec 7.97 MBytes 66.8 Mbits/sec [1792] 7.0- 8.0 sec 1.04 MBytes 8.72 Mbits/sec [1908] 7.0- 8.0 sec 1.02 MBytes 8.59 Mbits/sec [1856] 7.0- 8.0 sec 1.04 MBytes 8.72 Mbits/sec [1808] 7.0- 8.0 sec 1.02 MBytes 8.59 Mbits/sec [1872] 7.0- 8.0 sec 1.02 MBytes 8.59 Mbits/sec [1888] 7.0- 8.0 sec 1.04 MBytes 8.72 Mbits/sec [1840] 7.0- 8.0 sec 1.02 MBytes 8.59 Mbits/sec [1824] 7.0- 8.0 sec 1.07 MBytes 8.98 Mbits/sec [SUM] 7.0- 8.0 sec 8.28 MBytes 69.5 Mbits/sec [1792] 8.0- 9.0 sec 1.05 MBytes 8.78 Mbits/sec [1856] 8.0- 9.0 sec 1