HP B- Accelerators Linux manual Numa configuration, Introduction to Numa architecture

Page 57

NUMA configuration

Introduction to NUMA architecture

Servers with NUMA (Non-Uniform Memory Access) architecture require special installation instructions in order to maximize IO Accelerator device performance. These servers include the HP DL580 and the HP DL980 server.

On servers with NUMA architecture, during system boot, the BIOS on some systems will not distribute PCIe slots evenly among the NUMA nodes. Each NUMA node contains multiple CPUs. This imbalanced distribution means that, during high workloads, half or more of the CPUs will remain idle while the rest are 100% utilized. To prevent this imbalance, you must manually assign IO Accelerator devices equally among the available NUMA nodes.

Configuring the IO Accelerator devices for servers FIO_AFFINTIY parameter with the fio-config

with NUMA architecture requires the use of the utility.

NUMA node override parameter

The numa_node_override parameter is a list of <affinity specification> couplets that specify the affinity settings of all devices in the system. Each item in the couplet is separated by a colon, and each couplet set is separated by a comma.

Syntax

numa_node_override=<affinity specification>[,<affinity specification>...] Where each <affinity specification> has the following syntax: <fct-number>:<node-number>

Simple example

numa_node_override=fct4:1,fct5:0,fct7:2,fct9:3

has the effect of creating:

Device

Node/group

Process or affinity

 

 

 

fct4

node 1

all processors in node 1

fct5

node 0

all processors in node 0

fct7

node 2

all processors in node 2

fct9

node 3

all processors in node 3

Advanced configuration example

This example server has four NUMA nodes with eight hyper-threaded cores per node (16 logical processors per node, a total of 64 logical processors in the system). This system also uses the expansion configuration and has 11 PCIe expansion slots. During system boot, the system BIOS assigns PCIe slots 1-6 to NUMA node 2 and PCIe slots 7-11 to NUMA node 0. NUMA nodes 1 and 3 have no assigned PCIe slots. This

NUMA configuration 57

Image 57
Contents HP IO Accelerator Version 3.2.3 Linux User Guide Page Contents Maintenance Resources About this guide Contents summaryIntroduction OverviewProduct naming IO Accelerator capacity 320GB 640GB Models AJ878B BK836A Performance attributesRequired operating environment Supported firmware revisionsSupported hardware Introduction Introduction Installation overview Software installationInstalling RPM packages on SUSE, RHEL, and OEL $ uname -rRpm -Uvh fio*.rpm Rpm -Uvh iomemory-vsl-kernel-version-VSL-version.x8664.rpmBuilding an RPM installation package Building the IO Accelerator driver from source$ rpmbuild --rebuild iomemory-vsl-VSL-version.src.rpm Upgrading device firmware from VSL 1.x.x or 2.x.x to Upgrading procedure Fio-bugreport$ rpm -qa grep -i iomemory Fio-update-iodrive iodriveversion.fff $ rpm -e iomemory-vsl-2.6.18-194.el5-2.2.0.82-1.0$ modprobe iomemory-vsl Loading the IO Accelerator driver # Provides iomemory-vsl # Required-Start boot.udevControlling IO Accelerator driver loading Fio-attach /dev/fct$ chkconfig --del iomemory-vsl Using the init script$ chkconfig --add iomemory-vsl # blacklist iomemory-vslUsing module parameters Setting the IO Accelerator driver optionsMounting filesystems Handling IO Accelerator driver unloadsPersistent configuration One-time configurationUpgrading the firmware $ modprobe iomemory-vsl auto-attach=0Using the device as swap Enabling PCIe powerUsing the Logical Volume Manager Options iomemoryvsl preallocatememory=1072,4997,6710,10345Device partitions Configuring RAIDDevice /dev/fio Etc/mdadm.confChkconfig boot.md on Chkconfig mdadmd on $ mdadm --detail --scan$ mdadm --assemble --scan Fio-status Building a RAID 10 across multiple devicesDiscard Trim on Linux Understanding Discard Trim supportSnmp details for Linux Setting up Snmp for LinuxFiles and directories Snmp master agentInstalling the Snmp subagent Configuring the Snmp master agentYum install net-snmp rsync Snmp agentX subagentRunning and configuring the Snmp subagent Manually running 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 Maintenance tools MaintenanceDevice LED indicators Command-line utilitiesFio-update-iodrive Enabling PCIe power overrideCommon maintenance tasks Options iomemory-vsl externalpoweroverride=valueEnabling the override parameter Uninstalling the IO Accelerator driver RPM package Unloading the IO Accelerator driverDisabling auto attach Disabling the driver Unmanaged shutdown issuesEtc/modprobe.d/iomemory-vsl.conf Options iomemoryvsl autoattach=0Utilities reference UtilitiesFio-attach Fio-attach device optionsFio-bugreport Fio-beaconFio-beacon device options Tmp/fio-bugreport-20100121.173256-sdv9ko.tar.bz2Fio-detach Fio-format Fio-detach device optionsFio-format options device Fio-pci-check options Fio-pci-checkFio-status Fio-snmp-agentxFio-snmp-agentx options Fio-status device optionsUtilities Fio-sure-erase Fio-sure-erase options device Fio-update-iodrive Fio-update-iodrive options iodriveversion.fff Domainbusslot.func Monitoring IO Accelerator health Nand flash and component failureHealth metrics Health monitoring techniques Software RAID and health monitoring About flashback protection technologyIntroduction to performance and tuning Performance and tuningDisabling Dvfs Limiting Apci C-statesSetting the interrupt handler affinity Setting Numa affinityAdvanced configuration example Numa configurationIntroduction to Numa architecture Numa node override parameter13,14,18,19 Subscription service ResourcesFor more information Safety and regulatory compliance Warranty informationRegulatory information Before you contact HP Support and other resourcesHP contact information 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 Acronyms and abbreviations SMH Documentation feedback Index Uninstalling utilities