Latency and speed related to ocserv config

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Fri Feb 13 01:38:09 PST 2015


On Fri, Feb 13, 2015 at 4:08 AM, Xianjin YE <advancedxy at gmail.com> wrote:
> Hi dear list,
> After I connect my client to the ocserv, the rtt(round trip time, client to the ocserv server) is about 100ms. There are some packet loss between my local machine and the ocserv server.
> Whenever I start to download data through the vpn route, the rtt increases to about 1s and drops back to normal 100ms if the download stops.
> The download is a simple wget file, and I have noticed the download speed is about to reach my local machine's bandwidth.
> However I tried different output-buffer settings in the ocserv config, bigger buffer size do lead to faster speed. The rrt increases during downloading regardless the buffer size.
> is this behavior normal? If not, how can I get a decent download speed without interfering the rtt. I am using ocserv 0.8.1 with Cisco Anyconnect client.

I'd suggest to user a newer ocserv (with gnutls 3.3+) and the
openconnect client to figure latency and bandwidth. We can hardly help
if you use the anyconnect client.

regards,
Nikos



More information about the openconnect-devel mailing list