== lfru-performance test mixed: LFRU vs LRU benchmark with mixed hot/cold access pattern ========================================================== 21:53:07 (1772419987) ============================================================== LFRU vs LRU Benchmark: Mixed Hot/Cold Access Pattern ============================================================== total: 400 open/close in 3.96 seconds: 100.90 ops/second - open/close 499 (time 1772420010.64 total 10.00 last 49.89) - open/close 1013 (time 1772420020.66 total 20.02 last 51.29) - open/close 1490 (time 1772420030.70 total 30.07 last 47.50) - open/close 1924 (time 1772420040.72 total 40.08 last 43.34) - open/close 2672 (time 1772420050.72 total 50.09 last 74.76) - open/close 3228 (time 1772420060.74 total 60.10 last 55.52) - open/close 3684 (time 1772420070.74 total 70.11 last 45.57) - open/close 4003 (time 1772420080.91 total 80.27 last 31.38) - open/close 4451 (time 1772420090.93 total 90.29 last 44.71) - open/close 5050 (time 1772420100.94 total 100.31 last 59.82) - open/close 5850 (time 1772420110.95 total 110.31 last 79.97) - open/close 6691 (time 1772420120.95 total 120.32 last 84.03) - open/close 7496 (time 1772420130.96 total 130.33 last 80.43) total: 8000 open/close in 136.19 seconds: 58.74 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=13507, priv_cnt=239 Round 2: enqueue=17745, priv_cnt=344 Round 3: enqueue=22054, priv_cnt=351 Round 4: enqueue=26201, priv_cnt=349 Round 5: enqueue=30430, priv_cnt=341 Round 6: enqueue=34582, priv_cnt=348 Round 7: enqueue=38774, priv_cnt=350 Round 8: enqueue=42958, priv_cnt=345 Round 9: enqueue=47124, priv_cnt=348 Round 10: enqueue=51488, priv_cnt=341 LFRU Result: ldlm_enqueue delta=43066, time=863s ============================================================ 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: 51488 Round 1: enqueue=56355, priv_cnt=0 Round 2: enqueue=60863, priv_cnt=0 Round 3: enqueue=65491, priv_cnt=0 Round 4: enqueue=70078, priv_cnt=0 Round 5: enqueue=74663, priv_cnt=0 Round 6: enqueue=79481, priv_cnt=0 Round 7: enqueue=84206, priv_cnt=0 Round 8: enqueue=88982, priv_cnt=0 Round 9: enqueue=93760, priv_cnt=0 Round 10: enqueue=98414, priv_cnt=0 LRU Result: ldlm_enqueue delta=46926, time=1062s ============================================================== Final: LFRU=43066, LRU=46926 Improvement: 8% ==============================================================