== lfru-performance test mixed: LFRU vs LRU benchmark with mixed hot/cold access pattern ========================================================== 21:52:22 (1772419942) ============================================================== LFRU vs LRU Benchmark: Mixed Hot/Cold Access Pattern ============================================================== total: 400 open/close in 6.97 seconds: 57.41 ops/second - open/close 697 (time 1772419970.56 total 10.00 last 69.70) - open/close 1233 (time 1772419980.57 total 20.02 last 53.52) - open/close 1772 (time 1772419990.58 total 30.02 last 53.87) - open/close 2258 (time 1772420000.58 total 40.03 last 48.57) - open/close 2740 (time 1772420010.60 total 50.04 last 48.14) - open/close 3294 (time 1772420020.60 total 60.04 last 55.38) - open/close 3776 (time 1772420030.61 total 70.06 last 48.14) - open/close 4253 (time 1772420040.62 total 80.06 last 47.67) - open/close 4608 (time 1772420050.63 total 90.08 last 35.46) - open/close 5019 (time 1772420060.63 total 100.08 last 41.09) - open/close 5462 (time 1772420070.64 total 110.08 last 44.27) - open/close 5951 (time 1772420080.65 total 120.10 last 48.83) - open/close 6369 (time 1772420090.67 total 130.11 last 41.73) - open/close 7080 (time 1772420100.67 total 140.12 last 71.09) - open/close 7798 (time 1772420110.68 total 150.12 last 71.73) total: 8000 open/close in 152.93 seconds: 52.31 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=13575, priv_cnt=221 Round 2: enqueue=17879, priv_cnt=350 Round 3: enqueue=22238, priv_cnt=342 Round 4: enqueue=26546, priv_cnt=351 Round 5: enqueue=30780, priv_cnt=347 Round 6: enqueue=34903, priv_cnt=346 Round 7: enqueue=39096, priv_cnt=343 Round 8: enqueue=43282, priv_cnt=351 Round 9: enqueue=47639, priv_cnt=343 Round 10: enqueue=51958, priv_cnt=350 LFRU Result: ldlm_enqueue delta=43536, time=1004s ============================================================ 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: 51958 Round 1: enqueue=56865, priv_cnt=0 Round 2: enqueue=61622, priv_cnt=0 Round 3: enqueue=66274, priv_cnt=0 Round 4: enqueue=71066, priv_cnt=0 Round 5: enqueue=75807, priv_cnt=0 Round 6: enqueue=80452, priv_cnt=0 Round 7: enqueue=85029, priv_cnt=0 Round 8: enqueue=89614, priv_cnt=0 Round 9: enqueue=94428, priv_cnt=0 Round 10: enqueue=99110, priv_cnt=0 LRU Result: ldlm_enqueue delta=47152, time=1011s ============================================================== Final: LFRU=43536, LRU=47152 Improvement: 7% ==============================================================