Skip to content

automated/linux/hackbench/hackbench

Description

Hackbench is both a benchmark and a stress test for the Linux kernel scheduler. It's main job is to create a specified number of pairs of schedulable entities (either threads or traditional processes) which communicate via either sockets or pipes and time how long it takes for each pair to send data back and forth.

Maintainer

  • milosz.wasilewski@linaro.org
  • chase.qi@linaro.org

OS

  • debian
  • ubuntu
  • fedora
  • centos
  • openembedded

Scope

  • performance
  • virtualization
  • preempt-rt

Devices

  • hi6220-hikey
  • apq8016-sbc
  • mustang
  • moonshot
  • thunderX
  • d03
  • d05

Steps to reproduce

  • cd ./automated/linux/hackbench/
  • ./hackbench.sh -i ${ITERATION} -t ${TARGET} -s ${DATASIZE} -l ${LOOPS} -g ${GRPS} -f ${FDS} -p ${PIPE} -T ${THREADS}
  • ../../utils/send-to-lava.sh ./output/result.txt