Network tweak script


shoober420

Active member
Member
Local time
2:56 PM
Posts
90
Visit site
OS
Windows 11 27729
i finally finished my network tweak script. i thought i would post it so others could use it and/or give advice and further tweaks to it.

it does require you to know your MTU sweet spot, meaning the MTU value when packets arent fragmented anymore. there are instructions in the batch script on how to do so (using ping).

theres one or two more settings that require you to manually adjust as well, one being RSS queue count, although i recommend leaving at 4 RSS queues.

 
Windows Build/Version
Windows 27729

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
It seems the MTU size is determined on the ISP side and it can vary.
You need the packets to be non-fragmented.

ping -f -l <packet_size=MSS>

So you don't get a message like this "(Packet needs to be fragmented but DF set.)"

I could be wrong.
 

My Computer

System One

  • OS
    Microsoft Windows 11 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI MS-7D98
    CPU
    Intel Core i5-13490F
    Motherboard
    MSI B760 GAMING PLUS WIFI
    Memory
    2 x 16 Patriot Memory (PDP Systems) PSD516G560081
    Graphics Card(s)
    GIGABYTE GeForce RTX 4070 WINDFORCE OC 12G (GV-N4070WF3OC-12GD)
    Sound Card
    Bluetooth Аудио
    Monitor(s) Displays
    INNOCN 15K1F
    Screen Resolution
    1920 x 1080
    Hard Drives
    WD_BLACK SN770 250GB
    KINGSTON SNV2S1000G (ELFK0S.6)
    PSU
    Thermaltake Toughpower GF3 1000W
    Case
    CG560 - DeepCool
    Cooling
    ID-COOLING SE-224-XTS / 2 x 140Mm Fan - rear and top; 3 x 120Mm - front
    Keyboard
    Corsair K70 RGB TKL
    Mouse
    Corsair KATAR PRO XT
    Internet Speed
    100 Mbps
    Browser
    Firefox
    Antivirus
    Microsoft Defender Antivirus
    Other Info
    https://www.userbenchmark.com/UserRun/66553205
yes, i have it set to 1472 in the script, instead of the default 1500, as ive noticed that seems to be a very common MTU sweet spot at various ISPs ive had. they include comcast, verizon, and spectrum.

heres the exact MTU instructions i have from the network batch script.

Code:
rem # Find correct MTU value and set below
rem # open Command Prompt
rem # ping www.google.com -f -l 1500 (keep lowering value until packets aren't fragmented)

i was trying to think of ways to have a script auto detect your MTU, im sure theres a way. starting from like 1512 and go down until the string finds the first instance of an unfragmented packet. that would be pretty cool. im trying to get into programming, specifically C/C++, and notice that advanced shell scripting does use some C talk. when i get better ill make a seperate script to auto detect MTU.

i also forgot to mention in the first post this script couldnt have been possible without the help from @garlin, he was a tremedous help and i gave him credit in the script notes.
 

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
1500 is the standard ethernet MTU but for PPPoE based connections, the optimum should be 1492 from what I remember.
 

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen Processor 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    32GB using 2x16GB modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1024GB/1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows
1472 is a more typical MTU for ISP traffic.

Code:
@echo off
setlocal
set /a MTU=1500

:check_MTU_size
    for /f %%f in ('ping -f -l %MTU% 1.1.1.1 -n 1 ^| find /c "fragmented"') do set result=%%f
    if %result% equ 1 (
        set /a MTU=MTU - 1
        goto :check_MTU_size
    )

echo %MTU%
 
Last edited:

My Computer

System One

  • OS
    Windows 7
Ping MSS.
MTU = MSS + IP header + ICMP header.
MTU = MSS + 28
 

My Computer

