Description of problem: Not enable the TLB_RANGE,tlb_flush will have greater impatct, The performance of 502.gcc_r will reduce 20% in SPEC-CPU2017 Version-Release number of selected component (if applicable): 5.10.84-10.3.an8.aarch64 How reproducible: 准备环境 1,安装speccpu 2017 2,安装gcc 10.2 + glibc 2.28 执行测试 1,参数设置: echo 3 > /proc/sys/vm/drop_caches ulimit -s unlimited echo always > /sys/kernel/mm/transparent_hugepage/enabled echo 1 > /proc/sys/vm/swappiness echo 1 > /proc/sys/vm/zone_reclaim_mode echo 20 > /proc/sys/vm/dirty_ratio echo 10 > /proc/sys/vm/dirty_background_ratio echo 1 > /proc/sys/kernel/numa_balancing 2,runcpu -c mytest.config --copies=100 --iterations=1 --action=validate -- tune=base --size=ref 502 3,热点函数分析 perf top 72.64% [kernel] [k] ptep_clear_flush 5.64% [kernel] [k] tlb_flush Actual results: Estimated Estimated Base Base Base Peak Peak Peak Benchmarks Copies Run Time Rate Copies Run Time Rate --------------- ------- --------- --------- ------- --------- --------- 500.perlbench_r NR 502.gcc_r 128 1003 181 * Expected results: Estimated Estimated Base Base Base Peak Peak Peak Benchmarks Copies Run Time Rate Copies Run Time Rate --------------- ------- --------- --------- ------- --------- --------- 500.perlbench_r NR 502.gcc_r 128 761 238 * Additional info:
*** Bug 1124 has been marked as a duplicate of this bug. ***
*** Bug 1123 has been marked as a duplicate of this bug. ***