-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get optimistic computing monitoring done
- Loading branch information
1 parent
a9d88ae
commit c77c600
Showing
13 changed files
with
291 additions
and
97 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
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
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
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 |
---|---|---|
@@ -1,13 +1,11 @@ | ||
name,mvvm,hcontainer,qemu_x86_64,qemu_aach64,native | ||
a=b linpack.aot,33.597456,21.068,36.012,0.051,24.056 | ||
OMP_NUM_THREADS=4 llama.aot stories110M.bin -z tokenizer.bin -t 0.0,10.116758,29.039,1187.058,0.051,7.054 | ||
"a=b rgbd_tum.aot ./ORBvoc.txt, ./TUM3.yaml ./ ./associations/fr1_xyz.txt",939.389244,0.001,0.045,0.051,0.006 | ||
OMP_NUM_THREADS=4 tc.aot,0.00049,0.012,0.029,0.048,0.003 | ||
OMP_NUM_THREADS=4 bt.aot,69.410827,131.075,1869.096,0.051,0.005 | ||
OMP_NUM_THREADS=4 cg.aot,29.317632,20.012,161.058,0.052,7.027 | ||
OMP_NUM_THREADS=4 ft.aot,15.010672,52.047,1550.071,0.051,0.005 | ||
OMP_NUM_THREADS=4 lu.aot,0.060571,0.047,1.067,0.051,0.006 | ||
OMP_NUM_THREADS=4 mg.aot,27.543796,13.053,764.02,0.051,0.005 | ||
OMP_NUM_THREADS=4 sp.aot,42.649225,1.08,55.073,0.05,2.062 | ||
a=b redis.aot,51.861305,124.087,368.022,0.055,0.004 | ||
a=b hdastar.aot maze-6404.txt 8,11.936914,0.012,11.067,0.049,0.002 | ||
a=b linpack.aot,24.743766,21.013,27.082,20.083,22.085 | ||
OMP_NUM_THREADS=1 llama.aot stories110M.bin -z tokenizer.bin -t 0.0,27.760763,24.099,27.082,146.043,29.091 | ||
OMP_NUM_THREADS=1 bt.aot,72.971184,133.0,0.005,1205.071,37.062 | ||
OMP_NUM_THREADS=1 cg.aot,27.552785,19.046,486.078,271.0,16.082 | ||
OMP_NUM_THREADS=1 ft.aot,32.585113,54.008,486.078,871.079,21.024 | ||
OMP_NUM_THREADS=1 lu.aot,0.056297,0.01,2.024,0.096,0.005 | ||
OMP_NUM_THREADS=1 mg.aot,26.387951,12.093,2464.017,279.036,9.065 | ||
OMP_NUM_THREADS=1 sp.aot,13.955374,1.056,116.063,16.001,1.043 | ||
a=b redis.aot,43.189769,127.083,328.08,428.015,18.09 | ||
a=b hdastar.aot maze-6404.txt 8,9.070406,0.0,11.03,0.004,4.082 |
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,27 @@ | ||
#!/bin/bash | ||
echo "$@" | ||
"$@" &> $1.out & | ||
pid1=$! | ||
# echo $pid > /sys/fs/cgroup/memory/my_cgroup/cgroup.procs | ||
# echo $(($first_arg * 1024 * 1024 * 1024)) > /sys/fs/cgroup/memory/my_cgroup/memory.limit_in_bytes | ||
sudo asitop --show_cores &> $1.cpu.out & | ||
pid2=$! | ||
while true; do | ||
line=$(ps auxh -q $pid1) | ||
if [ "$line" == "" ]; then | ||
break | ||
fi | ||
echo $line >>$1.ps.out | ||
for child in $(pgrep -P $pid1); do | ||
line=$(ps auxh -q $child) | ||
if [ "$line" == "" ]; then | ||
continue | ||
fi | ||
echo $line >>$1.ps.out | ||
done | ||
sleep 0.005 | ||
if ! ps -p $pid >/dev/null; then | ||
sleep 0.5 | ||
sudo kill -9 $pid2 | ||
fi | ||
done |
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,24 @@ | ||
#!/bin/bash | ||
echo "$@" | ||
"$@" &> $1.out & | ||
pid1=$! | ||
# echo $pid > /sys/fs/cgroup/memory/my_cgroup/cgroup.procs | ||
# echo $(($first_arg * 1024 * 1024 * 1024)) > /sys/fs/cgroup/memory/my_cgroup/memory.limit_in_bytes | ||
while true; do | ||
line=$(ps auxh -q $pid1) | ||
if [ "$line" == "" ]; then | ||
break | ||
fi | ||
echo $line >>$1.energy.out | ||
for child in $(pgrep -P $pid1); do | ||
line=$(ps auxh -q $child) | ||
if [ "$line" == "" ]; then | ||
continue | ||
fi | ||
echo $line >>$1.energy.out | ||
done | ||
sleep 0.005 | ||
if ! ps -p $pid >/dev/null; then | ||
sleep 0.5 | ||
fi | ||
done |
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
Oops, something went wrong.