I have a 200mbps connection. My speeds varie from 40mbps to 155mbps - Help please?

Get help and discuss anything related to tweaking your internet connection, as well as the different tools and registry patches on the site. TCP Optimizer settings and Analyzer results should be posted here.
Post Reply
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

I have a 200mbps connection. My speeds varie from 40mbps to 155mbps - Help please?

Post by Robert Headley »

1. What is your advertised internet speed? 200Mbps
2. What actual transfer speed do you get? 150Mbps but sometimes 40Mbps
3. Who is your Internet Provider (ISP), and what type of connection do you have ? Midcontinent Communications Docis3 Cable
4. What are your current settings ? do a TCP/IP Analyzer test and copy/paste the results in your post. - See Below
5. Your modem/router/ap brand ? cisco DPC3825
6. Your Operating System ? Windows 7 Home Premium 64bit

« SpeedGuide.net TCP Analyzer Results »
Tested on: 2014.08.12 23:03
IP address: 24.230.xx.xx
Client OS/browser: Windows 7 (Chrome 37.0.2062.68)

TCP options string: 020405b401010402
MSS: 1460
MTU: 1500
TCP Window: 64240 (multiple of MSS)
RWIN Scaling: 0 bits
Unscaled RWIN : 64240
Recommended RWINs: 64240, 128480, 256960, 513920, 1027840
BDP limit (200ms): 2570kbps (321KBytes/s)
BDP limit (500ms): 1028kbps (128KBytes/s)
MTU Discovery: ON
TTL: 52
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)

I downloaded the optimizer and turned tuning off.
I have called my ISP repeatedly (They previously had me on an overutilzied node) and they are insisting the problem is on my end.
I started out with a 100mbps connection of which I tested at 119mbps. The ISP (Midcontinent Communications) then "upgraded" everyone to 200mbps and my connection has gone up and down ever since.
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

Image
At 11:03pm at night, that should be much higher.

Image
At around 12:28 AM A bit better

My modem status page
Image
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

I would appreciate any an all help. Especially if anyone has experience with connections of this speed. I know almost no-one with experience.
User avatar
RaisinCain
Posts: 1941
Joined: Fri Jun 05, 2009 7:11 pm

Post by RaisinCain »

Sounds like you are still on a congested node.
User avatar
KEiGHT
Regular Member
Posts: 131
Joined: Thu Feb 27, 2014 2:39 am
Location: Romania

Post by KEiGHT »

Open cmd.exe Run as administrator then put in these lines Press ENTER and wait for OK/one at the time

netsh int tcp set heuristics wsh=disabled
netsh int tcp set global autotuninglevel=normal
netsh int tcp set global congestionprovider=ctcp
netsh int tcp set global rss=enabled

after that, merge this 2 entries into registry

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\AFD\Parameters]
"DefaultReceiveWindow"=dword:01869e98
"DefaultSendWindow"=dword:01869e98
"DefaultReceiveWindow"=dword:01869e98 <<( this is your Advertised DL speed in kilobits multiplied with 128, then it's us as a multiple of MSS)
"DefaultSendWindow"=dword:01869e98 <<(this is your Advertised UL speed in kilobits multiplied with 128, then use that number as a multiple of MSS)

Ex: your dld speed 200 Mbps > 200.000 * 128 = 25600000 then.. 25600000/1460 => 17534 => 17534*1460 = 25599640 << This is your number to set as DECIMAL in DefaultReceiveWindow

from where is 128? => 200.000*1024/8=25600000... 25600000/128=200.000 to simplify your work
normally is in this way ; 200.000*1024/8

1460 is your MSS multiplier so, 25600000 become 25599640 => dword:01869e98 as multiplier of MSS
Do the same calculation even for DefaultSendWindow ! your UPL speed in kilobits * 128

for "DefaultReceiveWindow"=dword:01869e98 I've made calculation for you, for the other DefaultSendWindow, I don't know your UPL speed, you should calculate it , I was assuming cuz is the same !

Reboot PC !

Good luck !
Every man has his destiny.
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

First test after following @Keight's advice.
Image

I think I need to tweak the SendWindow and yell at my ISP about the node being congested. I think it still is.

Thank you everyone.

It wouldn't let me merge it into the registry, so I added it manually. I believe I did it correctly.

Ok, my upload is 20 megabit. I am trying to do the calculation, but failing hard.
User avatar
KEiGHT
Regular Member
Posts: 131
Joined: Thu Feb 27, 2014 2:39 am
Location: Romania

Post by KEiGHT »

try even with ECN Capability

netsh int tcp set global ecncapability=enabled
Every man has his destiny.
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

Thanks @KEiGHT
I enabled ECN and here is the result
Image
I wonder if speed.net 's duration is not long enough, if I were to try a longer term download if I would get closer to my max. I would be ok with that.
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

I also found this which gives me a connection over 200mbps
But I wonder if Cachefly is just juicing the numbers to sell their caching service.

http://www.cachefly.com/
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

Image
Off Peak test
User avatar
KEiGHT
Regular Member
Posts: 131
Joined: Thu Feb 27, 2014 2:39 am
Location: Romania

Post by KEiGHT »

So, the congestion was ;) maxim possible is 25 and you have 18.30 , I think is a good ratio !

