== lfru-performance test mixed: LFRU vs LRU benchmark with mixed hot/cold access pattern ========================================================== 21:52:08 (1772419928) ============================================================== LFRU vs LRU Benchmark: Mixed Hot/Cold Access Pattern ============================================================== total: 400 open/close in 10.00 seconds: 40.01 ops/second - open/close 488 (time 1772419961.92 total 10.03 last 48.67) - open/close 836 (time 1772419971.92 total 20.03 last 34.78) - open/close 1199 (time 1772419981.93 total 30.04 last 36.28) - open/close 1826 (time 1772419991.94 total 40.05 last 62.62) - open/close 2449 (time 1772420001.95 total 50.06 last 62.25) - open/close 2977 (time 1772420011.95 total 60.07 last 52.77) - open/close 3544 (time 1772420021.96 total 70.07 last 56.68) - open/close 4118 (time 1772420031.96 total 80.07 last 57.38) - open/close 4683 (time 1772420041.97 total 90.08 last 56.45) - open/close 5212 (time 1772420051.98 total 100.09 last 52.87) - open/close 5517 (time 1772420062.01 total 110.12 last 30.39) - open/close 5861 (time 1772420072.02 total 120.13 last 34.37) - open/close 6202 (time 1772420082.04 total 130.15 last 34.03) - open/close 6594 (time 1772420092.06 total 140.17 last 39.12) - open/close 7062 (time 1772420102.07 total 150.18 last 46.79) - open/close 7731 (time 1772420112.07 total 160.18 last 66.90) total: 8000 open/close in 163.86 seconds: 48.82 ops/second ============================================================ LFRU Benchmark ============================================================ Hot=400, Cold=8000, LRU=1200, PrivCap=~360 Access: 50% hot / 50% cold Rounds=10, Procs=4, Accesses/proc/round=2000 ============================================================= ldlm.namespaces.*mdc*.lru_size=0->1200 ldlm.namespaces.*mdc*.lru_max_age=600000->3900s Initial ldlm_enqueue: 8422 Round 1: enqueue=13579, priv_cnt=230 Round 2: enqueue=17953, priv_cnt=341 Round 3: enqueue=22213, priv_cnt=343 Round 4: enqueue=26288, priv_cnt=348 Round 5: enqueue=30549, priv_cnt=344 Round 6: enqueue=34891, priv_cnt=347 Round 7: enqueue=39111, priv_cnt=341 Round 8: enqueue=43214, priv_cnt=348 Round 9: enqueue=47528, priv_cnt=347 Round 10: enqueue=51531, priv_cnt=348 LFRU Result: ldlm_enqueue delta=43109, time=819s ldlm.namespaces.lustre-MDT0000-mdc-ffff9196ca3c9800.lock_unused_count=1 ============================================================ LRU Benchmark ============================================================ Hot=400, Cold=8000, LRU=1200, PrivCap=~360 Access: 50% hot / 50% cold Rounds=10, Procs=4, Accesses/proc/round=2000 ============================================================= ldlm.namespaces.*mdc*.lru_size=0->1200 ldlm.namespaces.*mdc*.lru_max_age=3900000->3900s Initial ldlm_enqueue: 51533 Round 1: enqueue=56621, priv_cnt=0 Round 2: enqueue=61322, priv_cnt=0 Round 3: enqueue=65904, priv_cnt=0 Round 4: enqueue=70639, priv_cnt=0 Round 5: enqueue=75167, priv_cnt=0 Round 6: enqueue=79880, priv_cnt=0 Round 7: enqueue=84746, priv_cnt=0 Round 8: enqueue=89464, priv_cnt=0 Round 9: enqueue=94220, priv_cnt=0 Round 10: enqueue=99012, priv_cnt=0 LRU Result: ldlm_enqueue delta=47479, time=972s ============================================================== Final: LFRU=43109, LRU=47479 Improvement: 9% ==============================================================