TCP Window-Full Zero-Window Stall Downloads

sluk

New member
Local time
12:22 AM
Messages
11
I just receive my Windows 7 64-bit laptop and I encountered problems with Internet downloads. I've tried download using IE or Firefox and via the LAN and Wireless adapters and the results are the same - downloads always stuck in the middle at random position and cannot complete. I use Wireshark to capture the network packets and discovered that whenever the download interruption occur there will be TCP Window-Full sent over from the server on the other side and the local adapters respond with TCP Zero-Window then the download stalls. Then I downgrade the machine to Windws XP everything working fine, so I believe this is a Windows 7 related issue, any idea how can this TCP Window-Full /Zero-Window stalls download problems under Windows 7 be resolved?
 

My Computer My Computer

At a glance

Windows 7Core i32 GBATI HD Mobility 5470
Computer Manufacturer/Model Number
Dell Inspiron 14R / N4010
OS
Windows 7
CPU
Core i3
Memory
2 GB
Graphics Card(s)
ATI HD Mobility 5470
What antivirus or security software are you running?
Using the latest drivers for your network card?
 

My Computer My Computer

At a glance

Windows 10 Pro (x64)Intel Core i7-3930K (3.2GHz - 4.5GHz)4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)Nvidia Geforce GTX 690
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
It is a clean install, no application, just chip set, network adapters drivers being installed for the test. Yes, the drivers are most up-to-date
 

My Computer My Computer

At a glance

Windows 7Core i32 GBATI HD Mobility 5470
Computer Manufacturer/Model Number
Dell Inspiron 14R / N4010
OS
Windows 7
CPU
Core i3
Memory
2 GB
Graphics Card(s)
ATI HD Mobility 5470
I just receive my Windows 7 64-bit laptop and I encountered problems with Internet downloads. I've tried download using IE or Firefox and via the LAN and Wireless adapters and the results are the same - downloads always stuck in the middle at random position and cannot complete. I use Wireshark to capture the network packets and discovered that whenever the download interruption occur there will be TCP Window-Full sent over from the server on the other side and the local adapters respond with TCP Zero-Window then the download stalls. Then I downgrade the machine to Windws XP everything working fine, so I believe this is a Windows 7 related issue, any idea how can this TCP Window-Full /Zero-Window stalls download problems under Windows 7 be resolved?

Hi sluk, what make and model of router are you using?
 

My Computer My Computer

At a glance

Windows 7 Ult, Windows 8.1 Pro,Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHzG.Skill PC2 9600 1200Mhz 5 5 5 15 2TGTX480
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
Juinper Netscreen 5 , a very very OLD hardware firewall router.
 

My Computer My Computer

At a glance

Windows 7Core i32 GBATI HD Mobility 5470
Computer Manufacturer/Model Number
Dell Inspiron 14R / N4010
OS
Windows 7
CPU
Core i3
Memory
2 GB
Graphics Card(s)
ATI HD Mobility 5470
If you can find a fairly recent firmware update that might help although many routers ended support well before Windows 7 was released. There were so many changes to the network stack with Windows 7 that often times old routers will not work without a firmware update.

If the firmware update doesn't work it may be time to upgrade your router.
 

My Computer My Computer

At a glance

Windows 7 Ult, Windows 8.1 Pro,Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHzG.Skill PC2 9600 1200Mhz 5 5 5 15 2TGTX480
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
Unfortunately, the router already stop production few years ago. Oh well, maybe I can test local ftp / http kind of file transfer see without involving the router make any different. Already tried Windows Copy/Paste to / from a NAS on the same LAN without any problem.
 

My Computer My Computer

At a glance

Windows 7Core i32 GBATI HD Mobility 5470
Computer Manufacturer/Model Number
Dell Inspiron 14R / N4010
OS
Windows 7
CPU
Core i3
Memory
2 GB
Graphics Card(s)
ATI HD Mobility 5470
What probably is going on is your router is messing with TCP Window Scaling, common among old network gear.
TCP Window Scaling is very important to get the most out of your high-speed network/internet.
Without it a packet can only hold 65,535 bytes, but with it can reach 1 Gigabyte.

Transmission Control Protocol - Wikipedia, the free encyclopedia
Some routers and packet firewalls rewrite the window scaling factor during a transmission. This causes sending and receiving sides to assume different TCP window sizes. The result is non-stable traffic that may be very slow. The problem is visible on some sending and receiving sites behind the path of defective routers.

Windows 7 is setup out of the box to take full advantage of Window Scaling. To the dismay of "bad" routers.
 

My Computer My Computer

At a glance

Windows 10 Pro (x64)Intel Core i7-3930K (3.2GHz - 4.5GHz)4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)Nvidia Geforce GTX 690
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
This "bad routers" thing occurs here on a daily basis LOL. I'm not sure that bad is the correct term. I think maybe just outdated routers with no current support might be better. The sad thing is that many of these outdated routers could be made to work if not for the lack of support.
 

My Computer My Computer

At a glance

Windows 7 Ult, Windows 8.1 Pro,Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHzG.Skill PC2 9600 1200Mhz 5 5 5 15 2TGTX480
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
You guys are right, I've test the transfer in the LAN and found although TCP Windows Full and Zero also occurs but there is no interruption to the ftp / http downloads. I found that there is not a single TCP Windows Full or Zero occur while using Windows "Copy & Paste". Before I can buy a new router, now I fixed the Internet downloads problem temporary by disabled the Windows 7 TCP Window Auto Tunning:

netsh int tcp show global
Querying active state...

TCP Global Parameters
----------------------------------------------
Receive-Side Scaling State : enabled
Chimney Offload State : automatic
NetDMA State : enabled
Direct Cache Acess (DCA) : disabled
Receive Window Auto-Tuning Level : disabled
Add-On Congestion Control Provider : none
ECN Capability : disabled
RFC 1323 Timestamps : disabled

After that I have encounter no more trouble in file download from the Internet, I see no more TCP Window Full issue from the server side but I do have TCP Window Zero as issued by the local adapter but that does't stall the download.
 

My Computer My Computer

At a glance

Windows 7Core i32 GBATI HD Mobility 5470
Computer Manufacturer/Model Number
Dell Inspiron 14R / N4010
OS
Windows 7
CPU
Core i3
Memory
2 GB
Graphics Card(s)
ATI HD Mobility 5470
Thanks for reporting back in sluk. It's nice to know that those network features can be adjusted to to fix router problems.

With some of the old Nvidia drivers it helped to disable the "Recieve-Side Scaling State" which fixed problems with some of their older drivers on certain machines.
 

My Computer My Computer

At a glance

Windows 7 Ult, Windows 8.1 Pro,Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHzG.Skill PC2 9600 1200Mhz 5 5 5 15 2TGTX480
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
Back
Top