Could someone update this i found? "fix_network_bufferbloat.bat"


Csmc

Member
Member
Local time
4:36 PM
Posts
16
Visit site
OS
Windows 11
@(set ^ "f0=%temp%\FixNetworkBufferbloat.ps1" -desc ')|| AveYo, 2024.10.20
@(fc %0 "%f0%" 2>&1||copy /b %0+nul "%f0%" /y)>nul& powershell -nop -ep RemoteSigned -f "%f0%" %* -dp0 "%CD%"
@exit /b '); . { Param($dp0 = $pwd.Path); $dp0 = $dp0.Trim('" \'); $n0 = ${^}-replace'^.+\\|.{4}$',''; cd -l "$dp0\" -ea 0

write-host @'

FixNetworkBufferbloat - test on waveform.com/tools/bufferbloat and speedtest.net
You should upgrade to a router with fast cpu and ram having Smart Queue Management
This script is no SQM, but just a short term network configuration!
Can apply both, tho I recommend only using the upload bufferbloat fix:
Upload QoS ON - prioritizes outbound traffic, keeping download gigabit speeds
Download Autotuning OFF - disables TCP Window Scaling, hurting gigabit speeds

'@

#:: 2024.10.20 adjusted QoS and TCP congestion rules

#:: Args / Dialog - can use commandline parameters to skip the prompt
$cl = @{2 = 'both'; 1 = 'upload'; 0 = 'download'; -1 = 'reset'}
$do = ''; foreach ($a in $cl.Values) { if ($args -contains $a) {$do = $a} } ; if ($do -eq '') {
$UL = "ON"; if (!(Get-NetQosPolicy -name "Bufferbloat" -ea 0)) {$UL = "OFF"} ; $d = Get-NetTCPSetting -SettingName internet
$DL = "ON"; if ($d.AutoTuningLevelLocal -eq "Disabled" -or $d.AutoTuningLevelGroupPolicy -eq "Disabled") {$DL = "OFF"}
$choice = (new-object -ComObject Wscript.Shell).Popup("Upload QoS $UL , Download Autotuning $DL , Reset", 0, "$n0", 0x1043)
if ($choice -eq 2) {$do = $cl.-1} elseif ($choice -eq 6) {$do = $cl.1} else {$do = $cl.0} ; $args = ,$do
}

#:: Elevate
if ($true -and [Security.Principal.WindowsIdentity]::GetCurrent().Groups -notcontains "S-1-5-32-544") {
write-host " Requesting ADMIN rights.. " -fore 0 -back 0xE ; sleep 2
$f0 = $MyInvocation.ScriptName; $a0 = $args -replace'"','\"' -replace'(.*\s.*)','"$1"'; if (!$f0) {
$lean_and_mean_hybrid_header = "`@(set ^ `"$((gv ^).Value)`" -desc '$((gv ^).Description)'); . {" +
$MyInvocation.MyCommand + "} `@args; return; `${ press Enter if copy-pasted in powershell }"
$f0 = "$env:temp\$n0.ps1"; sc $f0 $($lean_and_mean_hybrid_header-split'\r?\n') -force }
start powershell -verb runas -work \ -args "-nop -ep RemoteSigned -f `"$f0`" $a0 -dp0 `"$dp0`" "; return
}

#:: Do
if ($MyInvocation.ScriptName) {$host.ui.RawUI.WindowTitle = "$n0 $do"}
$NIC = @()
foreach ($a in Get-NetAdapter -Physical | Select-Object DeviceID,Name) {
$NIC += @{ $($a | Select Name -ExpandProperty Name) = $($a | Select DeviceID -ExpandProperty DeviceID) }
}
$NICs = $NIC.Keys -join ', '

if ($do -eq 'upload' -or $do -eq 'both') {
$RWSCALING = 'Normal'; $QoS = 80; $MBW = 25
write-host " Upload QoS ON" -fore Yellow; . {
ni "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\QoS" -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\QoS" "Do not use NLA" 1 -type string -force -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" DisableUserTOSSetting 0 -type dword -force -ea 0
sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Psched" NonBestEffortLimit $QoS -type dword -force -ea 0 # 80
Get-NetQosPolicy | Remove-NetQosPolicy -Confirm:$False -ea 0
Remove-NetQosPolicy "Bufferbloat" -Confirm:$False -ea 0
New-NetQosPolicy "Bufferbloat" -Precedence 254 -DSCPAction 46 -NetworkProfile Public -Default -MinBandwidthWeightAction $MBW
} 2>'' 1>''
}

if ($do -eq 'download' -or $do -eq 'both') {
$RWSCALING = 'Disabled'
write-host " Download Autotuning OFF" -fore Yellow; . {
rp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\QoS" "Tcp Autotuning Level" -force -ea 0
} 2>'' 1>''
}

if ($do -ne 'reset') {
" SG TCPOptimizer tweaks"; . {
$NIC.Values |foreach {
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\$_" TcpAckFrequency 2 -type dword -force -ea 0 #1
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\$_" TcpNoDelay 1 -type dword -force -ea 0
}
if (gi "HKLM:\SOFTWARE\Microsoft\MSMQ") {sp "HKLM:\SOFTWARE\Microsoft\MSMQ\Parameters" TCPNoDelay 1 -type dword -force -ea 0}
sp "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" NetworkThrottlingIndex 0xffffffff -type dword -force -ea 0
sp "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" SystemResponsiveness 10 -type dword -force -ea 0
sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Psched" NonBestEffortLimit $QoS -type dword -force -ea 0 # 80
sp "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" LargeSystemCache 0 -type dword -force -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" Size 3 -type dword -force -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" DefaultTTL 64 -type dword -force -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" MaxUserPort 65534 -type dword -force -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" TcpTimedWaitDelay 30 -type dword -force -ea 0
ni "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\QoS" -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\QoS" "Do not use NLA" 1 -type string -force -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" DnsPriority 6 -type dword -force -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" HostsPriority 5 -type dword -force -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" LocalPriority 4 -type dword -force -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" NetbtPriority 7 -type dword -force -ea 0
} 2>'' 1>''

" Other registry tweaks"; . {
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" DisableTaskOffload -force -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" MaximumReassemblyHeaders 0xffff -type dword -force -ea 0 # 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\AFD\Parameters" FastSendDatagramThreshold 1500 -type dword -force -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\AFD\Parameters" DefaultReceiveWindow $(2048 * 4096) -type dword -force -ea 0
sp "HKLM:\SYSTEM\CurrentControlSet\Services\AFD\Parameters" DefaultSendWindow $(2048 * 4096) -type dword -force -ea 0
}

" temporarily disable $NICs"; . { $NIC.Keys | foreach { Disable-NetAdapter -InterfaceAlias "$_" -Confirm:$False } }

" Set-NetAdapterAdvancedProperty"; . { $NIC.Keys |foreach {
# reset advanced
$mac = $(Get-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "NetworkAddress" -ea 0).RegistryValue
Get-NetAdapter -Name "$_" | Reset-NetAdapterAdvancedProperty -DisplayName "*"
# restore custom mac
if ($mac) { Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "NetworkAddress" -RegistryValue $mac }
# set receive and transmit buffers - less is better for latency, worst for throughput; too less and packet loss increases
$rx = (Get-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*ReceiveBuffers").NumericParameterMaxValue
$tx = (Get-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*TransmitBuffers").NumericParameterMaxValue
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*ReceiveBuffers" -RegistryValue $rx # $rx 1024 320
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*TransmitBuffers" -RegistryValue $tx # $tx 2048 160
# pci-e adapters in msi-x mode from intel are generally fine with ITR Adaptive - others? not so much
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*InterruptModeration" -RegistryValue 0 # Off 0 On 1
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "ITR" -RegistryValue 0 # Off 0 Adaptive 65535
# recieve side scaling is always worth it, some adapters feature more queues = cpu threads; not available for wireless
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*RSS" -RegistryValue 1
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*NumRssQueues" -RegistryValue 2
# priority tag
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*PriorityVLANTag" -RegistryValue 1
# undesirable stuff
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*FlowControl" -RegistryValue 0
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*JumboPacket" -RegistryValue 1514
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*HeaderDataSplit" -RegistryValue 0
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "TcpSegmentation" -RegistryValue 0
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "RxOptimizeThreshold" -RegistryValue 0
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "WaitAutoNegComplete" -RegistryValue 1
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "PowerSavingMode" -RegistryValue 0
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*SelectiveSuspend" -RegistryValue 0
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "EnableGreenEthernet" -RegistryValue 0
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "AdvancedEEE" -RegistryValue 0
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "EEE" -RegistryValue 0
Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "*EEE" -RegistryValue 0
} } 2>'' 1>''

" Set-NetOffloadGlobalSetting"; . {
Set-NetOffloadGlobalSetting -TaskOffload Enabled
Set-NetOffloadGlobalSetting -Chimney Disabled
Set-NetOffloadGlobalSetting -PacketCoalescingFilter Disabled
Set-NetOffloadGlobalSetting -ReceiveSegmentCoalescing Disabled
Set-NetOffloadGlobalSetting -ReceiveSideScaling Enabled
Set-NetOffloadGlobalSetting -NetworkDirect Enabled
Set-NetOffloadGlobalSetting -NetworkDirectAcrossIPSubnets Allowed -ea 0
} 2>'' 1>''

" Enable-NetAdapterRss"; . { $NIC.Keys |foreach {
Set-NetAdapterRss -Name "$_" -NumberOfReceiveQueues 2 -MaxProcessorNumber 4 -Profile "NUMAStatic" -Enabled $true -ea 0
Enable-NetAdapterQos -Name "$_" -ea 0
Enable-NetAdapterChecksumOffload -Name "$_" -ea 0
Disable-NetAdapterRsc -Name "$_" -ea 0
Disable-NetAdapterUso -Name "$_" -ea 0
Disable-NetAdapterLso -Name "$_" -ea 0
Disable-NetAdapterIPsecOffload -Name "$_" -ea 0
Disable-NetAdapterEncapsulatedPacketTaskOffload -Name "$_" -ea 0
} } 2>'' 1>''

" enable $NICs"; . { $NIC.Keys | foreach { Enable-NetAdapter -InterfaceAlias "$_" -Confirm:$False } }

" netsh tweaks"; . {
netsh winsock set autotuning on # Winsock send autotuning
netsh int udp set global uro=disabled # UDP Receive Segment Coalescing Offload - 11 24H2
netsh int tcp set heuristics wsh=disabled forcews=enabled # Window Scaling heuristics
netsh int tcp set supplemental internet minrto=300 # Controls TCP retransmission timeout. 20 to 300 msec.
netsh int tcp set supplemental internet icw=10 # Controls initial congestion window. 2 to 64 MSS
netsh int tcp set supplemental internet congestionprovider=newreno # Controls the congestion provider. Default: cubic
netsh int tcp set supplemental internet enablecwndrestart=disabled # Controls whether congestion window is restarted.
netsh int tcp set supplemental internet delayedacktimeout=40 # Controls TCP delayed ack timeout. 10 to 600 msec.
netsh int tcp set supplemental internet delayedackfrequency=2 # Controls TCP delayed ack frequency. 1 to 255.
netsh int tcp set supplemental internet rack=enabled # Controls whether RACK time based recovery is enabled.
netsh int tcp set supplemental internet taillossprobe=enabled # Controls whether Tail Loss Probe is enabled.
netsh int tcp set security mpp=disabled # Memory pressure protection (SYN flood drop)
netsh int tcp set security profiles=disabled # Profiles protection (private vs domain)

netsh int tcp set global rss=enabled # Enable receive-side scaling.
netsh int tcp set global autotuninglevel=$RWSCALING # Fix the receive window at its default value
netsh int tcp set global ecncapability=enabled # Enable/disable ECN Capability.
netsh int tcp set global timestamps=enabled # Enable/disable RFC 1323 timestamps.
netsh int tcp set global initialrto=1000 # Connect (SYN) retransmit time (in ms).
netsh int tcp set global rsc=disabled # Enable/disable receive segment coalescing.
netsh int tcp set global nonsackrttresiliency=disabled # Enable/disable rtt resiliency for non sack clients.
netsh int tcp set global maxsynretransmissions=4 # Connect retry attempts using SYN packets.
netsh int tcp set global fastopen=enabled # Enable/disable TCP Fast Open.
netsh int tcp set global fastopenfallback=enabled # Enable/disable TCP Fast Open fallback.
netsh int tcp set global hystart=enabled # Enable/disable the HyStart slow start algorithm.
netsh int tcp set global prr=enabled # Enable/disable the Proportional Rate Reduction algorithm.
netsh int tcp set global pacingprofile=off # Set the periods during which pacing is enabled. off: Never pace.

netsh int ip set global loopbacklargemtu=enable # Loopback Large Mtu
netsh int ip set global loopbackworkercount=4 # Loopback Worker Count 1 2 4
netsh int ip set global loopbackexecutionmode=inline # Loopback Execution Mode adaptive|inline|worker
netsh int ip set global reassemblylimit=267748640 # Reassembly Limit 267748640|0
netsh int ip set global reassemblyoutoforderlimit=48 # Reassembly Out Of Order Limit 32
netsh int ip set global sourceroutingbehavior=drop # Source Routing Behavior drop|dontforward
netsh int ip set dynamicport tcp start=32769 num=32766 # DynamicPortRange tcp
netsh int ip set dynamicport udp start=32769 num=32766 # DynamicPortRange udp
} 2>'' 1>''

# . { gpupdate /force } 2>'' 1>''
}

if ($do -eq 'reset') {
write-host " Reset" -fore Yellow

" Reset SG TCPOptimizer tweaks"; . {
$NIC.Values |foreach {
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\$_" TcpAckFrequency -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\$_" TcpDelAckTicks -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\$_" TcpNoDelay -force -ea 0
}
if (gi "HKLM:\SOFTWARE\Microsoft\MSMQ") {rp "HKLM:\SOFTWARE\Microsoft\MSMQ\Parameters" TCPNoDelay -force -ea 0}
rp "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" NetworkThrottlingIndex -force -ea 0
rp "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" SystemResponsiveness -force -ea 0
rp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Psched" NonBestEffortLimit -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" LargeSystemCache -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" Size -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" DefaultTTL -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" MaxUserPort -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" TcpTimedWaitDelay -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\QoS" "Do not use NLA" -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" DnsPriority -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" HostsPriority -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" LocalPriority -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider" NetbtPriority -force -ea 0
} 2>'' 1>''

" Reset other registry tweaks"; . {
rp "HKLM:\SYSTEM\CurrentControlSet\Services\AFD\Parameters" FastSendDatagramThreshold -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\AFD\Parameters" DefaultSendWindow -force -ea 0 #16777216
rp "HKLM:\SYSTEM\CurrentControlSet\Services\AFD\Parameters" DefaultReceiveWindow -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" IRPStackSize -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" DisableTaskOffload -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" MaximumReassemblyHeaders -force -ea 0 # 0
} 2>'' 1>''

" Temporarily disable $NICs"; . { $NIC.Keys | foreach { Disable-NetAdapter -InterfaceAlias "$_" -Confirm:$False } }

" Reset-NetAdapterAdvancedProperty"; . { $NIC.Keys |foreach {
$mac = $(Get-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "NetworkAddress" -ea 0).RegistryValue
Get-NetAdapter -Name "$_" | Reset-NetAdapterAdvancedProperty -DisplayName "*"
if ($mac) { Set-NetAdapterAdvancedProperty -Name "$_" -RegistryKeyword "NetworkAddress" -RegistryValue $mac }
} } 2>'' 1>''

" Re-enable $NICs"; . { $NIC.Keys | foreach { Enable-NetAdapter -InterfaceAlias "$_" -Confirm:$False } }

" Reset netsh"; . {
netsh int ip set dynamicport tcp start=49152 num=16384; netsh int ip set dynamicport udp start=49152 num=16384
netsh int ip set global reassemblyoutoforderlimit=32; netsh int ip set global reassemblylimit=267748640
netsh int ip set global loopbackexecutionmode=adaptive; netsh int ip set global sourceroutingbehavior=dontforward
netsh int ip reset; netsh int ipv6 reset; netsh int ipv4 reset; netsh int tcp reset; netsh int udp reset; netsh winsock reset
} 2>'' 1>''

" Reset QoS"; . {
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\QoS" "Do not use NLA" -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" DefaultTOSValue -force -ea 0
rp "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" DisableUserTOSSetting -force -ea 0
rp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\QoS" "Tcp Autotuning Level" -force -ea 0
Get-NetQosPolicy | Remove-NetQosPolicy -Confirm:$False -ea 0
} 2>'' 1>''

# . { gpupdate /force } 2>'' 1>''
}

#:: show network configuration
function ps: { write-host -fore cyan "`npowershell" @args; $(powershell @args 2>'' | out-string).Trim("`r","`n") } #
function ns: { write-host -fore cyan "`nnetsh" @args; $(netsh @args 2>'' | out-string).Trim("`r","`n") }
ps: Get-NetTransportFilter `|ft
ps: Get-NetAdapterHardwareInfo #`| fl
ps: Get-SmbClientNetworkInterface
ps: Get-NetAdapterRSS `|ft
ps: Get-NetAdapterChecksumOffload
ps: Get-NetAdapterLso
ps: Get-NetOffloadGlobalSetting `|ft
ps: Get-NetQosPolicy
ns: int ip show interfaces
ns: int ipv4 show global
ns: int tcp show supplemental
ns: int tcp show global
ns: winsock show autotuning
ps: Get-NetTCPSetting -SettingName internet
timeout -1

} @args; return; ${ press Enter if copy-pasted in powershell }
 

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
Update it to what? Not to be hideous?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
I have another bat file. that seems to be near dated that differs from Qos Scheduling Policy settings. Does That GPEDIT actuley do anything in 2024 with windows 11 24h2?. "bandwidth"
 

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
Sorry to be obtuse, but I have no idea what all this is about, what it is supposed to do, and why one would want to do it....or even if it involves a question. What's it about???
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2 26100.2314
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1tb Solidigm m.2 nvme+256gb SKHynix m.2 nvme /External drives 512gb Samsung m.2 sata+1tb Kingston m2.nvme+ 4gb Solidigm nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 22H2 19045.3930
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
Sorry to bother you i just thought i could post this on the forum and see if any body was intrested enough to see if it needed any adjusting or updating.. as these might not work any more?

Found it on a github link.


Bufferbloat is a software issue that causes latency in a network when too much data is buffered by a router or other network equipment. This can happen when a device on the network is uploading or downloading files.


Symptoms of bufferbloat include: Lagging video games, Stuttering video or audio calls, and Slowing down web browsing.


To prevent bufferbloat, you can avoid pushing more data through the line than it can handle. This will prevent buffers from overfilling and data from flowing smoothly.


One algorithm that can help eliminate latency is Flow Queueing with Controlled Delay (FQ_CoDel). FQ_CoDel works by:
  • Separating traffic flows into their own queues
  • Removing a small batch of packets from a queue and transmitting them through the bottleneck link
  • Retrieving a batch from the next queue when the current batch has been sent
  • Offering back pressure to flows that are sending too much data.

Feel free to remove me from the website if needed. Might not have read any rules

thanks.
 

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
@glasskuter It’s allegedly a script to solve an issue known as bufferbloat.


I’ve been writing scripts for Windows since the late 90s, in various languages, and this one makes my teeth hurt. It’s horribly written.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
Do you have a problem or issue that would suggest this type of script is warranted?

At what level are you wanting to use it, home user >>>>> corporate/business environment (or something in between)?
 

My Computers

System One System Two

  • OS
    Windows 11 2xH2 (latest update ... forever anal)
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Slim S01
    CPU
    Intel i5-12400
    Memory
    8GB
    Graphics Card(s)
    NVIDIA GeForce GT730
    Sound Card
    OOBE
    Monitor(s) Displays
    Acer 32"
    Screen Resolution
    1920x1080
    Hard Drives
    512GB KIOXIA NVMe
    1TB SATA SSD
    PSU
    OOBE
    Case
    OOBE
    Cooling
    OOBE
    Keyboard
    BT
    Mouse
    BT
    Browser
    Brave FFox Chrome Opera
    Antivirus
    KIS
  • Operating System
    Windows 11 Pro 2xH2 (latest update ... 4ever anal)
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavillion 15
    CPU
    i7-1165G7 @ 2.80GHz
    Graphics card(s)
    Intel Iris Xe Graphics
    Hard Drives
    Samsung NVMe 512GB
    + numerous/multiple SSD Type C USB enclosures
    Internet Speed
    NBN FTTN 50
    Browser
    Brave
    Antivirus
    KIS
Feel free to remove me from the website if needed. Might not have read any rules
No need for that. You broke no rules and are most welcome here.

Also, a bit of advice. Be very careful applying such fixes just because you find them on the web unless you know and trust the source explicitely, like we all trust the thousands of reg and bat files posted by our resident guru Brink in our tutorials section. All of them have been tested to be tried and true.
@garlin and @pseymour are two more here who are good at scipts. I'm not saying the script you found is not correct, but if @pseymour sees flaws in it, you can can understand why one might be reticent to try it. I'm not sure if github verifies the integrity of everything on their site.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2 26100.2314
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1tb Solidigm m.2 nvme+256gb SKHynix m.2 nvme /External drives 512gb Samsung m.2 sata+1tb Kingston m2.nvme+ 4gb Solidigm nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 22H2 19045.3930
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
Indeed @Csmc we’d be happy to help. I’m not sure which line of the script you’re referring to in post #3. This thing is so convoluted, and I’m just not seeing what you’re asking.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
Yes, indeed. I should have posted , "Do not use or only at your own risk." I was hoping someone would read it first before trying anything to test. Sorry for any mishaps here. Good to see a bunch of great community spirit , though. Thanks for answering , and I will be more careful as advised.

To answer all the Questions. I just wanted too know if any body would have seen any out dated or better settings within the script.

 

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
Back
Top Bottom