HP IO manual Starting and stopping Trim, Enabling Trim, Controlling Trim aggressiveness

Page 58

Starting and stopping Trim

To start or stop the Trim service through the Windows® Services Manager:

1.Search for IO Accelerator Trim Service.

2.Click Start service or Stop service.

Stopping the service only stops it for that session. Trim begins running again when the computer is restarted.

Enabling Trim

1.Open a registry editor.

2.Navigate to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\fiodrive\Parameters

3.Add the TrimEnabled value as a DWORD (see TrimEnabled below). Stop and restart the Trim service, or restart the computer.

TrimEnabled

This registry value controls whether Trim runs, regardless of the user starting and stopping Trim. If this value is present and set to 1, then Trim runs normally (unless you have stopped the service). If this value is set to 0, then Trim does not run, regardless of whether you have started the service. If this value is not present, Trim runs unless you stop it. The TrimEnabled value persists across sessions, so if you restart the computer and set this value to 0, Trim does not run when the computer is restarted.

Controlling Trim aggressiveness

You can control how aggressive the Trim service is. The default settings for Trim minimize impact on computer performance while enabling the IO Accelerators to perform optimally. However, if a drive is being used with a write-intensive application, then you can set Trim to be more aggressive. To do this, you must add registry entries.

1.Open a registry editor.

2.Navigate to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\fiodrive\Parameters

3.Add the TrimTimeDelayInSeconds value as a DWORD (see the TrimTimeDelayInSeconds description below).

4.Add the BitmapRetrievalDelayInMilliseconds value as a DWORD (see the BitmapRetrievalDelayInMilliseconds description below).

5.Stop and restart the Trim service, or restart the computer.

TrimTimeDelayInSeconds

This registry value controls how quickly Trim starts running again after it has finished processing all the volumes on a system. For example, if this value is set to 600 (10 minutes in seconds), then Trim will process all the volumes on a system, sleep for 10 minutes, and then process the volumes again and continue this cycle. This value can be any number between 0 and 4,294,967,295. If this value is not set or present in the registry, then Trim assumes a default of 900 seconds (or 15 minutes).

BitmapRetrievalDelayInMilliseconds

This value affects how much impact Trim has on the CPU. The default is 25 milliseconds but can be any number between 0 (most aggressive) and 4,294,967,295 (not aggressive at all).

Trim support 58

Image 58
Contents HP IO Accelerator Version 3.2.3 Windows User Guide Page Contents Maintenance Resources Contents summary About this guideOverview IntroductionProduct naming Performance attributes IO Accelerator capacity 320GB 640GB Models AJ878B BK836ASupported firmware revisions Required operating environmentSupported hardware Page Introduction Uninstalling a previously-installed driver Installation overviewWindows Server environments Installing software on a Windows operating system Using the Setup Wizard Windows Server environments Windows Server environments Windows Server environments Windows Server environments Upgrading device firmware from VSL 1.x.x or 2.x.x to Upgrading procedure Fio-bugreportManual installation on Windows Server Fio-update-iodrive iodriveversion.fffManually installing on Windows Server Performing the upgrade Upgrading the device firmware using WindowsManually installing on Windows Server 2008 Viewing the firmware versionUpgrading driver software using Windows Fio-detach /dev/fct0Windows Server environments Defragmentation Silent install optionOutdated firmware check Enabling PCIe power IO Accelerator namingWindows Server environments Fio-config -p Fiopreallocatememory 1072,4997,6710,10345 Creating a RAID configurationSetting up Snmp for Windows operating systems Snmp details for Windows operating systemsUsing test mode registry values Via garbage collectionSnmp MIB fields supporting Windows Server Snmp test registry entry DescriptionWindows Server environments Windows Installer logging options Using installation logsMsiexec /i C\MyPackage\Example.msi /L*V C\log\example.log Creating an uninstall log Creating an installation logCreating a patch install log Automated logging with the Windows Installer Logging Policy Troubleshooting event log messagesError ioDrivex Common maintenance tasks MaintenanceMaintenance tools Uninstalling the IO Accelerator driver packageUnmanaged shutdown issues Enabling PCIe power overrideEnabling Autoattach Enabling the override parameter Fio-config /dev/fctx -p PCIeGLOBALSLOTPOWERLIMIT Fio-config /dev/fct2 -p PCIeGLOBALSLOTPOWERLIMITUtilities reference UtilitiesFio-attach Fio-attach device options Fio-beaconFio-bugreport Fio-beacon device optionsFio-config device options Fio-configCompressing Fio-config options FioexternalpoweroverrideFio-detach Fio-detach device optionsFio-format Fio-format device options deviceFio-pci-check options Options Fio-pci-checkFio-status Fio-status device optionsFfield Geometry and capacity information not available. appears Fio-sure-erase Fio-sure-erase options deviceFio-trim-config Fio-trim-config options Options Fio-update-iodriveFio-update-iodrive iodriveversion.fff options Format domainbusslot.func Health metrics Monitoring IO Accelerator healthNand flash and component failure Health monitoring techniquesFlashback substitution events Software RAID and health monitoringMonitoring IO Accelerator health Introduction to Trim Using TrimTrim support Trim platformsEnabling Trim Starting and stopping TrimControlling Trim aggressiveness Trim configurations Introduction to Windows page files Using Windows page files with the IO AcceleratorConfiguring IO Accelerator paging support RAM consumptionFio-config -g Fiopreallocatememory Fio-config -p Fiopreallocatememory 1234,17834Fio-config -p Fiopreallocatememory Non-paged memory poolSetting up page files Windows page file managementSystem drive paging file configuration Guaranteeing minimum committable memoryVerifying page file operation Virtual Memory performanceDir c /ah Disabling Dvfs Performance and tuningIntroduction to performance and tuning Limiting Apci C-statesSetting Numa affinity Setting the interrupt handler affinityIntroduction to Numa architecture Numa configurationFio-config -p Fioaffinity 4,n1,0xf5,n07,g19,g2,0xff0 Fioaffinity parameterAdvanced configuration example Checking the log for errors Fio-config -p Fioaffinity 5,g0,0xf6,0xfResources Subscription serviceFor more information HP contact information Support and other resourcesBefore you contact HP Customer Self RepairRéparation par le client CSR Riparazione da parte del cliente Reparaciones del propio cliente Reparo feito pelo cliente Support and other resources Support and other resources Support and other resources Warranty information Safety and regulatory complianceRegulatory information Acronyms and abbreviations NumaSMI-S Documentation feedback Index Using the IO Accelerator as a swap