====== Hackbench ====== [[https://man.archlinux.org/man/hackbench.8.en|hackbench]] is a benchmark and a stress test for the kernel scheduler that is part of the [[realtime:documentation:howto:tools:rt-tests|rt-tests]] suite. Hackbench also stresses parts of the memory subsystem through repeated setup and teardown of threads. Additionally, it stresses inter-process communication (e.g. local sockets, pipes) to a certain degree. The purpose of the tool is to help identify bottlenecks in the system that should be eliminated or optimized. Hackbench can be used to generate a system load while measuring latencies with [[realtime:documentation:howto:tools:cyclictest:start|Cyclictest]]. However, it cannot be used to accurately simulate the load generated by any given RT application because the program does not test communication with devices.