-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test to take advantage of new flexibility
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
# Author: Jacob Grossbard | ||
# | ||
# | ||
|
||
data_file="data/sharding.csv" | ||
|
||
echo "Tasklets,DPUs,Operation,Data size,Allocation time,Loading time,Data" \ | ||
" copy in,Parameter copy in,Launch,Data copy out,Performance count copy" \ | ||
" out,Free DPUs,Performance count min, max, average" > $data_file | ||
|
||
make experiment > /dev/null | ||
|
||
for ranks in {1..8} | ||
do | ||
max_data=$(($ranks*(1 << 32))) | ||
data=8192 | ||
|
||
while [ $data -le $max_data ] | ||
do | ||
echo "Testing $operation with $data bytes across $ranks ranks..." | ||
./experiment/pimcrypto dpu $(($ranks * 64)) encrypt $data >> $data_file | ||
data=$(($data * 2)) | ||
done | ||
done |