Skip to content

Commit

Permalink
mellanox benchmark numa
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Jan 25, 2022
1 parent 2f6b983 commit e301b53
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/apps/mellanox/benchmark-tx-only-numa.sh
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

echo i,core_A,core_B,score,unit
for i in `seq 5`; do
for A in `seq 12 23`; do
for B in `seq 12 23`; do
out=$(./snabb snsh apps/mellanox/benchmark.snabb -a 81:00.0 -b 81:00.1 -A $A -B $B)
score=$(echo "$out" | grep "Tx Rate" | cut -d " " -f 4)
unit=$(echo "$out" | grep "Tx Rate" | cut -d " " -f 5)
echo "$i,$A,$B,$score,$unit"
done
done
done

0 comments on commit e301b53

Please sign in to comment.