Connection balancing never really happens
-
- Posts: 8
- Joined: Mon Oct 27, 2014 3:15 pm
Connection balancing never really happens
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
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.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Connection balancing never really happens
It switches when the queue is filled.
-
- Posts: 8
- Joined: Mon Oct 27, 2014 3:15 pm
Re: Connection balancing never really happens
thisjun wrote:
> It switches when the queue is filled.
It has queue of several megabytes long?
> It switches when the queue is filled.
It has queue of several megabytes long?
-
- Posts: 8
- Joined: Mon Oct 27, 2014 3:15 pm
Re: Connection balancing never really happens
Attaching my config(all keys replaced by "hidden").
VPN is really slow (around 80mbit out of 400)
VPN is really slow (around 80mbit out of 400)
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Connection balancing never really happens
> 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.
TCP window size depends on OS setting.
> VPN is really slow (around 80mbit out of 400)
TAP device can be slow.
-
- Posts: 8
- Joined: Mon Oct 27, 2014 3:15 pm
Re: Connection balancing never really happens
Thanks for answers.
Is there a way to reach gigabit speed for SoftEther VPN?
RTT is around 85ms.
Is there a way to reach gigabit speed for SoftEther VPN?
RTT is around 85ms.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Connection balancing never really happens
It depends on application.
What application(protocol) did you use?
What application(protocol) did you use?
-
- Posts: 8
- Joined: Mon Oct 27, 2014 3:15 pm
Re: Connection balancing never really happens
[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.
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.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Connection balancing never really happens
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.
>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.
-
- Posts: 8
- Joined: Mon Oct 27, 2014 3:15 pm
Re: Connection balancing never really happens
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?
> 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?
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Connection balancing never really happens
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.
If you want to get high throughput, you should use some a multi-connection downloader.