Re: [PATCH] selftests/powerpc: Relax L1d miss targets for rfi_flush test
From: Joel Stanley <joel@jms.id.au>
Date: 2018-10-25 22:09:54
On Tue, 23 Oct 2018 at 18:35, Naveen N. Rao [off-list ref] wrote:
When running the rfi_flush test, if the system is loaded, we see two issues: 1. The L1d misses when rfi_flush is disabled increase significantly due to other workloads interfering with the cache. 2. The L1d misses when rfi_flush is enabled sometimes goes slightly below the expected number of misses. To address these, let's relax the expected number of L1d misses: 1. When rfi_flush is disabled, we allow upto half the expected number of the misses for when rfi_flush is enabled. 2. When rfi_flush is enabled, we allow ~1% lower number of cache misses. Reported-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Naveen N. Rao <redacted>
Thanks, this now passes 10/10 runs on my Romulus machine. A log is attached below. Tested-by: Joel Stanley <joel@jms.id.au> Cheers, Joel --- for i in `seq 1 10`; do sudo ./rfi_flush; done test: rfi_flush_test tags: git_version:next-20181018-67-g61f7abf00719 PASS (L1D misses with rfi_flush=0: 5013939 < 95000000) [10/10 pass] PASS (L1D misses with rfi_flush=1: 195054696 > 190000000) [10/10 pass] success: rfi_flush_test test: rfi_flush_test tags: git_version:next-20181018-67-g61f7abf00719 PASS (L1D misses with rfi_flush=0: 11015957 < 95000000) [10/10 pass] PASS (L1D misses with rfi_flush=1: 195053292 > 190000000) [10/10 pass] success: rfi_flush_test test: rfi_flush_test tags: git_version:next-20181018-67-g61f7abf00719 PASS (L1D misses with rfi_flush=0: 8017248 < 95000000) [10/10 pass] PASS (L1D misses with rfi_flush=1: 195145579 > 190000000) [10/10 pass] success: rfi_flush_test test: rfi_flush_test tags: git_version:next-20181018-67-g61f7abf00719 PASS (L1D misses with rfi_flush=0: 11015308 < 95000000) [10/10 pass] PASS (L1D misses with rfi_flush=1: 195042376 > 190000000) [10/10 pass] success: rfi_flush_test test: rfi_flush_test tags: git_version:next-20181018-67-g61f7abf00719 PASS (L1D misses with rfi_flush=0: 1021356 < 95000000) [10/10 pass] PASS (L1D misses with rfi_flush=1: 195031624 > 190000000) [10/10 pass] success: rfi_flush_test test: rfi_flush_test tags: git_version:next-20181018-67-g61f7abf00719 PASS (L1D misses with rfi_flush=0: 6015342 < 95000000) [10/10 pass] PASS (L1D misses with rfi_flush=1: 195037322 > 190000000) [10/10 pass] success: rfi_flush_test test: rfi_flush_test tags: git_version:next-20181018-67-g61f7abf00719 PASS (L1D misses with rfi_flush=0: 16635 < 95000000) [10/10 pass] PASS (L1D misses with rfi_flush=1: 195032476 > 190000000) [10/10 pass] success: rfi_flush_test test: rfi_flush_test tags: git_version:next-20181018-67-g61f7abf00719 PASS (L1D misses with rfi_flush=0: 6013599 < 95000000) [10/10 pass] PASS (L1D misses with rfi_flush=1: 195060037 > 190000000) [10/10 pass] success: rfi_flush_test test: rfi_flush_test tags: git_version:next-20181018-67-g61f7abf00719 PASS (L1D misses with rfi_flush=0: 25236 < 95000000) [10/10 pass] PASS (L1D misses with rfi_flush=1: 195052859 > 190000000) [10/10 pass] success: rfi_flush_test test: rfi_flush_test tags: git_version:next-20181018-67-g61f7abf00719 PASS (L1D misses with rfi_flush=0: 18120 < 95000000) [10/10 pass] PASS (L1D misses with rfi_flush=1: 195014212 > 190000000) [10/10 pass] success: rfi_flush_test