Skip to content

Instantly share code, notes, and snippets.

@emmericp
Created May 10, 2015 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emmericp/02c5885908c3cb5ac5b7 to your computer and use it in GitHub Desktop.
Save emmericp/02c5885908c3cb5ac5b7 to your computer and use it in GitHub Desktop.
script used to bisect dpdk with https://github.com/emmericp/dpdk-tx-performance
#!/bin/bash
rm -rf x86_64-native-linuxapp-gcc/
make -j12 install T=x86_64-native-linuxapp-gcc
(
cd ../tx-bench
make clean
make
./build/txbench -c 0x1 -n 4 -w 06:00.0 -w 06:00.1 -- -s 0 1 &
sleep 12
killall txbench
sleep 1
killall -KILL txbench
./build/txbench -c 0x1 -n 4 -w 06:00.0 -w 06:00.1 -- 0 1 &
sleep 12
killall txbench
sleep 1
killall -KILL txbench
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment