Re: PPTPD upload speed bottleneck

Christoph Biedl <[email protected]> Sun, 17 Nov 2013 11:55:36 +0100
Newsgroups gmane.network.poptop
Message-ID <[email protected]>
[ re-sent ]

Gustavo Homem wrote...

> Command line scp transfer performance between end points WITHOUT
> using the VPN is:
> 
> up  ~ 700KB/s
> down ~ 1100MB/s

That should be "KB" I presume (but it shouldn't matter).

(...)

> So, either the PPPD client or PPTPD is limiting the traffic rate to
> something way below the connection rate and, therefore, queuing
> happens. Which one would it be and why?

Wild guessing: Some rate limiting is still in effect. Either on the
client, hidden deeply in an ip-up script, or in the network, applied
to ecapsulated (i.e. GRE) traffic and in client->server direction
only.

To find out, I'd run tcpdump on both sides and compare the latency for
encapsulated and other packets under load. If there's no significant
difference, it might be local. Then comparing the timestamps on client
side's dumps (when did a packet leave ppp0, when the related one
eth1?) should give an indication.

FWIW, I was not able to reproduce your scenario. I am however quite
sure that pppd, pptpd and pptp-client are innocent. Blaming the
network instead is always a good start :->

    Christoph
-- 
__END__


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk