== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:00:42 (1758812442) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.batch_stats=0 llite.lustre-ffff9da2c5d8d000.statahead_max=32 llite.lustre-ffff9da2c5d8d000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.batch_stats=0 total: 100 open/close in 0.64 seconds: 155.04 ops/second llite.lustre-ffff9da2c5d8d000.statahead_max=0 101 real 0m0.639s user 0m0.002s sys 0m0.227s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9da2c5d8d000.statahead_max=32 32 101 real 0m0.372s user 0m0.001s sys 0m0.202s ls -l 100 files with statahead: 0 sec statahead total: 63 statahead wrong: 2 agl total: 58 list_total: 27 fname_total: 35 hit_total: 19624 miss_total: 1070 total: 900 open/close in 1.73 seconds: 520.12 ops/second llite.lustre-ffff9da2c5d8d000.statahead_max=0 1001 real 0m5.459s user 0m0.021s sys 0m1.975s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff9da2c5d8d000.statahead_max=32 32 1001 real 0m3.271s user 0m0.027s sys 0m1.872s ls -l 1000 files with statahead: 3 sec statahead total: 64 statahead wrong: 2 agl total: 59 list_total: 28 fname_total: 35 hit_total: 20623 miss_total: 1071 - open/close 4784 (time 1758812471.12 total 10.00 last 478.34) total: 9000 open/close in 18.41 seconds: 488.96 ops/second llite.lustre-ffff9da2c5d8d000.statahead_max=0 10001 real 1m0.297s user 0m0.245s sys 0m21.119s ls -l 10000 files without statahead: 60 sec llite.lustre-ffff9da2c5d8d000.statahead_max=32 32 10001 real 0m36.444s user 0m0.171s sys 0m20.897s ls -l 10000 files with statahead: 37 sec statahead total: 65 statahead wrong: 2 agl total: 60 list_total: 29 fname_total: 35 hit_total: 30622 miss_total: 1072 ls -l done rm -r /mnt/lustre/d123ad.sanity: 63 seconds llite.lustre-ffff9da2c5d8d000.statahead_stats= statahead total: 65 statahead wrong: 2 agl total: 60 list_total: 29 fname_total: 35 hit_total: 30622 miss_total: 1072 mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.batch_stats= snapshot_time: 1758812649.182620502 secs.nsecs start_time: 1758812444.207964549 secs.nsecs elapsed_time: 204.974655953 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 1 0 0 8: 3 0 1 16: 4 1 2 32: 346 97 100 - open/close 4244 (time 1758812660.71 total 10.00 last 424.35) - open/close 8619 (time 1758812670.72 total 20.00 last 437.41) total: 10000 open/close in 23.05 seconds: 433.80 ops/second llite.lustre-ffff9da2c5d8d000.statahead_batch_max=0 llite.lustre-ffff9da2c5d8d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.184s user 0m0.185s sys 0m29.959s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9da2c5d8d000.statahead_batch_max=32 llite.lustre-ffff9da2c5d8d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.453s user 0m0.160s sys 0m19.911s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.batch_stats= snapshot_time: 1758812748.187889875 secs.nsecs start_time: 1758812708.109961378 secs.nsecs elapsed_time: 40.077928497 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 0 32: 312 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.batch_stats=0 llite.lustre-ffff9da2c5d8d000.statahead_max=2048 llite.lustre-ffff9da2c5d8d000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.batch_stats=0 total: 100 open/close in 1.10 seconds: 90.72 ops/second llite.lustre-ffff9da2c5d8d000.statahead_max=0 101 real 0m0.658s user 0m0.004s sys 0m0.240s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9da2c5d8d000.statahead_max=2048 2048 101 real 0m0.434s user 0m0.001s sys 0m0.324s ls -l 100 files with statahead: 0 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10098 miss_total: 2 total: 900 open/close in 1.98 seconds: 454.00 ops/second llite.lustre-ffff9da2c5d8d000.statahead_max=0 1001 real 0m5.765s user 0m0.019s sys 0m2.036s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff9da2c5d8d000.statahead_max=2048 2048 1001 real 0m3.179s user 0m0.017s sys 0m1.777s ls -l 1000 files with statahead: 3 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 - open/close 4598 (time 1758812862.04 total 10.00 last 459.71) - open/close 8972 (time 1758812872.05 total 20.01 last 436.96) total: 9000 open/close in 20.08 seconds: 448.21 ops/second llite.lustre-ffff9da2c5d8d000.statahead_max=0 10001 real 2m54.428s user 0m0.361s sys 0m26.829s ls -l 10000 files without statahead: 174 sec llite.lustre-ffff9da2c5d8d000.statahead_max=2048 2048 10001 real 0m36.639s user 0m0.251s sys 0m14.827s ls -l 10000 files with statahead: 36 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 ls -l done rm -r /mnt/lustre/d123ad.sanity: 165 seconds llite.lustre-ffff9da2c5d8d000.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.batch_stats= snapshot_time: 1758813265.879181164 secs.nsecs start_time: 1758812749.092569377 secs.nsecs elapsed_time: 516.786611787 secs.nsecs subreqs per batch batches % cum % 1: 114 40 40 2: 38 13 54 4: 27 9 63 8: 26 9 72 16: 14 4 77 32: 13 4 82 64: 9 3 85 128: 2 0 86 256: 38 13 100 - open/close 694 (time 1758813278.41 total 10.01 last 69.34) - open/close 1328 (time 1758813288.42 total 20.02 last 63.33) - open/close 2014 (time 1758813298.43 total 30.03 last 68.54) - open/close 2697 (time 1758813308.43 total 40.03 last 68.30) - open/close 3357 (time 1758813318.43 total 50.04 last 65.96) - open/close 4049 (time 1758813328.44 total 60.05 last 69.13) - open/close 4736 (time 1758813338.47 total 70.07 last 68.51) - open/close 5411 (time 1758813348.47 total 80.07 last 67.50) - open/close 6080 (time 1758813358.48 total 90.09 last 66.83) - open/close 6818 (time 1758813368.49 total 100.10 last 73.72) - open/close 7656 (time 1758813378.50 total 110.10 last 83.74) - open/close 8446 (time 1758813388.50 total 120.10 last 78.99) - open/close 9313 (time 1758813398.52 total 130.12 last 86.56) total: 10000 open/close in 139.68 seconds: 71.59 ops/second llite.lustre-ffff9da2c5d8d000.statahead_batch_max=0 llite.lustre-ffff9da2c5d8d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m45.542s user 0m0.280s sys 0m15.925s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9da2c5d8d000.statahead_batch_max=256 llite.lustre-ffff9da2c5d8d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m41.357s user 0m0.250s sys 0m14.482s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9da2c5d8d000.batch_stats= snapshot_time: 1758813509.915983507 secs.nsecs start_time: 1758813459.786754387 secs.nsecs elapsed_time: 50.129229120 secs.nsecs subreqs per batch batches % cum % 1: 98 42 42 2: 25 10 53 4: 21 9 63 8: 18 7 71 16: 7 3 74 32: 16 7 81 64: 8 3 84 128: 0 0 84 256: 35 15 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9da2c5d8d000.statahead_batch_max=64 llite.lustre-ffff9da2c5d8d000.statahead_max=128