Optimize TCP for vpn connection
Optimize TCP for vpn connection
i created vpn between two machines:
-server windows 2000 connected to adsl router with speed 1 mbps. (running oracle database)
-and remote client windows xp sp2 connected to usb wireless adsl connection (about 1 mbps)
here is an initial test for server windows 2000
« SpeedGuide.net TCP Analyzer Results »
IP address: xx.xx.xxx.xxx
Client OS: Windows 2000
TCP options string: 020405ac01010402
MSS: 1452
MTU: 1492
TCP Window: 64240 (NOT multiple of MSS)
RWIN Scaling: 0 bits
Unscaled RWIN : 64240
Recommended RWINs: 63888, 127776, 255552, 511104, 1022208
BDP limit (200ms): 2570kbps (321KBytes/s)
BDP limit (500ms): 1028kbps (128KBytes/s)
MTU Discovery: ON
TTL: 112
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)
can you assist me in optimizing TCP parameters on both machines to get the best performance using tcp optimizer.
thanks
-server windows 2000 connected to adsl router with speed 1 mbps. (running oracle database)
-and remote client windows xp sp2 connected to usb wireless adsl connection (about 1 mbps)
here is an initial test for server windows 2000
« SpeedGuide.net TCP Analyzer Results »
IP address: xx.xx.xxx.xxx
Client OS: Windows 2000
TCP options string: 020405ac01010402
MSS: 1452
MTU: 1492
TCP Window: 64240 (NOT multiple of MSS)
RWIN Scaling: 0 bits
Unscaled RWIN : 64240
Recommended RWINs: 63888, 127776, 255552, 511104, 1022208
BDP limit (200ms): 2570kbps (321KBytes/s)
BDP limit (500ms): 1028kbps (128KBytes/s)
MTU Discovery: ON
TTL: 112
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)
can you assist me in optimizing TCP parameters on both machines to get the best performance using tcp optimizer.
thanks
- YeOldeStonecat
- SG VIP
- Posts: 51171
- Joined: Mon Jan 15, 2001 12:00 pm
- Location: Somewhere along the shoreline in New England
Make sure you make backups of the registry before each change. Once you start playing with "Server" operating systems, and programs designed to run across a LAN, and VPNs...you'll find as you try to "tweak"....some things may break on you. IMO Servers, when used in production, should be left alone, just follow best practices.
With VPNs.."a chain is only as strong as its weakest link". With broadband, it's usually asymmetrical...meaning download is must higher than your upload. Example...a 1,500/256 connection. Say you have a VPN tunnel in between two locations each with a 1,500/256 connection...the VPN tunnel will be, at the most, 256. Actually quite a bit less factoring in overhead.
Hardware VPN tunnels perform better than software VPN tunnels....and different quality/brands of hardware perform better than others.
With VPNs.."a chain is only as strong as its weakest link". With broadband, it's usually asymmetrical...meaning download is must higher than your upload. Example...a 1,500/256 connection. Say you have a VPN tunnel in between two locations each with a 1,500/256 connection...the VPN tunnel will be, at the most, 256. Actually quite a bit less factoring in overhead.
Hardware VPN tunnels perform better than software VPN tunnels....and different quality/brands of hardware perform better than others.
MORNING WOOD Lumber Company
Guinness for Strength!!!
Guinness for Strength!!!
@Philip
Result Feedback
before applying optimum setting , the speed test is:
« SpeedGuide.net Speed Test Results »
123 kbps down (~0.12 Mbps, 15 KB/s)?
176 kbps up (~0.18 Mbps, 21 KB/s)?
500 KB downloaded in 33.337 seconds
100 KB uploaded in 4.661 seconds
Tested on: 2011.09.26 14:37 EDT
Tested from: speedguide.net
--------------
After applying Optimum setting, rebooting
« SpeedGuide.net Speed Test Results »
268 kbps down (~0.27 Mbps, 33 KB/s)?
180 kbps up (~0.18 Mbps, 22 KB/s)?
1024 KB downloaded in 31.257 seconds
100 KB uploaded in 4.56 seconds
Tested on: 2011.09.26 14:45 EDT
Tested from: speedguide.net
The performance was doubled as a magic
thanks for help and support
@YeOldeStonecat
Thanks for your advice and i will take into account
Result Feedback
before applying optimum setting , the speed test is:
« SpeedGuide.net Speed Test Results »
123 kbps down (~0.12 Mbps, 15 KB/s)?
176 kbps up (~0.18 Mbps, 21 KB/s)?
500 KB downloaded in 33.337 seconds
100 KB uploaded in 4.661 seconds
Tested on: 2011.09.26 14:37 EDT
Tested from: speedguide.net
--------------
After applying Optimum setting, rebooting
« SpeedGuide.net Speed Test Results »
268 kbps down (~0.27 Mbps, 33 KB/s)?
180 kbps up (~0.18 Mbps, 22 KB/s)?
1024 KB downloaded in 31.257 seconds
100 KB uploaded in 4.56 seconds
Tested on: 2011.09.26 14:45 EDT
Tested from: speedguide.net
The performance was doubled as a magic
thanks for help and support
@YeOldeStonecat
Thanks for your advice and i will take into account
- RaisinCain
- Posts: 1941
- Joined: Fri Jun 05, 2009 7:11 pm
First thing to do is update the XP SP2 machine to SP3 and run Windows Update.besmart wrote:i created vpn between two machines:
-server windows 2000 connected to adsl router with speed 1 mbps. (running oracle database)
-and remote client windows xp sp2 connected to usb wireless adsl connection (about 1 mbps)
here is an initial test for server windows 2000
« SpeedGuide.net TCP Analyzer Results »
IP address: xx.xx.xxx.xxx
Client OS: Windows 2000
TCP options string: 020405ac01010402
MSS: 1452
MTU: 1492
TCP Window: 64240 (NOT multiple of MSS)
RWIN Scaling: 0 bits
Unscaled RWIN : 64240
Recommended RWINs: 63888, 127776, 255552, 511104, 1022208
BDP limit (200ms): 2570kbps (321KBytes/s)
BDP limit (500ms): 1028kbps (128KBytes/s)
MTU Discovery: ON
TTL: 112
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)
can you assist me in optimizing TCP parameters on both machines to get the best performance using tcp optimizer.
thanks
- YeOldeStonecat
- SG VIP
- Posts: 51171
- Joined: Mon Jan 15, 2001 12:00 pm
- Location: Somewhere along the shoreline in New England
You could select just one adapter, or you could select all the ones installed on your computer.besmart wrote:More Questions![]()
q1-When i optimize TCP , is it valid for LAN / Internet Connection, or i should apply custome setting for each?
q2- Is TCP setting is applied for all NICs on the machine?
q3-I can not run mtu/lattency test from within tcp optimizer for a machine connected to ISA 2006 , what can i do?
ISA wasn't processor and RAM, again..I would make a backup before trying to change things, because the ISA proxy client (that runs in your systray) may have issues.
MORNING WOOD Lumber Company
Guinness for Strength!!!
Guinness for Strength!!!
- YeOldeStonecat
- SG VIP
- Posts: 51171
- Joined: Mon Jan 15, 2001 12:00 pm
- Location: Somewhere along the shoreline in New England
TCP did change across different versions of Windows. The stack in Windows 7 is quite different from that in XP which is quite different from that in 9X.rickrick wrote:Upgradation of windows as such is not required for the enhancement of TCP as its function is not correlated to the version.
MORNING WOOD Lumber Company
Guinness for Strength!!!
Guinness for Strength!!!
- YeOldeStonecat
- SG VIP
- Posts: 51171
- Joined: Mon Jan 15, 2001 12:00 pm
- Location: Somewhere along the shoreline in New England
The Objective is minimizing cost of communication lines per year and get high performance
I will go to terminal service , still under study:
- which: Windows TS ,citrix or other.
- I think that i need also vpn , so i study AscenLink appliance that play two roles: load balancer for two ADSL lines and VPN (http://www.xtera.com/content/products/w ... /ascenlink)
- The suitable speed for ADSL lines: is 2 lines * 2mbps in main office , and 1mbs for branches are suitable
Can i get numbers?
updating windows 2000 sure as you suggest.
Current number of users are 5
I need your suggestion to that solution or best Environment for implementation of terminal service
I will go to terminal service , still under study:
- which: Windows TS ,citrix or other.
- I think that i need also vpn , so i study AscenLink appliance that play two roles: load balancer for two ADSL lines and VPN (http://www.xtera.com/content/products/w ... /ascenlink)
- The suitable speed for ADSL lines: is 2 lines * 2mbps in main office , and 1mbs for branches are suitable
Can i get numbers?
updating windows 2000 sure as you suggest.
Current number of users are 5
I need your suggestion to that solution or best Environment for implementation of terminal service
- YeOldeStonecat
- SG VIP
- Posts: 51171
- Joined: Mon Jan 15, 2001 12:00 pm
- Location: Somewhere along the shoreline in New England
My approach would be using Server 2008 Published Applications....through a VPN tunnel. Since 2008 isn't supported by this software (I'm shocked...any software company that has a product out now that won't support Server 2008 environment...WOW...time to catch up with the times). So drop down to Server 2003 Terminal Server.
As for how much horsepower to run the terminal server on...how many users at all the satellites combined....will be using it at the same time? Use this number and refer to documentation for this application....they usually have guidelines.
Could even use the same new server hardware...install VMWare on it, install the terminal server as one guest, and to a P to V with the 2000 server to run it as the second guest. So one physical server running both of those guests. Retire the old server hardware.
To keep costs down...plenty of good open sourced apps out there, PFSense, Untangle....do run rock solid and fast VPN tunnels with.
As for how much horsepower to run the terminal server on...how many users at all the satellites combined....will be using it at the same time? Use this number and refer to documentation for this application....they usually have guidelines.
Could even use the same new server hardware...install VMWare on it, install the terminal server as one guest, and to a P to V with the 2000 server to run it as the second guest. So one physical server running both of those guests. Retire the old server hardware.
To keep costs down...plenty of good open sourced apps out there, PFSense, Untangle....do run rock solid and fast VPN tunnels with.
MORNING WOOD Lumber Company
Guinness for Strength!!!
Guinness for Strength!!!