== lfru-performance test mixed: LFRU vs LRU benchmark with mixed hot/cold access pattern ========================================================== 21:52:26 (1772419946) ============================================================== LFRU vs LRU Benchmark: Mixed Hot/Cold Access Pattern ============================================================== total: 400 open/close in 9.57 seconds: 41.78 ops/second - open/close 402 (time 1772419980.91 total 10.01 last 40.15) - open/close 850 (time 1772419990.91 total 20.02 last 44.78) - open/close 1328 (time 1772420000.95 total 30.05 last 47.64) - open/close 1887 (time 1772420010.99 total 40.09 last 55.67) - open/close 2338 (time 1772420020.99 total 50.10 last 45.08) - open/close 3093 (time 1772420031.00 total 60.11 last 75.42) - open/close 3630 (time 1772420041.01 total 70.11 last 53.68) - open/close 4073 (time 1772420051.05 total 80.15 last 44.12) - open/close 4517 (time 1772420061.05 total 90.15 last 44.39) - open/close 4876 (time 1772420071.05 total 100.16 last 35.89) - open/close 5149 (time 1772420081.07 total 110.18 last 27.25) - open/close 5518 (time 1772420091.09 total 120.19 last 36.84) - open/close 5809 (time 1772420101.11 total 130.22 last 29.03) - open/close 6504 (time 1772420111.12 total 140.23 last 69.43) - open/close 7189 (time 1772420121.15 total 150.25 last 68.34) - open/close 7819 (time 1772420131.17 total 160.27 last 62.86) total: 8000 open/close in 163.21 seconds: 49.02 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=13529, priv_cnt=228 Round 2: enqueue=17624, priv_cnt=344 Round 3: enqueue=21963, priv_cnt=344 Round 4: enqueue=26152, priv_cnt=341 Round 5: enqueue=30327, priv_cnt=342 Round 6: enqueue=34636, priv_cnt=348 Round 7: enqueue=38888, priv_cnt=350 Round 8: enqueue=43135, priv_cnt=345 Round 9: enqueue=47481, priv_cnt=342 Round 10: enqueue=51713, priv_cnt=342 LFRU Result: ldlm_enqueue delta=43291, time=812s ldlm.namespaces.lustre-MDT0000-mdc-ffff98a1cab65000.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: 51714 Round 1: enqueue=56537, priv_cnt=0 Round 2: enqueue=61138, priv_cnt=0 Round 3: enqueue=65651, priv_cnt=0 Round 4: enqueue=70577, priv_cnt=0 Round 5: enqueue=75180, priv_cnt=0 Round 6: enqueue=79942, priv_cnt=0 Round 7: enqueue=84682, priv_cnt=0 Round 8: enqueue=89487, priv_cnt=0 Round 9: enqueue=94269, priv_cnt=0 Round 10: enqueue=99094, priv_cnt=0 LRU Result: ldlm_enqueue delta=47381, time=1026s ============================================================== Final: LFRU=43291, LRU=47381 Improvement: 8% ==============================================================