Open in the explorer

NTFS parallel flush worker threads

Threads de travail de vidage parallèle NTFS

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Filesystem › NTFS FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Système de fichiers › NTFS
Supported on
At least Windows Server 2016, Windows 10 FR: Au moins Windows Server 2016, Windows 10
ADMX file
FileSys.admx
Internal name
FileSys/NtfsParallelFlushWorkers

Explanation

When flushing modified file data from memory, NTFS chooses to use one or more threads based on how many files are currently open. This setting gives control over how many threads will be used.

Making this value larger may decrease the time it takes to flush a volume but the flush may have a larger impact on other concurrent IO operations.

Values with special meaning:
0: Use the system calculated default
1: Disable parallel flush

The default value and limit for this setting varies based on the number of available processors on a given system:
- Default value calculation is: (([NumProcessors]/2) + 1)
- Default max value calculation is: ([NumProcessors]*2)

French text from Windows 11 26H2

Lors du vidage des données de fichiers modifiés de la mémoire, NTFS choisit d’utiliser un ou plusieurs threads en fonction du nombre de fichiers actuellement ouverts. Ce paramètre permet de contrôler le nombre de threads qui seront utilisés.

Augmenter cette valeur peut réduire le temps nécessaire pour vider un volume, mais le vidage peut avoir un impact plus important sur d’autres opérations d’E/S simultanées.

Valeurs ayant une signification particulière :
0 : Utiliser la valeur par défaut calculée par le système
1 : Désactiver le vidage parallèle

La valeur et la limite par défaut de ce paramètre varient en fonction du nombre de processeurs disponibles sur un système donné :
– Le calcul de la valeur par défaut est le suivant: (([NumProcessors]/2) + 1)
– Le calcul de la valeur maximale par défaut est le suivant : ([NumProcessors]*2)

Registry

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies
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: FileSys/NtfsParallelFlushWorkers
$k = 'HKLM:\System\CurrentControlSet\Policies'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Open File Threshold
Set-ItemProperty -Path $k -Name 'NtfsParallelFlushWorkers' -Value 5 -Type DWord  # between 0 and 1024

Disable

# Disable: FileSys/NtfsParallelFlushWorkers
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": FileSys/NtfsParallelFlushWorkers
$k = 'HKLM:\System\CurrentControlSet\Policies'
Remove-ItemProperty -Path $k -Name 'NtfsParallelFlushWorkers' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Open File Threshold:Seuil de l’ouverture du fichier :NtfsParallelFlushWorkersIDNumeric boxdecimalNtfsParallelFlushWorkersREG_DWORD
Min: 0 · Max: 1024 · Default (UI): 5

Availability

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server