diff options
author | Ben Niu <ben.niu@mediatek.com> | 2023-06-05 16:58:11 +0800 |
---|---|---|
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | 2023-06-08 20:40:22 +0000 |
commit | c52b9da7d6e24cf7d35a7c66d62efef1ca13f247 (patch) | |
tree | ca9fb9627238d682b378b2118cf9376d8236c47b /INSTALL | |
parent | d6d5581123f3fd54737df1d65eb057aa48b7ea00 (diff) | |
download | ltp-c52b9da7d6e24cf7d35a7c66d62efef1ca13f247.tar.gz |
Add buffer for RT throttling default configandroid14-dev
perf_event_open02 will run testing about 4s as RT thread then get HW instruction and SW task clock event counter to compare.
Under kernel RT throttling default config (sched_rt_period_us=1000000, sched_rt_runtime_us=950000), the RT testing thread will sleep around 50ms for 4 times because of RT throttling.
The sleeping will lead device enter idle then exit idle for 4 times.
This behavior leads overhead and affect perf event counter.
After update RT throttling config (sched_rt_period_us=3000000, sched_rt_runtime_us=2850000), the test case could pass because of less idle times.
Bug: 285838050
Test: run vts vts_ltp_test_arm_64
(cherry picked from https://android-review.googlesource.com/q/commit:d1d611252c553db4b3b1cd9ab2f18e0e1c14396e)
Merged-In: I643ed60c051f799a5c28746ac033acf563fae615
Change-Id: I643ed60c051f799a5c28746ac033acf563fae615
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions