Results 1 to 12 of 12

Thread: VPN Tweaks

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Posts
    17

    VPN Tweaks

    Hi Philip!

    I have a question on VPN:

    UDP Connection
    Speed is initially fast, almost 100% of my subscribed speed. However, it would burst down to around 50% of my subscribed speed then it gets stuck in there. It doesn't burst back to 100%. I think it's suppose to burst up and down. This is using Internet download manager for large files. 1G and above

    TCP Connection
    Speed is fast. It would burst down then back to 100% of my subscribed speed. It bursts up and down

    All a long I thought UDP connection is suppose to be faster. Is there something that I'm missing here? Is there something that needs to be tweaked? Is there a setting in NIC that needs to be changed?

    Thanks a lot

  2. #2
    Administrator Philip's Avatar
    Join Date
    May 1999
    Location
    Jacksonville, Florida, United States
    Posts
    9,376
    Blog Entries
    6
    Hi Mark,

    Some networks restrict the speed on certain protocols... Generally you are right, UDP is supposed to be faster with stable connections, as it does not wait for acknowledgements, it is a stateless protocol.
    It is very dependent on what type of client and OS you use also, if you use OpenVPN increasing the "sndbuf" and "rcvbuf" may help.

    As far as the Network Adapter tweaks, I would look into generally turning off any "Offloads" and "Power Saving" features, there is some info on tweaking network adapter settings on the main site here: http://www.speedguide.net/articles/n...imization-3449

    I hope this helps

  3. #3
    Junior Member
    Join Date
    Nov 2013
    Posts
    17
    Thanks for the input

    Under NIC optimization it is suggested that IPv4/TCP/UDP Checksum Offload should be "enabled". Shall I disable this as you have recently suggested?

    Windows 10 RS 2 is out. Are there any optimization to look at?

  4. #4
    Administrator Philip's Avatar
    Join Date
    May 1999
    Location
    Jacksonville, Florida, United States
    Posts
    9,376
    Blog Entries
    6
    I would disable checksum offload as well if you are having issues. I am not aware of any changes to the TCP/IP stack in Windows 10 Creators update, it's mostly cosmetic/gaming/continuum improvements afaik. I'll look into it in detail when I get a chance.

  5. #5
    Junior Member
    Join Date
    Nov 2013
    Posts
    17
    Philip,

    I may have found the culprit. It turns out changing my DNS from google to Neustar fixed it. I'm now getting 90% of my subscribed speed in UDP port using openvpn

    Do you happen to know why dns has influence on udp speed?

  6. #6
    Administrator Philip's Avatar
    Join Date
    May 1999
    Location
    Jacksonville, Florida, United States
    Posts
    9,376
    Blog Entries
    6
    Interesting... Not sure, DNS is theoretically used only for name resolution, i.e. when domains you are downloading from need to be resolved to IP addresses, not during transfers. The information is then cached locally as well.

    There could be some type of prioritization by your VPN provider, they may give lower priority to clients using different DNS servers. Can you replicate this, i.e. what happens if you go back and forth between Google, your ISP's DNS, and your VPN provider's DNS ?

    What about these third party DNS servers ? (you don't have to test all, just some other options for testing)
    Level3
    209.244.0.3
    209.244.0.4

    Open DNS
    208.67.222.222
    208.67.220.220

  7. #7
    Junior Member
    Join Date
    Nov 2013
    Posts
    17
    Philip,

    Can you recommend a reasonable MTU for openvpn connections?

  8. #8
    Administrator Philip's Avatar
    Join Date
    May 1999
    Location
    Jacksonville, Florida, United States
    Posts
    9,376
    Blog Entries
    6
    I would run the TCP Optimizer (it has a MTU test, it should figure out the largest possible MTU)...

    If you are setting "mssfix ...." in OpenVPN, it should generally be 40 less than the MTU value to allow for headers.

  9. #9
    Junior Member
    Join Date
    Nov 2013
    Posts
    17
    Thanks!

  10. #10
    Junior Member
    Join Date
    Nov 2013
    Posts
    17
    Philip,

    Can you see anything here worth tweaking:


  11. #11
    Administrator Philip's Avatar
    Join Date
    May 1999
    Location
    Jacksonville, Florida, United States
    Posts
    9,376
    Blog Entries
    6
    Looks fine, I wouldn't bother with it unless you're having issues.

  12. #12
    Junior Member
    Join Date
    Nov 2013
    Posts
    17
    Thanks a lot

Similar Threads

  1. tweaks
    By PeaceOnEarth in forum Broadband Tweaks Help
    Replies: 1
    Last Post: 03-10-04, 03:06 PM
  2. What are the NIC tweaks?
    By tHE_0ne in forum Broadband Tweaks Help
    Replies: 7
    Last Post: 04-06-02, 06:41 PM
  3. Speedguide Tweaks vs CyberWizardPit Tweaks
    By ChuckDees in forum Broadband Tweaks Help
    Replies: 24
    Last Post: 11-18-01, 09:03 AM
  4. XP Tweaks versus 98SE tweaks
    By jdavis37 in forum Broadband Tweaks Help
    Replies: 1
    Last Post: 11-10-01, 09:36 PM
  5. Can I reinstall tweaks over the tweaks already installed?
    By jarablue in forum Broadband Tweaks Help
    Replies: 15
    Last Post: 05-11-01, 09:14 PM

Bookmarks

Posting Permissions

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