System One

  • OS
    Microsoft Windows 11 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI MS-7D98
    CPU
    Intel Core i5-13490F
    Motherboard
    MSI B760 GAMING PLUS WIFI
    Memory
    2 x 16 Patriot Memory (PDP Systems) PSD516G560081
    Graphics Card(s)
    GIGABYTE GeForce RTX 4070 WINDFORCE OC 12G (GV-N4070WF3OC-12GD)
    Sound Card
    Bluetooth Аудио
    Monitor(s) Displays
    INNOCN 15K1F
    Screen Resolution
    1920 x 1080
    Hard Drives
    WD_BLACK SN770 250GB
    KINGSTON SNV2S1000G (ELFK0S.6)
    PSU
    Thermaltake Toughpower GF3 1000W
    Case
    CG560 - DeepCool
    Cooling
    ID-COOLING SE-224-XTS / 2 x 140Mm Fan - rear and top; 3 x 120Mm - front
    Keyboard
    Corsair K70 RGB TKL
    Mouse
    Corsair KATAR PRO XT
    Internet Speed
    100 Mbps
    Browser
    Firefox
    Antivirus
    Microsoft Defender Antivirus
    Other Info
    https://www.userbenchmark.com/UserRun/66553205
Using your PC's MSS ignores the real-world impact of how the upstream networks are handling your traffic. A MTU "don't fragment" test is still the best answer.
 

My Computer

System One

  • OS
    Windows 7
The infamous John Navas used to have a site that talks about MTU. PPPoE and also I believe PPPoA cannot do a MTU of 1500 because there is the overhead. It's so long I had to change the MTU as I had not used a PPPoE based ISP since 2002 as my later ADSL connections were always using Ethernet without PPPoE.

PPPoE is defined by RFC 2516. Section 7 of that RFC specifies a maximum transmission unit of 1492 octets. As Ethernet uses 1500 octets, fragmentation is common.

The best way to test this is using ping of different byte sizes and if you get timeouts, the MTU is too high.

I think it was 1480 that was used as a end result.
 
