== sanity test 123ad: Verify batching statahead works correctly ========================================================== 20:19:38 (1788913178) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff98fc3e362000.batch_stats=0 llite.lustre-ffff98fc3e362000.statahead_max=32 llite.lustre-ffff98fc3e362000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff98fc3e362000.batch_stats=0 total: 100 open/close in 0.86 seconds: 115.81 ops/second llite.lustre-ffff98fc3e362000.statahead_max=0 101 real 0m0.832s user 0m0.003s sys 0m0.263s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff98fc3e362000.statahead_max=32 llite.lustre-ffff98fc3e362000.statahead_max=32 101 real 0m0.407s user 0m0.003s sys 0m0.198s 'ls -l' 100 files with statahead: 0 sec statahead total: 99 statahead wrong: 2 agl total: 94 list_total: 30 fname_total: 68 hit_total: 13724 miss_total: 982 swrong=2 ewrong=2 total: 900 open/close in 4.35 seconds: 207.08 ops/second llite.lustre-ffff98fc3e362000.statahead_max=0 1001 real 0m10.563s user 0m0.025s sys 0m2.565s 'ls -l' 1000 files without statahead: 10 sec llite.lustre-ffff98fc3e362000.statahead_max=32 llite.lustre-ffff98fc3e362000.statahead_max=32 1001 real 0m4.022s user 0m0.015s sys 0m1.490s 'ls -l' 1000 files with statahead: 4 sec statahead total: 100 statahead wrong: 2 agl total: 95 list_total: 31 fname_total: 68 hit_total: 14719 miss_total: 987 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 9 seconds llite.lustre-ffff98fc3e362000.statahead_stats= statahead total: 100 statahead wrong: 2 agl total: 95 list_total: 31 fname_total: 68 hit_total: 14719 miss_total: 987 mdc.lustre-MDT0000-mdc-ffff98fc3e362000.batch_stats= snapshot_time: 1788913216.826956897 secs.nsecs start_time: 1788913180.643196123 secs.nsecs elapsed_time: 36.183760774 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 2192 (time 1788913228.25 total 10.00 last 219.14) - open/close 4340 (time 1788913238.25 total 20.00 last 214.77) - open/close 6506 (time 1788913248.26 total 30.01 last 216.38) - open/close 8581 (time 1788913258.27 total 40.02 last 207.42) - open/close 9591 (time 1788913268.27 total 50.02 last 100.96) total: 10000 open/close in 53.46 seconds: 187.05 ops/second llite.lustre-ffff98fc3e362000.statahead_batch_max=0 llite.lustre-ffff98fc3e362000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98fc3e362000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.278s user 0m0.300s sys 0m14.336s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff98fc3e362000.statahead_batch_max=32 llite.lustre-ffff98fc3e362000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98fc3e362000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff98fc3e362000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.803s user 0m0.252s sys 0m12.394s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff98fc3e362000.batch_stats= snapshot_time: 1788913414.625101531 secs.nsecs start_time: 1788913342.599905475 secs.nsecs elapsed_time: 72.025196056 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff98fc3e362000.batch_stats=0 llite.lustre-ffff98fc3e362000.statahead_max=2048 llite.lustre-ffff98fc3e362000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff98fc3e362000.batch_stats=0 total: 100 open/close in 2.02 seconds: 49.43 ops/second llite.lustre-ffff98fc3e362000.statahead_max=0 101 real 0m1.728s user 0m0.004s sys 0m0.284s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff98fc3e362000.statahead_max=2048 llite.lustre-ffff98fc3e362000.statahead_max=2048 101 real 0m0.733s user 0m0.002s sys 0m0.188s '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: 10080 miss_total: 20 swrong=0 ewrong=0 total: 900 open/close in 8.83 seconds: 101.98 ops/second llite.lustre-ffff98fc3e362000.statahead_max=0 1001 real 0m15.531s user 0m0.031s sys 0m2.752s 'ls -l' 1000 files without statahead: 15 sec llite.lustre-ffff98fc3e362000.statahead_max=2048 llite.lustre-ffff98fc3e362000.statahead_max=2048 1001 real 0m4.349s user 0m0.018s sys 0m1.436s 'ls -l' 1000 files with statahead: 4 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11079 miss_total: 21 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 14 seconds llite.lustre-ffff98fc3e362000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11079 miss_total: 21 mdc.lustre-MDT0000-mdc-ffff98fc3e362000.batch_stats= snapshot_time: 1788913682.214737598 secs.nsecs start_time: 1788913416.539494143 secs.nsecs elapsed_time: 265.675243455 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 1 10 30 32: 2 20 50 64: 1 10 60 128: 0 0 60 256: 4 40 100 - open/close 1021 (time 1788913694.05 total 10.01 last 101.97) - open/close 2094 (time 1788913704.05 total 20.02 last 107.27) - open/close 3200 (time 1788913714.05 total 30.02 last 110.59) - open/close 4195 (time 1788913724.05 total 40.02 last 99.48) - open/close 5307 (time 1788913734.05 total 50.02 last 111.19) - open/close 6294 (time 1788913744.06 total 60.03 last 98.64) - open/close 7469 (time 1788913754.07 total 70.03 last 117.40) - open/close 8544 (time 1788913764.07 total 80.04 last 107.45) - open/close 9583 (time 1788913774.08 total 90.04 last 103.88) total: 10000 open/close in 93.98 seconds: 106.41 ops/second llite.lustre-ffff98fc3e362000.statahead_batch_max=0 llite.lustre-ffff98fc3e362000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98fc3e362000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.585s user 0m0.297s sys 0m17.255s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff98fc3e362000.statahead_batch_max=256 llite.lustre-ffff98fc3e362000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98fc3e362000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff98fc3e362000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.238s user 0m0.225s sys 0m13.821s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff98fc3e362000.batch_stats= snapshot_time: 1788913861.191714078 secs.nsecs start_time: 1788913823.859418175 secs.nsecs elapsed_time: 37.332295903 secs.nsecs subreqs per batch batches %% cum %% 1: 104 46 46 2: 18 8 54 4: 22 9 64 8: 11 4 69 16: 16 7 76 32: 13 5 82 64: 4 1 83 128: 0 0 83 256: 36 16 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-ffff98fc3e362000.statahead_batch_max=64 llite.lustre-ffff98fc3e362000.statahead_max=128