so , when you install again windows 7 copy these into a text file and save it as .bat and run it as admin ! put it in a safe place D or E!

Code: Select all

@echo off

netsh int ipv4 set subinterface "Local Area Connection" mtu=1500 store=persistent >nul
netsh int ipv4 set dynamicportrange tcp start=1025 num=48127 >nul
netsh int ipv4 set dynamicportrange udp start=49152 num=16383 >nul
netsh interface tcp set global initialRto=1000 >nul
netsh int tcp set heuristics wsh=disabled >nul
netsh int tcp set global autotuninglevel=normal >nul
netsh int tcp set global congestionprovider=ctcp >nul
netsh int tcp set global ecncapability=enabled >nul
netsh int ip set global taskoffload=enabled >nul
netsh int tcp set global chimney=automatic >nul
netsh int tcp set global rss=enabled >nul
netsh int tcp set global netdma=enabled >nul
netsh int tcp set global dca=enabled >nul
netsh interface ip add dns name="Local Area Connection" addr=208.67.222.222 index=1 >nul
netsh interface ip add dns name="Local Area Connection" addr=208.67.220.220 index=2 >nul

>exit
and merge this registry too just to be sure CTCP is set for good !

Code: Select all

Windows Registry Editor Version 5.00

; Enable Congestion Control Provider(CTCP) with autotuninglevel set to NORMAL/No Heuristics

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a03-9b1a-11d4-9123-0050047759bc}\0]
"0200"=hex:01,00,00,00,02,00,00,05,e0,93,04,00,00,00,00,00,1e,00,00,00,00,00,\
  00,00,00,00,00,00,02,00,00,00,03,00,00,00,00,00,00,00,ff,00,ff,ff,ff,ff,ff,\
  ff,ff,ff,ff,ff,00,00,00,00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,ff,ff,00,00,\
  ff,ff,ff,ff,00,00,00,00
"1700"=hex:00,00,00,00,02,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,02,00,00,00,03,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,\
  00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,00,00,\
  ff,ff,ff,ff,00,00,00,00
Every man has his destiny.
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

Enabling Receive-side Scaling on windows 7 dropped my ping by 1 ms. True Story.
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

I still want my connection faster than what it is, but I really do thank you for all your help. These changes will surely lead to a better connection. I just need to knock some heads around at my ISP. lol
User avatar
KEiGHT
Regular Member
Posts: 131
Joined: Thu Feb 27, 2014 2:39 am
Location: Romania

Post by KEiGHT »

Hmm regarding your configuration is recommended to have a PC with at least 8 GB DRAM (DDR3), Processor with at least 3 Ghz speed core 2 duo minimum (Quad core recommended)

I can not guarantee that your ISP will provide the guaranteed speed of 200 Mbps but up to... > 200 Mbps , RIGHT ?
because you are not alone in that environment :)
Every man has his destiny.
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

KEiGHT wrote:Hmm regarding your configuration is recommended to have a PC with at least 8 GB DRAM (DDR3), Processor with at least 3 Ghz speed core 2 duo minimum (Quad core recommended)
Intel Core i7 2600K @ 3.40GHz
8.00GB Dual-Channel DDR3 @ 798MHz (11-11-11-28)
User avatar
KEiGHT
Regular Member
Posts: 131
Joined: Thu Feb 27, 2014 2:39 am
Location: Romania

Post by KEiGHT »

that's good enough !
Every man has his destiny.
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

I thought for sure I had disabled QoS on the network adapter before...
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

Image
User avatar
KEiGHT
Regular Member
Posts: 131
Joined: Thu Feb 27, 2014 2:39 am
Location: Romania

Post by KEiGHT »

Robert Headley wrote:I thought for sure I had disabled QoS on the network adapter before...

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
"NonBestEffortLimit"=dword:00000000
Every man has his destiny.
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

Now... my DNS lookups are taking forever. Sometimes multiple seconds.. even 10 seconds in some cases. This can't be the website.
User avatar
KEiGHT
Regular Member
Posts: 131
Joined: Thu Feb 27, 2014 2:39 am
Location: Romania

Post by KEiGHT »

netsh interface ip add dns name="Local Area Connection" addr=208.67.222.222 index=1
netsh interface ip add dns name="Local Area Connection" addr=208.67.220.220 index=2
Every man has his destiny.
User avatar
Robert Headley
New Member
Posts: 16
Joined: Tue Aug 12, 2014 10:56 pm
Location: Sioux Falls, SD

Post by Robert Headley »

Yeah, is that OpenDNS? I figured out what it was already. I had an extension that did lookups on google results, and it wouldn't let google load until they were able to load. Lame. Thanks man.
Post Reply