Connection balancing never really happens

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
PtDragon
Posts: 8
Joined: Mon Oct 27, 2014 3:15 pm

Connection balancing never really happens

Post by PtDragon » Mon Oct 27, 2014 3:26 pm

I set 32 as number of connections in client [attachment=0]softether.png[/attachment]
I have 4x100mbit on client side and gigabit on server side.
But balancing never really happens: only one of 32 connection at a time gets/sends data(i see it on interface statistics on my router).
Yes, they switch over several seconds but not balancing.

what happens(data is "x" and idle is "-" ):
con a xxx------
con b ---xxx---
con c ------xxx

what will be great to see(real balancing):
con a xxxxxxxxx
con b xxxxxxxxx
con c xxxxxxxxx
You do not have the required permissions to view the files attached to this post.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Connection balancing never really happens

Post by thisjun » Thu Nov 06, 2014 6:50 am

It switches when the queue is filled.

PtDragon
Posts: 8
Joined: Mon Oct 27, 2014 3:15 pm

Re: Connection balancing never really happens

Post by PtDragon » Thu Nov 06, 2014 7:34 am

thisjun wrote:
> It switches when the queue is filled.
It has queue of several megabytes long?

PtDragon
Posts: 8
Joined: Mon Oct 27, 2014 3:15 pm

Re: Connection balancing never really happens

Post by PtDragon » Thu Nov 06, 2014 12:06 pm

Attaching my config(all keys replaced by "hidden").
VPN is really slow (around 80mbit out of 400)
You do not have the required permissions to view the files attached to this post.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Connection balancing never really happens

Post by thisjun » Tue Nov 18, 2014 8:21 am

> It has queue of several megabytes long?
TCP window size depends on OS setting.

> VPN is really slow (around 80mbit out of 400)
TAP device can be slow.

PtDragon
Posts: 8
Joined: Mon Oct 27, 2014 3:15 pm

Re: Connection balancing never really happens

Post by PtDragon » Tue Nov 18, 2014 8:58 am

Thanks for answers.
Is there a way to reach gigabit speed for SoftEther VPN?
RTT is around 85ms.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Connection balancing never really happens

Post by thisjun » Tue Nov 25, 2014 7:42 am

It depends on application.
What application(protocol) did you use?

PtDragon
Posts: 8
Joined: Mon Oct 27, 2014 3:15 pm

Re: Connection balancing never really happens

Post by PtDragon » Tue Nov 25, 2014 11:06 am

[quote]What application(protocol) did you use?[/quote]
For VPN - SoftEther
For everything inside VPN - mostly http/https but can be TCP and UDP too.
What will be really great - make tcp connection inside VPN split and go via different physical uplinks like different tcp connections.

Just in case i will illustrate a bit with examples.
Multipart downloads(several tcp connections to download a file via http faster:
File: 123456789
2- part download(nearly twice faster if 2 uplinks)
connection1: 12345
connection2: 6789
(in this example 1234 & 6789 download in parallel)
4- part download(nearly 4 times faster for 4 uplinks)
connection1:12
connection2:34
connection3:56
connection4:789
How it can work in VPN:
packets in VPN: 1234567890
and make them all go to different connections(if there are 10 connections every will have 1 packet and work in parallel).
so it will be like round-robin link aggregation.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Connection balancing never really happens

Post by thisjun » Thu Dec 11, 2014 7:15 am

In your first post, your wrote that.
>what happens(data is "x" and idle is "-" ):
>con a xxx------
>con b ---xxx---
>con c ------xxx

Your assumption is right.

Do you think why multipart downloads faster than single download?

These should be same in ideal network.

PtDragon
Posts: 8
Joined: Mon Oct 27, 2014 3:15 pm

Re: Connection balancing never really happens

Post by PtDragon » Thu Dec 11, 2014 10:07 am

thisjun wrote:
> In your first post, your wrote that.
> >what happens(data is "x" and idle is "-" ):
> >con a xxx------
> >con b ---xxx---
> >con c ------xxx
>
> Your assumption is right.
>
> Do you think why multipart downloads faster than single download?
>
> These should be same in ideal network.
Multipart download gives
con a xxxxxxxxx
con b xxxxxxxxx
con c xxxxxxxxx
In single part download i get maximum 7mbyte/sec(only on one ISP, other gives maximum 2.5MBytes sec for sigle part).
In multipart i get up to 45mbyte sec.
Is it possible get same speed on SoftEther?

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Connection balancing never really happens

Post by thisjun » Thu Dec 25, 2014 6:39 am

Softether VPN is just like a LAN cable (with very high latency).
If you want to get high throughput, you should use some a multi-connection downloader.

Post Reply