All Tweaks

Nagle Algorithm

Enable TCPNoDelay for MSMQ

Apply TCPNoDelay to Message Queuing if you use MSMQ

Benefit

Ensures MSMQ uses low-latency TCP communication

Impact

low

Commands (1)

$msmqPath = 'HKLM:\SOFTWARE\Microsoft\MSMQ\Parameters'; if (-not (Test-Path $msmqPath)) { Write-Host '[SKIP] MSMQ is not installed on this system'; return } try { New-ItemProperty -Path $msmqPath -Name 'TCPNoDelay' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null; Write-Host '[OK] MSMQ TCPNoDelay=1' } catch { Write-Host "[ERR] $($_.Exception.Message)" }