== lfru-performance test mixed: LFRU vs LRU benchmark with mixed hot/cold access pattern ========================================================== 21:52:31 (1772419951) ============================================================== LFRU vs LRU Benchmark: Mixed Hot/Cold Access Pattern ============================================================== total: 400 open/close in 6.11 seconds: 65.49 ops/second - open/close 383 (time 1772419978.92 total 10.05 last 38.10) - open/close 1059 (time 1772419988.95 total 20.08 last 67.44) - open/close 1868 (time 1772419998.96 total 30.09 last 80.80) - open/close 2400 (time 1772420008.96 total 40.09 last 53.18) - open/close 2900 (time 1772420018.98 total 50.11 last 49.91) - open/close 3440 (time 1772420029.02 total 60.15 last 53.80) - open/close 3912 (time 1772420039.02 total 70.15 last 47.17) - open/close 4657 (time 1772420049.03 total 80.16 last 74.44) - open/close 5239 (time 1772420059.07 total 90.20 last 58.01) - open/close 5652 (time 1772420069.08 total 100.20 last 41.26) - open/close 6048 (time 1772420079.10 total 110.23 last 39.51) - open/close 6425 (time 1772420089.11 total 120.24 last 37.66) - open/close 6858 (time 1772420099.12 total 130.25 last 43.26) - open/close 7508 (time 1772420109.12 total 140.25 last 64.97) total: 8000 open/close in 146.61 seconds: 54.57 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=13623, priv_cnt=240 Round 2: enqueue=17980, priv_cnt=343 Round 3: enqueue=22295, priv_cnt=341 Round 4: enqueue=26527, priv_cnt=348 Round 5: enqueue=30703, priv_cnt=346 Round 6: enqueue=34893, priv_cnt=350 Round 7: enqueue=39008, priv_cnt=348 Round 8: enqueue=43419, priv_cnt=349 Round 9: enqueue=47594, priv_cnt=345 Round 10: enqueue=51904, priv_cnt=348 LFRU Result: ldlm_enqueue delta=43482, time=847s ============================================================ 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: 51904 Round 1: enqueue=56745, priv_cnt=0 Round 2: enqueue=61341, priv_cnt=0 Round 3: enqueue=66158, priv_cnt=0 Round 4: enqueue=70725, priv_cnt=0 Round 5: enqueue=75558, priv_cnt=0 Round 6: enqueue=80291, priv_cnt=0 Round 7: enqueue=85085, priv_cnt=0 Round 8: enqueue=89831, priv_cnt=0 Round 9: enqueue=94569, priv_cnt=0 Round 10: enqueue=99368, priv_cnt=0 LRU Result: ldlm_enqueue delta=47465, time=1035s ============================================================== Final: LFRU=43482, LRU=47465 Improvement: 8% ==============================================================