Solved Windows not utilizing over 30% of LAN bandwidth

Lurickin

New member
Local time
1:04 PM
Messages
2
I have my Windows box running with a Solarflare NIC (Model: SFN5162F) which has two 10Gb ports on it. Those links are connected to two of the 10Gb ports on the switch. I also have a Linux server with the same NIC and its two 10Gb ports connecting to the switch. I know this forum is for Windows support so I want to make sure I check and optimize everything I can on the Windows side before moving on to the Linux box. (See update below)

I currently have Jumbo Frames enabled and set to 9000 on both machines and the switch. Every LAN speedtest I have run with iperf and other tools I have never seen the speeds go higher than 3.5Gbps and mostly seem to average around 3Gbps or slightly less. The switch is fully capable of supporting all the bandwidth and the cards are as well but with so many options out there and what you should and could tweak or change or do on the Windows side I'm left scratching my head as to what will actually work. It gets annoying trying 20 different things and rebooting the machine after each one just to make sure that the settings took and everything starts up fresh.

The drivers are up to date with the latest ones available from the manufacturer. Disabled anti-virus and anything else that could even possibly cause an issue during testing and saw no improvement. The NIC supports bidirectional communication of 10Gbps each way and while I know iperf will only really test one of the adapters, I should still expect to see test speeds around at least 9 to 9.5Gbps. I've verified the settings and full duplex is being used.



Update: I opened up two windows and ran iperf as a server with one and a client on the other. I did this on both the Linux box and Windows box. The results from the Linux box are below:
Code:
:~$ iperf -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 2.50 MByte (default)
------------------------------------------------------------
[  3] local 192.168.1.1 port 48559 connected with 192.168.1.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  53.9 GBytes  46.3 Gbits/sec
The Windows box:
Code:
>iperf -c 192.168.1.2
------------------------------------------------------------
Client connecting to 192.168.1.2, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[  3] local 127.0.0.1 port 53517 connected with 192.168.1.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  2.54 GBytes  2.18 Gbits/sec

I know that these results are produced, at least on the linux side, with the traffic not even traversing the physical interfaces but the differences seem too great between Linux and Windows to be a fluke with iperf itself and still leads me to believe something is going wonky in Windows.
 
Last edited:

My Computer My Computer

At a glance

Windows 7 Pro x64Intel Core i7 3930K28GB (7x4GB) G.Skill DDR3 Quad Channel2x Radeon HD 7970
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Pro x64
CPU
Intel Core i7 3930K
Motherboard
Asus x79 Sabertooth
Memory
28GB (7x4GB) G.Skill DDR3 Quad Channel
Graphics Card(s)
2x Radeon HD 7970
Hard Drives
1TB - Samsung 840 Evo
2TB - Seagate something
Antivirus
Kaspersky
Browser
Chrome and Firefox
I don't get how Linux got way above 10 Gbps if the link rate maxes out at 10 Gbps. I wouldn't trust the results from Linux if it's showing 46 Gbps. Anyways, maybe network overhead is far more pronounced at this bandwidth level.

Unfortunately, 10 Gbps networking is still limited to enterprise so it'll be very rare for to get another user to post here that he/she is getting throughput of 80 - 97% of the 10 Gbps link rate to show that it isn't limited by OS but rather drivers, networking equipment, SSD drives and/or network overhead.
 

My Computer My Computer

At a glance

Windows 7 Professional x64 SP1Intel® Pentium® 4 @ 2.26 GHz, Intel Core i7-2...512MB Dual channel DDR SDRAM @ 400MHz 2.5-3-3...Intel 82865G, Nvidia GeForce 520M Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
Dell Optiplex SX270, Lenovo Z470
OS
Windows 7 Professional x64 SP1
CPU
Intel® Pentium® 4 @ 2.26 GHz, Intel Core i7-2670QM @ 2.20 GH
Motherboard
Dell, Lenovo
Memory
512MB Dual channel DDR SDRAM @ 400MHz 2.5-3-3-7, 8 GB DDR3
Graphics Card(s)
Intel 82865G, Nvidia GeForce 520M Graphics
Sound Card
SoundMax Integrated Audio, Integrated HD Audio
Monitor(s) Displays
LG W1952
Screen Resolution
1440x900, 1366 x 768
Hard Drives
40 GB 2.5" IDE 4200 RPM HDD, 500 GB 5400 RPM Sata 1.5 + 32 GB SSD
PSU
Dell 145 Watt, Lenovo 120 Watt Power Adapter
Case
Optiplex SX270 Small Form Factor, Laptop
Cooling
Dell Proprietary Air Cooling, Stock laptop cooling
Keyboard
Dell SK-8125 USB Keyboard
Mouse
Dell PS/2 2 button ball mouse with wheel scroll
Internet Speed
300 Mbit down / 20 Mbps up Time Warner Cable
Antivirus
MSE, Malwarebytes Scanner
Browser
Internet (Aizawa) Explorer 11
Other Info
Running Windows Server 2012 Datacenter on a virtual machine to run Metro Apps.
I know this is over a month old but I just wanted to post an update. I finally figured out why there was such a limitation on the bandwidth. My SSD has a max read/write speed of around 500MBps and assuming that it gets anywhere near that in real world situations the max throughput over LAN would be around 3,500Mbps. So the limitation appears to be the hard drive and a little bit of Windows overhead as well. To fully utilize all the bandwidth available I'll have to go with a big RAID 10 of SSDs or a RAID 0 and keep lots of backups.
 

My Computer My Computer

At a glance

Windows 7 Pro x64Intel Core i7 3930K28GB (7x4GB) G.Skill DDR3 Quad Channel2x Radeon HD 7970
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Pro x64
CPU
Intel Core i7 3930K
Motherboard
Asus x79 Sabertooth
Memory
28GB (7x4GB) G.Skill DDR3 Quad Channel
Graphics Card(s)
2x Radeon HD 7970
Hard Drives
1TB - Samsung 840 Evo
2TB - Seagate something
Antivirus
Kaspersky
Browser
Chrome and Firefox
or a decent lsi or areca controller and >5 enterprise hdds in raid 5.

the only reason to run 10Gbe anyway.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Xeon E5-1650 v2Kingston ECCQuadro fx 580
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64
CPU
Xeon E5-1650 v2
Motherboard
Asus p9x79 ws
Memory
Kingston ECC
Graphics Card(s)
Quadro fx 580
Hard Drives
Samsung 850 pro
Corsair Force Gt
Seagate Enterprise 6TB on 3ware 9750
Antivirus
avira
Back
Top