HP B- Accelerators Linux manual Performance and tuning, Introduction to performance and tuning

Page 55

Performance and tuning

Introduction to performance and tuning

HP IO Accelerator devices provide high bandwidth and high IOPS and are specifically designed to achieve low latency.

As IO Accelerator devices improve in IOPS and low latency, the device performance may be limited by operating system settings and BIOS configuration. To take advantage of the revolutionary performance of IO Accelerator devices, you might have to tune these settings.

While IO Accelerator devices generally perform well out of the box, this section describes some of the common areas where tuning may help achieve optimal performance.

Disabling DVFS

DVFS is a power management technique that adjusts the CPU voltage and frequency to reduce power consumption by the CPU. These techniques help conserve power and reduce the heat generated by the CPU, but they adversely affect performance while the CPU transitions between low-power and high-performance states.

These power-savings techniques are known to have a negative impact on I/O latency and maximum IOPS. When tuning for maximum performance, you might benefit from reducing or disabling DVSF completely, even though this might increase power consumption.

DVFS, if available, should be configurable as part of your operating systems power management features as well as within your system BIOS interface. Within the operating system and BIOS, DVFS features are often found under the ACPI sections. Consult your computer documentation for details.

Limiting APCI C-states

Newer processors have the ability to go into lower power modes when they are not fully utilized. These idle states are known as ACPI C-states. The C0 state is the normal, full power, operating state. Higher C-states (C1, C2, C3, and so on) are lower power states.

While ACPI C-states save on power, they are known to have a negative impact on I/O latency and maximum IOPS. With each higher C-state, typically more processor functions are limited to save power, and it takes time to restore the processor to the C0 state.

These power savings techniques are known to have a negative impact on I/O latency and maximum IOPS. When tuning for maximum performance you might benefit from limiting the C-states or turning them off completely, even though this might increase power consumption.

If your processor has ACPI C-states available, you can typically limit or disable them in the BIOS interface (sometimes referred to as a Setup Utility). APCI C-states might be part of the ACPI menu. For details, see your computer documentation.

Performance and tuning 55

Image 55
Contents HP IO Accelerator Version 3.2.3 Linux User Guide Page Contents Maintenance Resources About this guide Contents summaryOverview IntroductionProduct naming IO Accelerator capacity 320GB 640GB Models AJ878B BK836A Performance attributesSupported firmware revisions Required operating environmentSupported hardware Introduction Introduction $ uname -r Software installationInstallation overview Installing RPM packages on SUSE, RHEL, and OELRpm -Uvh fio*.rpm Rpm -Uvh iomemory-vsl-kernel-version-VSL-version.x8664.rpmBuilding the IO Accelerator driver from source Building an RPM installation package$ rpmbuild --rebuild iomemory-vsl-VSL-version.src.rpm Upgrading device firmware from VSL 1.x.x or 2.x.x to Fio-bugreport Upgrading procedure$ rpm -qa grep -i iomemory $ rpm -e iomemory-vsl-2.6.18-194.el5-2.2.0.82-1.0 Fio-update-iodrive iodriveversion.fff$ modprobe iomemory-vsl Fio-attach /dev/fct # Provides iomemory-vsl # Required-Start boot.udevLoading the IO Accelerator driver Controlling IO Accelerator driver loading# blacklist iomemory-vsl Using the init script$ chkconfig --del iomemory-vsl $ chkconfig --add iomemory-vslHandling IO Accelerator driver unloads Setting the IO Accelerator driver optionsUsing module parameters Mounting filesystems$ modprobe iomemory-vsl auto-attach=0 One-time configurationPersistent configuration Upgrading the firmwareOptions iomemoryvsl preallocatememory=1072,4997,6710,10345 Enabling PCIe powerUsing the device as swap Using the Logical Volume ManagerEtc/mdadm.conf Configuring RAIDDevice partitions Device /dev/fio$ mdadm --detail --scan Chkconfig boot.md on Chkconfig mdadmd on$ mdadm --assemble --scan Fio-status Building a RAID 10 across multiple devicesDiscard Trim on Linux Understanding Discard Trim supportSnmp master agent Setting up Snmp for LinuxSnmp details for Linux Files and directoriesSnmp agentX subagent Configuring the Snmp master agentInstalling the Snmp subagent Yum install net-snmp rsyncManually running the Snmp subagent Running and configuring the Snmp subagentSubagent log file Enabling Snmp test mode Using the Snmp sample config filesPCI0100.0 Setting up Snmp for Linux Supported Snmp MIB fields Troubleshooting SnmpSnmp MIB Command-line utilities MaintenanceMaintenance tools Device LED indicatorsFio-update-iodrive Enabling PCIe power overrideOptions iomemory-vsl externalpoweroverride=value Common maintenance tasksEnabling the override parameter Unloading the IO Accelerator driver Uninstalling the IO Accelerator driver RPM packageDisabling auto attach Options iomemoryvsl autoattach=0 Unmanaged shutdown issuesDisabling the driver Etc/modprobe.d/iomemory-vsl.confFio-attach device options UtilitiesUtilities reference Fio-attachTmp/fio-bugreport-20100121.173256-sdv9ko.tar.bz2 Fio-beaconFio-bugreport Fio-beacon device optionsFio-detach Fio-detach device options Fio-formatFio-format options device Fio-pci-check options Fio-pci-checkFio-status device options Fio-snmp-agentxFio-status Fio-snmp-agentx optionsUtilities Fio-sure-erase Fio-sure-erase options device Fio-update-iodrive Fio-update-iodrive options iodriveversion.fff Domainbusslot.func Nand flash and component failure Monitoring IO Accelerator healthHealth metrics Health monitoring techniques Software RAID and health monitoring About flashback protection technologyLimiting Apci C-states Performance and tuningIntroduction to performance and tuning Disabling DvfsSetting the interrupt handler affinity Setting Numa affinityNuma node override parameter Numa configurationAdvanced configuration example Introduction to Numa architecture13,14,18,19 Resources Subscription serviceFor more information Warranty information Safety and regulatory complianceRegulatory information Customer Self Repair Support and other resourcesBefore you contact HP HP contact informationRé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 Acronyms and abbreviations SMH Documentation feedback Index Uninstalling utilities