Limit outstanding packets
Restreindre les paquets en attente
Explanation
Specifies the maximum number of outstanding packets permitted on the system. When the number of outstanding packets reaches this limit, the Packet Scheduler postpones all submissions to network adapters until the number falls below this limit.
"Outstanding packets" are packets that the Packet Scheduler has submitted to a network adapter for transmission, but which have not yet been sent.
If you enable this setting, you can limit the number of outstanding packets.
If you disable this setting or do not configure it, then the setting has no effect on the system.
Important: If the maximum number of outstanding packets is specified in the registry for a particular network adapter, this setting is ignored when configuring that network adapter.
Spécifie le nombre maximal de paquets en attente autorisés sur le système. Lorsque ce nombre atteint la limite définie, le planificateur de paquets reporte toutes les soumissions aux cartes réseau jusqu’à ce que le nombre passe en dessous de la limite.
Les « paquets en attente » sont les paquets que le planificateur a soumis à une carte réseau pour transmission, mais qui n’ont pas encore été envoyés.
Si vous activez ce paramètre, vous pouvez limiter le nombre de paquets en attente.
Si vous désactivez ce paramètre ou si vous ne le configurez pas, le comportement du système n’est pas modifié.
Important : si le nombre maximal de paquets en attente est spécifié dans le Registre pour une carte réseau, ce paramètre est ignoré lors de la configuration de cette carte réseau.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Psched- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: QOS/QosMaxOutstandingSends
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Psched'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Number of packets
Set-ItemProperty -Path $k -Name 'MaxOutstandingSends' -Value 65535 -Type DWord # maximum 4000000000Disable
# Disable: QOS/QosMaxOutstandingSends
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": QOS/QosMaxOutstandingSends
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Psched'
Remove-ItemProperty -Path $k -Name 'MaxOutstandingSends' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Number of packets:Nombre de paquets :QosMaxOutstandingSends_Box | Numeric boxdecimal | MaxOutstandingSends | REG_DWORD | Required · Max: 4000000000 · Default (UI): 65535 |