Last edited:

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen Processor 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    32GB using 2x16GB modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1024GB/1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows
ive used many ISPs, and i was shocked to see they all end up being 1472, no matter what modem or how fast the connection speed was. this is in a home environment though. i would imagine that if i was testing MTU in a corporate environment, this would fluctuate.
 

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
ive used many ISPs, and i was shocked to see they all end up being 1472, no matter what modem or how fast the connection speed was. this is in a home environment though. i would imagine that if i was testing MTU in a corporate environment, this would fluctuate.
Yes because if it requires logging in for the connection, that uses PPPoE or PPPoA which is software so there is additional overhead which usually goes to a Redback SMS 1800 Switch on the other side so it has nothing to do with the speed or modem as it adds a additional software layer aka overhead to the issue, this is so the ISP can kick you off when they feel like it so other people can connect similar to Dial Up Networking. There are ISPs who has the connection as a standard ethernet connection so there is no PPPoE or PPPoA needed so it works like a regular ethernet connection with the standard MTU of 1500.
 

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen Processor 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    32GB using 2x16GB modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1024GB/1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows
I have used a number of ISPs with different devices (W8,/W10/W11) and always got the quoted performance of the ISP (copper wire only, copper wire+fibre and now full fibre.

Not once have I ever tweaked MTU or other network parameters.

So this script, for me personally, seems to be a solution to a problem I never had.

When would you need to run script e.g. only if download performance is significantly underperforming as a diagnostic check.

If one is meeting ISP performances, is there any benefit of running script i.e. if it ain't broke, don't fix it?

Some guidance on when script would be useful, .

Also, is script reversible e.g. if running script actually made performance worse?

As a minimum warn people to make an image backup first (applies to any tweak).
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
I’ve never had to tweak a connection either. Maybe I’ve been lucky but I always receive what I pay for without error. Nothing a router reboot wouldn’t fix anyway.
Maybe back during the days of dialup, but not now.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.4249
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 - 2 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
Does anyone remember CableNut?

 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Stigg's Build
    CPU
    Intel Core i9-10900X
    Motherboard
    GIGABYTE X299X DESIGNARE 10G
    Memory
    Corsair 64 GB (4 x 16 GB) CMW64GX4M4C3000C15 Vengeance RGB Pro 3000Mhz DDR4
    Graphics Card(s)
    GIGABYTE GeForce GTX 1660 Super Mini ITX 6 GB OC
    Sound Card
    Realtek ALC1220
    Monitor(s) Displays
    Samsung 27" FHD LED FreeSync Gaming Monitor (LS27F350FHEXXY)
    Screen Resolution
    1920 x 1080
    Hard Drives
    Samsung 970 Pro Series 1TB M.2 2280 NVMe SSD
    Western Digital Red Pro WD8003FFBX-68B9AN0 8 TB, 7200 RPM, SATA-III
    Western Digital Red Pro WD8003FFBX-68B9AN0 8 TB, 7200 RPM, SATA-III
    PSU
    Corsair HX1200 1200W 80 Plus Platinum
    Case
    Fractal Design Define 7 Black Solid Case
    Cooling
    Noctua NH-D15 Chromax Black
    Keyboard
    Razer Ornata V2
    Mouse
    Razer DeathAdder Essential
    Internet Speed
    FTTN 100Mbps / 40Mbps
    Browser
    Mozilla Firefox
    Antivirus
    N/A
    Other Info
    Logitech BRIO 4k Ultra HD USB-C Webcam
  • Operating System
    Windows 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS ROG Zephyrus M GM501GS
    CPU
    Core i7-8750H
    Motherboard
    Zephyrus M GM501GS
    Memory
    SK Hynix 32 GB (2 x 16 GB) HMA82GS6CJR8N-VK 16 GB DDR4-2666 DDR4 SDRAM
    Graphics card(s)
    NVIDIA GeForce GTX 1070
    Sound Card
    Realtek ALC294
    Monitor(s) Displays
    AU Optronics B156HAN07.1 [15.6" LCD]
    Screen Resolution
    1920 x 1080
    Hard Drives
    Samsung MZVKW512HMJP-00000 512 GB, PCI-E 3.0 x4
    Samsung SSD 860 QVO 4TB 4 TB, SATA-III
    PSU
    N/A
    Case
    N/A
    Cooling
    N/A
    Mouse
    Razer DeathAdder Essential
    Keyboard
    PC/AT Enhanced PS2 Keyboard (101/102-Key)
    Internet Speed
    FTTN 100Mbps / 40Mbps
    Browser
    Mozilla Firefox
    Antivirus
    N/A
    Other Info
    USB2.0 HD UVC Webcam
If one is meeting ISP performances, is there any benefit of running script i.e. if it ain't broke, don't fix it?

Also, is script reversible e.g. if running script actually made performance worse?
This is mostly for gamers or power users. If you just browse the internet and stream movies, it wont be noticable. Even people who game probably wont notice a difference. Its mostly to ease any tweakers mind not wondering "what if" when missing a shot in game that looks like it hit the target.

Yes of course make a backup of your registry before applying, there is no going back once used, unless you WinRE refresh the machine.

stigg said:
Does anyone remember CableNut?

How neat, i dont unfortunately. that was a little before my time. my dad probably remembers that software. i remember blackice firewall though. i really liked blackice. i was just a kid when using Win95+, i wasnt doing any tweaks yet, just playing Quake 2 and Half-Life lol. looks like a precursor to TCPOptimizer. I used TCPOptimizer to get some of the setting values.
 

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
@shoober420 is there anything worth taking from this and adding into script?



I recon you would find some decent stuff through out all his or hers.. Files.. Check out all the other stuff for your "windows11-scripts"

Alot of things could be added from this

 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    MSI-Katana GF66 11UC
    CPU
    Intel Core i7 11800H @ 2.30GHz Tiger Lake 10nm Tech
    Motherboard
    Micro-Star International Co., Ltd. MS-1582 (U3E1)
    Memory
    16.0GB Dual-Channel DDR4 @ 1598MHz (22-22-22-52)
    Graphics Card(s)
    Generic PnP Monitor (1920x1080@144Hz) Intel UHD Graphics (MSI) 4095MB NVIDIA GeForce RTX 3050 Laptop GPU (MSI) 47 °C SLI Disabled
    Sound Card
    Realtek High Definition Audio Intel Smart Sound Technology for Digital Microphones Intel Smart Sound Technology for Bluetooth Audio Intel Smart Sound Technology for USB Audio
    Monitor(s) Displays
    Name Generic PnP Monitor on Intel UHD Graphics Current Resolution 1536x864 pixels Work Resolution 1536x824 pixels State Enabled, Primary Monitor Width 1920 Monitor Height 1080 Monitor BPP 32 bits per pixel Monitor Frequency 144 Hz Device \\.\DISPLAY1\Monitor0
    Hard Drives
    KINGSTON OM8PCP3512F-AI1 (SSD)
    Manufacturer Kingston
    Product Family SSDNow
    Form Factor 2.5-inch
    Interface SATA-2
    Capacity 476 GB
    Real size 512,110,190,592 bytes
    RAID Type None
ive been slowly adding various tweaks from this persons GPU script you sent me. ive been working alot and havent had alot of time to add all the tweaks. i truly appreciate you finding these tweaks and will add what isnt present into my scripts.
 

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
I’ve never had to tweak a connection either. Maybe I’ve been lucky but I always receive what I pay for without error. Nothing a router reboot wouldn’t fix anyway.
Maybe back during the days of dialup, but not now.
Now I remember why tweaking the MTU was needed because originally, there was no router involved as I am talking back to 1999 or the early 2000's for DSL as MTU isn't a issue with cable since those computers use the standard ethernet MTU but when it came to using DSL, when they come to do the installation, it requires installing software like WinPoET or another software that basically uses PPP over Ethernet to deliver the DSL connection and what WinPoET does is it handles the login/password for logging in to the connection similar to dial-up networking so unless WinPoET was running and logged in, you don't have internet connectivity since the IP is assigned only after you login so the MTU did get reduced because PPPoE as a protocol has overhead which is why the MTU would be less than 1500 but there would not be the problem with the computer running WinPoET as the software already handled that. The problem is only for the computers that sit behind ICS (Internet Connection Sharing) that is using the computer with WinPoET as the router which requires the MTU tweak. This was before people had hardware routers or what people these days calls a router which is nothing more than a public IP sharing device to a private LAN using private non-routable IP space or basically taking one real IP and using NAT (Network Address Translation) to provide internet access to the other devices.

Then later all these routers which are nothing more than NAT routers came out that already has the PPPoE/PPPoA built in as everyone here is talking routers which meant your connection is not going directly to the computer but rather the router which is what takes the IP from the ISP and then all the computers are actually using private IP behind the router so the MTU at the computer level is no longer a issue as the router itself will use the standard MTU of 1500 for computers behind it and it will handle the 1492 MTU on the WAN side as remember the WAN side is configured to either ethernet, PPPoE/PPPoA with the later with the login/password to establish the connection. I believe it was either Windows ME and Windows 2K/XP that also added PPPoE to dial up networking so it can handle the PPPoE. Not all DSL were PPPoE based as my sonic.net connection which is why it costs more was standard ethernet that I actually had 8 static IP addresses with 5 usable that I had until March 18, 2016 that was standard ethernet and did not have anything other than the modem as the modem was running in bridge mode so it not handle routing at all.

As far as tweaking goes, it all depends what kind of connection you have. If your connection is symmetrical meaning the pipe size as in speed is the same size for both upload and downloads, you would not have a problem. However, if you are using Cable or DSL where the upstream pipe is slower than the downstream pipe which is also known as a asymmetrical connection like for example, I have Comcast/Xfinity 1.2Gbps/35Mbps which is always provisioned 20% higher so the downstream is 1.4Gbps and the upstream is 42Mbps so if downloading only, there would not be any problems but if I were to upload and it used up the entire 42Mbps, the download would also slow down to 42Mbps because what happens is when a download packet is received, it has to send a ACKnowledgement packet back up and since the upstream is completely filled up, the ACKs do not have priority to be sent but that is not solved with tweaks like these, that is handled using QoS (Quality of Service) using fair queue traffic shaping which is handled at the router level by setting it so that ACKs packets will have priority being sent back out so both pipes will be able to get close to 100% of the pipe speeds.

For the tweaks discussed in this thread, it's easier to actually use something like SpeedGuide.net :: TCP Optimizer / Downloads since it allows backups and even can restore back to Windows defaults if needed.

As far as speeds are concerned, one is supposed to get 10% in *bytes of their *bits speeds when transferring files so a 1Gbps connection is supposed to do 100MBytes/second as I remember it's basically 10bits instead of 8bits when you do the division. I contributed to the code in the TCP/IP stack in BSD which is the code used in anything that connects to the internet.

So basically TCP/IP stacks is similar to a Windows computer. All Windows computers works out of the box but it will not give the best performance which is why people tweak them by using different tools, software, etc to gain the best performance. The same applies to the TCP/IP stack, it works out of the box but ofcourse to get the maximum performance, tweaking can help but like others have said, make sure you backup things first so you can revert to the original settings if needed.

This probably explains things better and each connection is unique so the same settings usually will not work well for everyone as they all have different ISPs which is one of the factors.

 
Last edited:

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen Processor 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    32GB using 2x16GB modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1024GB/1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows
I use SpeedGuide.net :: TCP Optimizer / Downloads any changes in your tweaks? :unsure:

capture_12072024_142717.webp

I also use other network tweaks for security and privacy.

Code:
rem 0 - Disable LMHOSTS Lookup on all adapters / 1 - Enable
reg add "HKLM\System\CurrentControlSet\Services\NetBT\Parameters" /v "EnableLMHOSTS" /t REG_DWORD /d "0" /f

rem 2 - Disable NetBIOS over TCP/IP on all adapters / 1 - Enable / 0 - Default
wmic nicconfig where TcpipNetbiosOptions=0 call SetTcpipNetbios 2
wmic nicconfig where TcpipNetbiosOptions=1 call SetTcpipNetbios 2

rem NetBIOS / 0 - Disabled / 1 - Allowed / 2 - Disabled on public networks / 3 - Learning mode
reg add "HKLM\System\CurrentControlSet\Services\Dnscache\Parameters" /v "EnableNetbios" /t REG_DWORD /d "0" /f

rem 1 - Turn on Mapper I/O (LLTDIO) driver
reg add "HKLM\Software\Policies\Microsoft\Windows\LLTD" /v "EnableLLTDIO" /t REG_DWORD /d "0" /f

rem 1 - Turn on Responder (RSPNDR) driver
reg add "HKLM\Software\Policies\Microsoft\Windows\LLTD" /v "EnableRspndr" /t REG_DWORD /d "0" /f

rem 1 - Turn off Microsoft Peer-to-Peer Networking Services
reg add "HKLM\Software\Policies\Microsoft\Windows\Peernet" /v "Disabled" /t REG_DWORD /d "1" /f

rem Disable Discovery of Designated Resolvers (DDR), a mechanism for DNS clients to use DNS records to discover a resolver's encrypted DNS configuration
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "EnableDdr" /t REG_DWORD /d "0" /f

rem Disable IDN (internationalized domain name)
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "DisableIdnEncoding" /t REG_DWORD /d "1" /f
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "EnableIdnMapping" /t REG_DWORD /d "0" /f

rem 1 - Discovery of Network-designated Resolvers DNS over TLS (DoT), DNS over HTTPS (DoH), DNS over QUIC (DoQ)
reg add "HKLM\System\CurrentControlSet\Services\Dnscache\Parameters" /v "EnableDnr" /t REG_DWORD /d "0" /f

rem Disable smart multi-homed name resolution
rem https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd197552(v=ws.10)
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "DisableSmartNameResolution" /t REG_DWORD /d "1" /f
reg add "HKLM\System\CurrentControlSet\Services\Dnscache\Parameters" /v "DisableParallelAandAAAA" /t REG_DWORD /d "1" /f

rem Disable Multicast/mDNS repeater / https://f20.be/blog/mdns
reg add "HKLM\System\CurrentControlSet\Services\Dnscache\Parameters" /v "EnableMDNS" /t REG_DWORD /d "0" /f
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DNSClient" /v "EnableMulticast" /t REG_DWORD /d "0" /f

rem Setup DNS over TLS (DoT)
netsh dns set global doh=no
netsh dns add global dot=yes

netsh dns add encryption server=9.9.9.9 dothost=dns.quad9.net:853 autoupgrade=yes udpfallback=no
netsh dns add encryption server=149.112.112.112 dothost=dns.quad9.net:853 autoupgrade=yes udpfallback=no

rem Restrict NTLM: Incoming NTLM traffic - Deny All
reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictReceivingNTLMTraffic" /t REG_DWORD /d "2" /f
 
rem Restrict NTLM: Outgoing NTLM traffic to remote servers - Deny All
reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictSendingNTLMTraffic" /t REG_DWORD /d "2" /f

rem Disable IPv6
netsh int ipv6 isatap set state disabled
netsh int teredo set state disabled
netsh interface ipv6 6to4 set state state=disabled undoonstop=disabled
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "6to4_State" /t REG_SZ /d "Disabled" /f
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "ISATAP_State" /t REG_SZ /d "Disabled" /f
reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "Teredo_State" /t REG_SZ /d "Disabled" /f
reg add "HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters" /v "DisabledComponents" /t REG_DWORD /d "255" /f
reg add "HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters" /v "EnableICSIPv6" /t REG_DWORD /d "255" /f

rem 1 - Disable Domain Name Devolution (DNS AutoCorrect) / 0 - Enabled (Default)
reg add "HKLM\System\CurrentControlSet\Services\Tcpip\Parameters" /v "UseDomainNameDevolution" /t REG_DWORD /d "0" /f

rem Network Connection Status Indicator (NCSI/ping/test) - http://www.msftconnecttest.com/connecttest.txt - needed by DoT to avoid no internet connection
rem https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/internet-explorer-edge-open-connect-corporate-public-network#ncsi-active-probes-and-the-network-status-alert
reg add "HKLM\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator" /v "DisablePassivePolling" /t REG_DWORD /d "0" /f
reg add "HKLM\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator" /v "NoActiveProbe" /t REG_DWORD /d "0" /f
reg add "HKLM\System\CurrentControlSet\Services\NlaSvc\Parameters\Internet" /v "EnableActiveProbing" /t REG_DWORD /d "1" /f
 

My Computer

System One

  • OS
    Windows 11 Home
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 8600G (07/24)
    Motherboard
    ASROCK B650M-HDV/M.2 3.15 (07/24)
    Memory
    2x32GB Kingston FURY DDR5 5600 MHz CL36 @4800 CL40 (07/24)
    Graphics Card(s)
    ASROCK Radeon RX 6600 Challenger D 8G @60FPS (08/24)
    Sound Card
    Creative Sound BlasterX AE-5 Plus (05/24)
    Monitor(s) Displays
    24" Philips 24M1N3200ZS/00 (05/24)
    Screen Resolution
    1920×1080@165Hz via DP1.4
    Hard Drives
    Kingston KC3000 NVMe 2TB (05/24)
    ADATA XPG GAMMIX S11 Pro 512GB (07/19)
    PSU
    Seasonic Core GM 550 Gold (04/24)
    Case
    Fractal Design Define 7 Mini with 3x Noctua NF-P14s/12@555rpm (04/24)
    Cooling
    Noctua NH-U12S with Noctua NF-P12 (04/24)
    Keyboard
    HP Pavilion Wired Keyboard 300 (07/24) + Rabalux 76017 Parker (01/24)
    Mouse
    Logitech M330 Silent Plus (04/23)
    Internet Speed
    500/100 Mbps via RouterOS (05/21) & TCP Optimizer
    Browser
    Edge & Brave for YouTube & LibreWolf for FB
    Antivirus
    NextDNS
    Other Info
    Backup: Hasleo Backup Suite (PreOS)
    Headphones: Sennheiser RS170 (09/10)
    Phone: Samsung Galaxy Xcover 7 (02/24)
    Chair: Huzaro Force 4.4 Grey Mesh (05/24)
    Notifier: Xiaomi Mi Band 9 Milanese (10/24)
    2nd Monitor: AOC G2460VQ6 @75Hz (02/19)

Latest Support Threads

Back
Top Bottom