== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:43:51 (1788356631) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.batch_stats=0 llite.lustre-ffff9c0dabfaf000.statahead_max=32 llite.lustre-ffff9c0dabfaf000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.batch_stats=0 total: 100 open/close in 1.26 seconds: 79.05 ops/second llite.lustre-ffff9c0dabfaf000.statahead_max=0 101 real 0m1.196s user 0m0.003s sys 0m0.302s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9c0dabfaf000.statahead_max=32 llite.lustre-ffff9c0dabfaf000.statahead_max=32 101 real 0m0.497s user 0m0.004s sys 0m0.208s 'ls -l' 100 files with statahead: 0 sec statahead total: 62 statahead wrong: 2 agl total: 58 list_total: 26 fname_total: 36 hit_total: 13824 miss_total: 1149 swrong=2 ewrong=2 total: 900 open/close in 5.51 seconds: 163.24 ops/second llite.lustre-ffff9c0dabfaf000.statahead_max=0 1001 real 0m10.679s user 0m0.030s sys 0m2.846s 'ls -l' 1000 files without statahead: 11 sec llite.lustre-ffff9c0dabfaf000.statahead_max=32 llite.lustre-ffff9c0dabfaf000.statahead_max=32 1001 real 0m4.173s user 0m0.024s sys 0m1.976s 'ls -l' 1000 files with statahead: 5 sec statahead total: 63 statahead wrong: 2 agl total: 59 list_total: 27 fname_total: 36 hit_total: 14822 miss_total: 1151 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 8 seconds llite.lustre-ffff9c0dabfaf000.statahead_stats= statahead total: 63 statahead wrong: 2 agl total: 59 list_total: 27 fname_total: 36 hit_total: 14822 miss_total: 1151 mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.batch_stats= snapshot_time: 1788356672.084004431 secs.nsecs start_time: 1788356633.622865723 secs.nsecs elapsed_time: 38.461138708 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 2511 (time 1788356682.99 total 10.00 last 251.06) - open/close 4722 (time 1788356693.00 total 20.00 last 221.03) - open/close 7089 (time 1788356703.00 total 30.01 last 236.67) - open/close 9164 (time 1788356713.00 total 40.01 last 207.43) total: 10000 open/close in 43.62 seconds: 229.24 ops/second llite.lustre-ffff9c0dabfaf000.statahead_batch_max=0 llite.lustre-ffff9c0dabfaf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.494s user 0m0.261s sys 0m31.278s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9c0dabfaf000.statahead_batch_max=32 llite.lustre-ffff9c0dabfaf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.207s user 0m0.202s sys 0m20.071s batched statahead RPC= hit count=9995 mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.batch_stats= snapshot_time: 1788356801.955924034 secs.nsecs start_time: 1788356754.776031930 secs.nsecs elapsed_time: 47.179892104 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-ffff9c0dabfaf000.batch_stats=0 llite.lustre-ffff9c0dabfaf000.statahead_max=2048 llite.lustre-ffff9c0dabfaf000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.batch_stats=0 total: 100 open/close in 0.93 seconds: 107.92 ops/second llite.lustre-ffff9c0dabfaf000.statahead_max=0 101 real 0m0.859s user 0m0.006s sys 0m0.282s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9c0dabfaf000.statahead_max=2048 llite.lustre-ffff9c0dabfaf000.statahead_max=2048 101 real 0m0.475s user 0m0.006s sys 0m0.261s '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: 10094 miss_total: 6 swrong=0 ewrong=0 total: 900 open/close in 3.42 seconds: 263.26 ops/second llite.lustre-ffff9c0dabfaf000.statahead_max=0 1001 real 0m7.838s user 0m0.036s sys 0m2.628s 'ls -l' 1000 files without statahead: 8 sec llite.lustre-ffff9c0dabfaf000.statahead_max=2048 llite.lustre-ffff9c0dabfaf000.statahead_max=2048 1001 real 0m3.377s user 0m0.018s sys 0m1.606s '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: 11093 miss_total: 7 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 7 seconds llite.lustre-ffff9c0dabfaf000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11093 miss_total: 7 mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.batch_stats= snapshot_time: 1788356947.528067323 secs.nsecs start_time: 1788356802.969106156 secs.nsecs elapsed_time: 144.558961167 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: 0 0 54 128: 1 9 63 256: 4 36 100 - open/close 2786 (time 1788356958.41 total 10.00 last 278.58) - open/close 5100 (time 1788356968.41 total 20.00 last 231.37) - open/close 7429 (time 1788356978.41 total 30.00 last 232.88) total: 10000 open/close in 39.39 seconds: 253.85 ops/second llite.lustre-ffff9c0dabfaf000.statahead_batch_max=0 llite.lustre-ffff9c0dabfaf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.403s user 0m0.206s sys 0m26.909s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9c0dabfaf000.statahead_batch_max=256 llite.lustre-ffff9c0dabfaf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m27.806s user 0m0.179s sys 0m19.706s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9c0dabfaf000.batch_stats= snapshot_time: 1788357057.192927879 secs.nsecs start_time: 1788357022.752358438 secs.nsecs elapsed_time: 34.440569441 secs.nsecs subreqs per batch batches %% cum %% 1: 381 67 67 2: 64 11 79 4: 47 8 87 8: 9 1 88 16: 5 0 89 32: 22 3 93 64: 1 0 93 128: 0 0 93 256: 34 6 100 unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9c0dabfaf000.statahead_batch_max=64 llite.lustre-ffff9c0dabfaf000.statahead_max=128