BRC - How to increase IRP Stack Size

Written By Tami Sutcliffe (Super Administrator)

Updated at August 31st, 2023

Increasing the IRP Stack Size ** on the server may improve replication job times by allowing more resources to be allocated for the replication.

This key in the system registry must be modified or created:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters\IRPStackSize
  • If the key is there:

Increase it to approximately 15 or 18. (20 is the suggested value.)

  • If the key does not exist, do the following:

1. Create a new DWORD Value.

2. Name it IRPStackSize.

3. Double click on it to edit the value, and then put a check on the Decimal radio button for the Base so that the parameter value is set as a decimal value and not a hexadecimal value.

4. Give the new key a value of 15 and reboot. If 15 is not enough, raise it to 18 and then reboot again. (You may also choose to use the suggested value of 20).

_______________________________________________________________________________________

** The IRPStackSize parameter specifies the number of stack locations in I/O request packets (IRPs) that are used by the operating system.