== sanity test 123ad: Verify batching statahead works correctly ========================================================== 19:47:57 (1787788077) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.batch_stats=0 llite.lustre-ffff8952c4f9c000.statahead_max=32 llite.lustre-ffff8952c4f9c000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.46 seconds: 40.62 ops/second llite.lustre-ffff8952c4f9c000.statahead_max=0 101 real 0m2.165s user 0m0.003s sys 0m0.295s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8952c4f9c000.statahead_max=32 llite.lustre-ffff8952c4f9c000.statahead_max=32 101 real 0m1.137s user 0m0.005s sys 0m0.172s 'ls -l' 100 files with statahead: 1 sec statahead total: 142 statahead wrong: 2 agl total: 136 list_total: 32 fname_total: 94 hit_total: 4127 miss_total: 767 swrong=2 ewrong=2 - open/close 874 (time 1787788104.94 total 10.01 last 87.35) total: 900 open/close in 10.27 seconds: 87.62 ops/second llite.lustre-ffff8952c4f9c000.statahead_max=0 1001 real 0m24.701s user 0m0.039s sys 0m3.025s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff8952c4f9c000.statahead_max=32 llite.lustre-ffff8952c4f9c000.statahead_max=32 1001 real 0m9.281s user 0m0.032s sys 0m1.352s 'ls -l' 1000 files with statahead: 9 sec statahead total: 143 statahead wrong: 2 agl total: 137 list_total: 33 fname_total: 94 hit_total: 5125 miss_total: 769 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff8952c4f9c000.statahead_stats= statahead total: 143 statahead wrong: 2 agl total: 137 list_total: 33 fname_total: 94 hit_total: 5125 miss_total: 769 mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.batch_stats= snapshot_time: 1787788173.796095053 secs.nsecs start_time: 1787788081.770673704 secs.nsecs elapsed_time: 92.025421349 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 2 5 13 4: 1 2 15 8: 2 5 21 16: 27 71 92 32: 3 7 100 mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.batch_stats= snapshot_time: 1787788173.796172844 secs.nsecs start_time: 1787788081.770782104 secs.nsecs elapsed_time: 92.025390740 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 3 7 12 16: 12 30 43 32: 22 56 100 - open/close 822 (time 1787788186.90 total 10.00 last 82.19) - open/close 1585 (time 1787788196.90 total 20.00 last 76.28) - open/close 2361 (time 1787788206.93 total 30.03 last 77.43) - open/close 2984 (time 1787788216.93 total 40.03 last 62.27) - open/close 3689 (time 1787788226.94 total 50.04 last 70.46) - open/close 4522 (time 1787788236.94 total 60.04 last 83.25) - open/close 5274 (time 1787788246.95 total 70.05 last 75.17) - open/close 6196 (time 1787788256.96 total 80.06 last 92.08) - open/close 6983 (time 1787788266.96 total 90.06 last 78.67) - open/close 7881 (time 1787788276.96 total 100.06 last 89.79) - open/close 8735 (time 1787788286.97 total 110.07 last 85.34) - open/close 9652 (time 1787788296.97 total 120.07 last 91.67) total: 10000 open/close in 123.91 seconds: 80.70 ops/second llite.lustre-ffff8952c4f9c000.statahead_batch_max=0 llite.lustre-ffff8952c4f9c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.stats=clear mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m11.375s user 0m0.307s sys 0m14.290s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8952c4f9c000.statahead_batch_max=32 llite.lustre-ffff8952c4f9c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.stats=clear mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m37.028s user 0m0.263s sys 0m13.880s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.batch_stats= snapshot_time: 1787788489.942492549 secs.nsecs start_time: 1787788381.819892216 secs.nsecs elapsed_time: 108.122600333 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-ffff8952c4f9c000.batch_stats= snapshot_time: 1787788489.942593823 secs.nsecs start_time: 1787788381.820072389 secs.nsecs elapsed_time: 108.122521434 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.batch_stats=0 llite.lustre-ffff8952c4f9c000.statahead_max=2048 llite.lustre-ffff8952c4f9c000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.69 seconds: 37.14 ops/second llite.lustre-ffff8952c4f9c000.statahead_max=0 101 real 0m2.346s user 0m0.002s sys 0m0.328s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8952c4f9c000.statahead_max=2048 llite.lustre-ffff8952c4f9c000.statahead_max=2048 101 real 0m0.794s user 0m0.008s sys 0m0.186s '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: 10083 miss_total: 17 swrong=0 ewrong=0 - open/close 652 (time 1787788786.43 total 10.01 last 65.17) total: 900 open/close in 13.30 seconds: 67.67 ops/second llite.lustre-ffff8952c4f9c000.statahead_max=0 1001 real 0m21.402s user 0m0.035s sys 0m2.960s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff8952c4f9c000.statahead_max=2048 llite.lustre-ffff8952c4f9c000.statahead_max=2048 1001 real 0m5.505s user 0m0.026s sys 0m1.620s 'ls -l' 1000 files with statahead: 5 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: 17 seconds llite.lustre-ffff8952c4f9c000.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-ffff8952c4f9c000.batch_stats= snapshot_time: 1787788845.703027675 secs.nsecs start_time: 1787788492.251932776 secs.nsecs elapsed_time: 353.451094899 secs.nsecs subreqs per batch batches %% cum %% 1: 1 12 12 2: 0 0 12 4: 1 12 25 8: 2 25 50 16: 1 12 62 32: 1 12 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.batch_stats= snapshot_time: 1787788845.703097034 secs.nsecs start_time: 1787788492.252088687 secs.nsecs elapsed_time: 353.451008347 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 25 8: 2 25 50 16: 0 0 50 32: 2 25 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 - open/close 746 (time 1787788857.95 total 10.01 last 74.56) - open/close 1510 (time 1787788867.96 total 20.01 last 76.36) - open/close 2379 (time 1787788877.97 total 30.03 last 86.78) - open/close 3242 (time 1787788887.98 total 40.03 last 86.23) - open/close 4063 (time 1787788898.00 total 50.06 last 81.91) - open/close 4871 (time 1787788908.00 total 60.06 last 80.80) - open/close 5679 (time 1787788918.01 total 70.07 last 80.73) - open/close 6543 (time 1787788928.02 total 80.07 last 86.37) - open/close 7410 (time 1787788938.02 total 90.07 last 86.67) - open/close 8272 (time 1787788948.03 total 100.08 last 86.13) - open/close 9109 (time 1787788958.04 total 110.09 last 83.59) - open/close 9857 (time 1787788968.06 total 120.11 last 74.69) total: 10000 open/close in 121.85 seconds: 82.07 ops/second llite.lustre-ffff8952c4f9c000.statahead_batch_max=0 llite.lustre-ffff8952c4f9c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.stats=clear mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m43.328s user 0m0.353s sys 0m19.756s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8952c4f9c000.statahead_batch_max=256 llite.lustre-ffff8952c4f9c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.stats=clear mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.295s user 0m0.323s sys 0m17.846s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8952c4f9c000.batch_stats= snapshot_time: 1787789066.811209818 secs.nsecs start_time: 1787789020.309250749 secs.nsecs elapsed_time: 46.501959069 secs.nsecs subreqs per batch batches %% cum %% 1: 192 59 59 2: 30 9 68 4: 33 10 79 8: 4 1 80 16: 4 1 81 32: 15 4 86 64: 9 2 89 128: 1 0 89 256: 34 10 100 mdc.lustre-MDT0001-mdc-ffff8952c4f9c000.batch_stats= snapshot_time: 1787789066.811287103 secs.nsecs start_time: 1787789020.309379820 secs.nsecs elapsed_time: 46.501907283 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-ffff8952c4f9c000.statahead_batch_max=64 llite.lustre-ffff8952c4f9c000.statahead_max=128