Created
May 10, 2015 22:13
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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