== sanity test 123ad: Verify batching statahead works correctly ========================================================== 21:40:01 (1708828801) batching: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88008ee45000.batch_stats=0 llite.lustre-ffff88008ee45000.statahead_max=32 llite.lustre-ffff88008ee45000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88008ee45000.batch_stats=0 total: 100 open/close in 0.56 seconds: 180.05 ops/second llite.lustre-ffff88008ee45000.statahead_max=0 101 real 0m0.556s user 0m0.005s sys 0m0.195s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88008ee45000.statahead_max=32 32 101 real 0m0.329s user 0m0.004s sys 0m0.108s ls -l 100 files with statahead: 0 sec statahead total: 29 statahead wrong: 0 agl total: 29 list_total: 29 fname_total: 0 hit_total: 11643 miss_total: 140 total: 900 open/close in 2.03 seconds: 442.70 ops/second llite.lustre-ffff88008ee45000.statahead_max=0 1001 real 0m5.560s user 0m0.033s sys 0m2.056s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff88008ee45000.statahead_max=32 32 1001 real 0m1.865s user 0m0.025s sys 0m0.834s ls -l 1000 files with statahead: 2 sec statahead total: 30 statahead wrong: 0 agl total: 30 list_total: 30 fname_total: 0 hit_total: 12642 miss_total: 141 ls -l done rm -r /mnt/lustre/d123ad.sanity/: 3 seconds rm done statahead total: 30 statahead wrong: 0 agl total: 30 list_total: 30 fname_total: 0 hit_total: 12642 miss_total: 141 mdc.lustre-MDT0000-mdc-ffff88008ee45000.batch_stats= snapshot_time: 1708828821.577116475 secs.nsecs start_time: 1708828802.952260476 secs.nsecs elapsed_time: 18.624855999 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 2 5 10 16: 2 5 15 32: 34 85 100 - open/close 4410 (time 1708828832.41 total 10.00 last 440.90) - open/close 7599 (time 1708828842.41 total 20.00 last 318.89) total: 10000 open/close in 29.03 seconds: 344.44 ops/second llite.lustre-ffff88008ee45000.statahead_batch_max=0 llite.lustre-ffff88008ee45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88008ee45000.stats=clear 10001 real 0m11.492s user 0m0.207s sys 0m10.795s llite.lustre-ffff88008ee45000.statahead_batch_max=32 llite.lustre-ffff88008ee45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88008ee45000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88008ee45000.stats=clear 10001 real 0m23.638s user 0m0.236s sys 0m9.833s unbatched RPCs: 10004, batched RPCs: 315 mdc.lustre-MDT0000-mdc-ffff88008ee45000.batch_stats= snapshot_time: 1708828896.389492255 secs.nsecs start_time: 1708828867.119825848 secs.nsecs elapsed_time: 29.269666407 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 batching: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88008ee45000.batch_stats=0 llite.lustre-ffff88008ee45000.statahead_max=2048 llite.lustre-ffff88008ee45000.statahead_batch_max=256 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88008ee45000.batch_stats=0 total: 100 open/close in 0.51 seconds: 197.00 ops/second llite.lustre-ffff88008ee45000.statahead_max=0 101 real 0m0.502s user 0m0.003s sys 0m0.179s ls -l 100 files without statahead: 0 sec llite.lustre-ffff88008ee45000.statahead_max=2048 2048 101 real 0m0.243s user 0m0.006s sys 0m0.091s ls -l 100 files with statahead: 1 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.94 seconds: 463.17 ops/second llite.lustre-ffff88008ee45000.statahead_max=0 1001 real 0m5.628s user 0m0.031s sys 0m2.058s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff88008ee45000.statahead_max=2048 2048 1001 real 0m1.183s user 0m0.018s sys 0m0.887s ls -l 1000 files with statahead: 1 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 ls -l done rm -r /mnt/lustre/d123ad.sanity/: 3 seconds rm done statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 mdc.lustre-MDT0000-mdc-ffff88008ee45000.batch_stats= snapshot_time: 1708828966.546182385 secs.nsecs start_time: 1708828897.040973930 secs.nsecs elapsed_time: 69.505208455 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 2 18 36 32: 2 18 54 64: 1 9 63 128: 0 0 63 256: 4 36 100 - open/close 4351 (time 1708828977.37 total 10.00 last 435.03) - open/close 7665 (time 1708828987.37 total 20.01 last 331.28) total: 10000 open/close in 29.01 seconds: 344.67 ops/second llite.lustre-ffff88008ee45000.statahead_batch_max=0 llite.lustre-ffff88008ee45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88008ee45000.stats=clear 10001 real 0m12.603s user 0m0.205s sys 0m11.681s llite.lustre-ffff88008ee45000.statahead_batch_max=256 llite.lustre-ffff88008ee45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88008ee45000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88008ee45000.stats=clear 10001 real 0m12.214s user 0m0.218s sys 0m10.707s unbatched RPCs: 10004, batched RPCs: 293 mdc.lustre-MDT0000-mdc-ffff88008ee45000.batch_stats= snapshot_time: 1708829031.273991195 secs.nsecs start_time: 1708829013.475219780 secs.nsecs elapsed_time: 17.798771415 secs.nsecs subreqs per batch batches % cum % 1: 195 66 66 2: 16 5 72 4: 11 3 75 8: 8 2 78 16: 5 1 80 32: 9 3 83 64: 14 4 88 128: 1 0 88 256: 34 11 100 seq.cli-lustre-OST0000-super.width=33554431 seq.cli-lustre-OST0001-super.width=33554431 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff88008ee45000.statahead_batch_max=64 llite.lustre-ffff88008ee45000.statahead_max=128