Results 1 to 3 of 3

Thread: OpenVPN Buffers

  1. #1

    OpenVPN Buffers

    Hi Philip!

    OpenVPN has parameters called "sndbuf" and "rcdbuf". They are actually buffers. Should this be considered analogous to Windows' "Tcpreceive and TCPsend Window"?

    If so is there a way to scientifically compute their optimum size?

  2. #2
    Administrator Philip's Avatar
    Join Date
    May 1999
    Jacksonville, Florida, United States
    Blog Entries
    Yes, they are similar to the TCP Window in that they are buffers. What works best for you would depend on your particular VPN provider, however. It is not an exact science, since it depends on where the bottleneck of the connection is, what buffers the nodes would tolerate (keep in their queue and forward, vs. discarding), etc. I would increase them to about twice their default value and see if it improves the connection. I would back off and reduce them if you start experiencing packet loss/slowdowns. If a router/node on the path gets overwhelmed with a large buffer it will start dropping packets, which is counter-productive.

  3. #3
    Can we use the formula used in this site when getting tcpreceivedwindow?

Similar Threads

  1. openvpn client with ISA server
    By besmart in forum Networking Forum
    Replies: 2
    Last Post: 10-14-11, 06:06 AM
  2. Improve the Bandwith when using openVPN
    By speedquest in forum Broadband Tweaks Help
    Replies: 9
    Last Post: 05-02-10, 04:05 AM
  3. compression with openvpn or with ppp, best practice
    By Alexander Reil in forum comp.dcom.vpn
    Replies: 0
    Last Post: 09-08-08, 04:23 PM
  4. adding routes for openvpn help
    By mille535 in forum Networking Forum
    Replies: 1
    Last Post: 07-08-08, 07:47 PM
  5. openvpn problem with w2000 clients
    By News alice in forum comp.dcom.vpn
    Replies: 0
    Last Post: 04-12-08, 08:33 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts