update
Signed-off-by: Wenchao Hao <haowenchao22@gmail.com>
This commit is contained in:
parent
e963d59437
commit
c7a76019a9
8
run.sh
8
run.sh
|
|
@ -70,9 +70,6 @@ mkdir $dir/thpmaps
|
||||||
|
|
||||||
echo "round app start_type start_time rss pss pagefaults minorfaults majorfaults itlbmiss dtlbmiss cpustall inc_ratio order4_ratio order4_cont inc_total nr_direct_reclaim" > $dir/result
|
echo "round app start_type start_time rss pss pagefaults minorfaults majorfaults itlbmiss dtlbmiss cpustall inc_ratio order4_ratio order4_cont inc_total nr_direct_reclaim" > $dir/result
|
||||||
|
|
||||||
adb shell cat /sys/kernel/mm/transparent_hugepage/hugepages-64kB/enabled > $dir/hugepages-64kB_enabled
|
|
||||||
adb shell cat /sys/kernel/mm/mthp_compact/enabled > $dir/mthp_compact_enabled
|
|
||||||
|
|
||||||
for round in $(seq 1 $cycle); do
|
for round in $(seq 1 $cycle); do
|
||||||
# 重启并等待重启完成
|
# 重启并等待重启完成
|
||||||
echo "rebooting"
|
echo "rebooting"
|
||||||
|
|
@ -91,8 +88,9 @@ for round in $(seq 1 $cycle); do
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
|
|
||||||
# adb连接后睡眠60s
|
adb root
|
||||||
sleep 60
|
adb shell cat /sys/kernel/mm/transparent_hugepage/hugepages-64kB/enabled > $dir/hugepages-64kB_enabled
|
||||||
|
adb shell cat /sys/kernel/mm/mthp_compact/enabled > $dir/mthp_compact_enabled
|
||||||
|
|
||||||
# 解锁手机
|
# 解锁手机
|
||||||
~/.scripts/android/unlock.sh
|
~/.scripts/android/unlock.sh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue