Poor performance and Errors



  • Hello,

    I got open vpn running on my box here and it works fine. The only thing that is bothering me is slow upload speeds when I pull files remotly of a shared drive. My upload at home is 5mb cable with some what low latency. When I download files from a shared drive the best i see is about 600k/s. I added these two lines under Advanced configurations in OpenVPN trying to improve performance:

    tun-mtu 1500; mssfix 1400;

    Download speed didn't increase and now I am receiving this error when downloading files:

    miniupnpd[33438]: sendto(udp_notify=14, 192.168.5.100): No buffer space available

    I am not 100% sure which buffer doesn't have enough size but is there a way to increase it? Not sure if this matters but I only use about 20% of available RAM, so if there is a way to twick some setting to increase the buffer that would be awesome. Although, I am no sure if I am on the right path here…

    Thank you.



  • I have removed those two lines and still receiving those errors…Going to restart the box now see if it clears out.



  • Looks like that error message is actually has something to do with UPnP that I have recently enabled so I dont think it has anything to do with my open VPN. Any how, can anybody suggest any tweaks for this tunnel to increase performance?



  • How are you testing this?
    If you test by downloading from a windows share, then this does in no way reflect the speed the tunnel is capable of.

    Are you using TCP or UDP as transport protocol?
    In general you will have better performance when using UDP.



  • @GruensFroeschli:

    How are you testing this?
    If you test by downloading from a windows share, then this does in no way reflect the speed the tunnel is capable of.

    Are you using TCP or UDP as transport protocol?
    In general you will have better performance when using UDP.

    Yeah that what I was thinking. Windows share shows about 600k/s and when I look at the WAN interface charts I do see it uploading at all 5Mb/s. I use UDP.


Log in to reply