HP c-Class Performance Tuning manual Fio benchmark, Compiling the fio benchmark

Page 23

fio benchmark

Compiling the fio benchmark

The fio benchmarking utility is used to verify Linux system performance with an IO Accelerator. To compile the fio utility, get the latest version of fio source from the tarball link (http://freshmeat.net/projects/). For a tar balls of all fio releases, see the Index of /snaps (http://brick.kernel.dk/snaps).

1.Install the necessary standard dependencies, for example: gcc $ yum -y install gcc

2.Install the necessary libaio development headers, for example: $ yum -y install libaio-devel

3.Explode the fio tarball:

$ tar xjvf fio-X.Y.Z.tar.bz2 $ cd fio-X.Y.Z

4.Build fio for your system: $ make

When the rebuild completes successfully, a fio binary is placed in the fio directory.

fio benchmark 23

Image 23
Contents HP IO Accelerator Performance Tuning Guide Page Contents Setting Windows driver affinity Introduction About the Performance and Tuning GuideVerifying Linux system performance System performanceWrite bandwidth test System performance Verifying Windows system performance with Iometer Oversubscribed bus Debugging performance issuesImproperly configured benchmark Handling PCIe errors PCIe link width improperly negotiated CPU thermal throttling or auto-idling Benchmarking through a filesystem Slow performance using RAID5 on LinuxUsing CP and other system utilities To avoid this issue. For more information, see the patch Multiple outstanding IOs General tuning techniquesUsing direct I/O, unbuffered, or zero copy $ dd if=/dev/zero of=/dev/fioX bs=10M oflag=direct Pre-conditioning$ echo 4096 /sys/block/fio name/queue/nrrequests Pre-allocating memoryPreallocatemb Increased steady-state write performance with fio-format Tuning techniques for writesStripewidth = dbd * stride Linux filesystem tuningExt2-3-4 tuning Stride = chunk size / filesystem block sizeOptions iomemory-vsl preallocatememory=1072,4997,6710,10345 Using the IO Accelerator as swap space$ tar xjvf fio-X.Y.Z.tar.bz2 $ cd fio-X.Y.Z Fio benchmarkCompiling the fio benchmark Page Fd = openfilename, Owronly Odirect Programming using direct I/OUsing direct I/O on Linux Fd = openfilename, OwronlyUsing direct I/O on Windows ++ code sample Programming using direct I/O Programming using direct I/O Windows driver affinity Setting Windows driver affinityCreate the SetWorkerAffinity2 tag of type Regdword Acronyms and abbreviations Index Index