sudo apt-get install nfs-common
mkdir nfs
sudo mount -t nfs 10.67.108.173:/home/vsi/nfs_share ./nfs
run the script inside screen
and press ctrl+A D
to detach it to prevent early termination due to accidental ssh connection lost.
change some variables inside benchmark_test.sh before run it:
- setup
binA
binB
to OpenVINO bin folder containing the binary to be validated; - setup
nfs_models_cache
to the path of nfs folder mounted earlier - setup
ncpus
,cpus
andnode
according to the server's lscpu result.
./benchmark_test.sh | tee log.txt
use screen -list
to check detached session and screen -r xxxx
to re-attach.
./benchmark_vis.sh log.txt > vis.txt
./compare_pc.sh xxxx.xml
this generates pcA.txt
, pcB.txt
, exec_graph_A.xml
and exec_graph_B.xml
; you can analyze the result with following command:
./compare_vis.py pcA.txt pcB.txt