== sanity test 123ad: Verify batching statahead works correctly ========================================================== 17:32:07 (1780090327) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff99b8472a5800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99b8472a5800.batch_stats=0 llite.lustre-ffff99b8472a5800.statahead_max=32 llite.lustre-ffff99b8472a5800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff99b8472a5800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99b8472a5800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.32 seconds: 76.01 ops/second llite.lustre-ffff99b8472a5800.statahead_max=0 101 real 0m1.202s user 0m0.005s sys 0m0.316s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff99b8472a5800.statahead_max=32 llite.lustre-ffff99b8472a5800.statahead_max=32 101 real 0m0.509s user 0m0.000s sys 0m0.248s 'ls -l' 100 files with statahead: 1 sec statahead total: 87 statahead wrong: 2 agl total: 83 list_total: 28 fname_total: 54 hit_total: 3830 miss_total: 952 swrong=2 ewrong=2 total: 900 open/close in 5.46 seconds: 164.90 ops/second llite.lustre-ffff99b8472a5800.statahead_max=0 1001 real 0m12.529s user 0m0.039s sys 0m2.967s 'ls -l' 1000 files without statahead: 12 sec llite.lustre-ffff99b8472a5800.statahead_max=32 llite.lustre-ffff99b8472a5800.statahead_max=32 1001 real 0m4.692s user 0m0.025s sys 0m1.781s 'ls -l' 1000 files with statahead: 5 sec statahead total: 88 statahead wrong: 2 agl total: 84 list_total: 29 fname_total: 54 hit_total: 4829 miss_total: 953 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 10 seconds llite.lustre-ffff99b8472a5800.statahead_stats= statahead total: 88 statahead wrong: 2 agl total: 84 list_total: 29 fname_total: 54 hit_total: 4829 miss_total: 953 mdc.lustre-MDT0000-mdc-ffff99b8472a5800.batch_stats= snapshot_time: 1780090373.855179754 secs.nsecs start_time: 1780090329.983778589 secs.nsecs elapsed_time: 43.871401165 secs.nsecs subreqs per batch batches % cum % 1: 4 10 10 2: 3 7 17 4: 1 2 20 8: 1 2 23 16: 25 64 87 32: 5 12 100 mdc.lustre-MDT0001-mdc-ffff99b8472a5800.batch_stats= snapshot_time: 1780090373.855237174 secs.nsecs start_time: 1780090329.983839504 secs.nsecs elapsed_time: 43.871397670 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 2 2 4: 1 2 5 8: 3 7 12 16: 10 25 38 32: 24 61 100 - open/close 1424 (time 1780090384.90 total 10.01 last 142.32) - open/close 2532 (time 1780090394.91 total 20.01 last 110.72) - open/close 3832 (time 1780090404.91 total 30.02 last 129.95) - open/close 5357 (time 1780090414.91 total 40.02 last 152.45) - open/close 6790 (time 1780090424.91 total 50.02 last 143.29) - open/close 8507 (time 1780090434.92 total 60.02 last 171.67) total: 10000 open/close in 69.45 seconds: 143.99 ops/second llite.lustre-ffff99b8472a5800.statahead_batch_max=0 llite.lustre-ffff99b8472a5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99b8472a5800.stats=clear mdc.lustre-MDT0001-mdc-ffff99b8472a5800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.707s user 0m0.298s sys 0m30.382s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99b8472a5800.statahead_batch_max=32 llite.lustre-ffff99b8472a5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99b8472a5800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff99b8472a5800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99b8472a5800.stats=clear mdc.lustre-MDT0001-mdc-ffff99b8472a5800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.819s user 0m0.234s sys 0m19.781s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff99b8472a5800.batch_stats= snapshot_time: 1780090537.099451635 secs.nsecs start_time: 1780090482.941240065 secs.nsecs elapsed_time: 54.158211570 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 mdc.lustre-MDT0001-mdc-ffff99b8472a5800.batch_stats= snapshot_time: 1780090537.099514058 secs.nsecs start_time: 1780090482.941318021 secs.nsecs elapsed_time: 54.158196037 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff99b8472a5800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99b8472a5800.batch_stats=0 llite.lustre-ffff99b8472a5800.statahead_max=2048 llite.lustre-ffff99b8472a5800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff99b8472a5800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99b8472a5800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.04 seconds: 95.97 ops/second llite.lustre-ffff99b8472a5800.statahead_max=0 101 real 0m1.037s user 0m0.004s sys 0m0.311s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff99b8472a5800.statahead_max=2048 llite.lustre-ffff99b8472a5800.statahead_max=2048 101 real 0m0.431s user 0m0.004s sys 0m0.225s '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: 10083 miss_total: 17 swrong=0 ewrong=0 total: 900 open/close in 3.31 seconds: 272.17 ops/second llite.lustre-ffff99b8472a5800.statahead_max=0 1001 real 0m10.607s user 0m0.024s sys 0m3.074s 'ls -l' 1000 files without statahead: 10 sec llite.lustre-ffff99b8472a5800.statahead_max=2048 llite.lustre-ffff99b8472a5800.statahead_max=2048 1001 real 0m3.465s user 0m0.018s sys 0m1.520s '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: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 7 seconds llite.lustre-ffff99b8472a5800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 mdc.lustre-MDT0000-mdc-ffff99b8472a5800.batch_stats= snapshot_time: 1780090707.427357831 secs.nsecs start_time: 1780090538.135335890 secs.nsecs elapsed_time: 169.292021941 secs.nsecs subreqs per batch batches % cum % 1: 1 14 14 2: 1 14 28 4: 2 28 57 8: 1 14 71 16: 0 0 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff99b8472a5800.batch_stats= snapshot_time: 1780090707.427448304 secs.nsecs start_time: 1780090538.135486651 secs.nsecs elapsed_time: 169.291961653 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 3 33 44 16: 1 11 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 2474 (time 1780090718.60 total 10.00 last 247.30) - open/close 4786 (time 1780090728.61 total 20.01 last 231.05) - open/close 6943 (time 1780090738.61 total 30.01 last 215.69) - open/close 9129 (time 1780090748.61 total 40.02 last 218.50) total: 10000 open/close in 43.77 seconds: 228.48 ops/second llite.lustre-ffff99b8472a5800.statahead_batch_max=0 llite.lustre-ffff99b8472a5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99b8472a5800.stats=clear mdc.lustre-MDT0001-mdc-ffff99b8472a5800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m43.321s user 0m0.301s sys 0m36.511s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99b8472a5800.statahead_batch_max=256 llite.lustre-ffff99b8472a5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99b8472a5800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff99b8472a5800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99b8472a5800.stats=clear mdc.lustre-MDT0001-mdc-ffff99b8472a5800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.484s user 0m0.253s sys 0m23.627s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff99b8472a5800.batch_stats= snapshot_time: 1780090840.171575576 secs.nsecs start_time: 1780090799.478781648 secs.nsecs elapsed_time: 40.692793928 secs.nsecs subreqs per batch batches % cum % 1: 341 67 67 2: 63 12 79 4: 37 7 87 8: 3 0 87 16: 4 0 88 32: 20 3 92 64: 4 0 93 128: 0 0 93 256: 34 6 100 mdc.lustre-MDT0001-mdc-ffff99b8472a5800.batch_stats= snapshot_time: 1780090840.171972060 secs.nsecs start_time: 1780090799.478864124 secs.nsecs elapsed_time: 40.693107936 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 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-ffff99b8472a5800.statahead_batch_max=64 llite.lustre-ffff99b8472a5800.statahead_max=128