== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:52:03 (1787838723) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff92e130956800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92e130956800.batch_stats=0 llite.lustre-ffff92e130956800.statahead_max=32 llite.lustre-ffff92e130956800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff92e130956800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92e130956800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.74 seconds: 36.49 ops/second llite.lustre-ffff92e130956800.statahead_max=0 101 real 0m2.500s user 0m0.005s sys 0m0.340s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff92e130956800.statahead_max=32 llite.lustre-ffff92e130956800.statahead_max=32 101 real 0m1.378s user 0m0.004s sys 0m0.233s 'ls -l' 100 files with statahead: 1 sec statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 30 fname_total: 83 hit_total: 3673 miss_total: 1603 swrong=2 ewrong=2 - open/close 696 (time 1787838753.05 total 10.04 last 69.33) total: 900 open/close in 12.89 seconds: 69.80 ops/second llite.lustre-ffff92e130956800.statahead_max=0 1001 real 0m22.467s user 0m0.046s sys 0m3.269s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff92e130956800.statahead_max=32 llite.lustre-ffff92e130956800.statahead_max=32 1001 real 0m8.631s user 0m0.032s sys 0m1.556s 'ls -l' 1000 files with statahead: 8 sec statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 31 fname_total: 83 hit_total: 4670 miss_total: 1606 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff92e130956800.statahead_stats= statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 31 fname_total: 83 hit_total: 4670 miss_total: 1606 mdc.lustre-MDT0000-mdc-ffff92e130956800.batch_stats= snapshot_time: 1787838818.379999216 secs.nsecs start_time: 1787838729.268172133 secs.nsecs elapsed_time: 89.111827083 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 4 10 13 4: 2 5 18 8: 0 0 18 16: 24 64 83 32: 6 16 100 mdc.lustre-MDT0001-mdc-ffff92e130956800.batch_stats= snapshot_time: 1787838818.380125998 secs.nsecs start_time: 1787838729.268313718 secs.nsecs elapsed_time: 89.111812280 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 5 12 15 16: 9 22 37 32: 25 62 100 - open/close 847 (time 1787838831.64 total 10.00 last 84.66) - open/close 1588 (time 1787838841.65 total 20.01 last 74.03) - open/close 2339 (time 1787838851.65 total 30.01 last 75.10) - open/close 3112 (time 1787838861.65 total 40.02 last 77.26) - open/close 3875 (time 1787838871.66 total 50.03 last 76.24) - open/close 4546 (time 1787838881.66 total 60.03 last 67.08) - open/close 5374 (time 1787838891.67 total 70.04 last 82.75) - open/close 6094 (time 1787838901.68 total 80.05 last 71.89) - open/close 6866 (time 1787838911.69 total 90.06 last 77.13) - open/close 7626 (time 1787838921.70 total 100.07 last 75.93) - open/close 8504 (time 1787838931.71 total 110.08 last 87.72) - open/close 9276 (time 1787838941.73 total 120.10 last 77.06) - open/close 9961 (time 1787838951.74 total 130.11 last 68.43) total: 10000 open/close in 130.65 seconds: 76.54 ops/second llite.lustre-ffff92e130956800.statahead_batch_max=0 llite.lustre-ffff92e130956800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92e130956800.stats=clear mdc.lustre-MDT0001-mdc-ffff92e130956800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.425s user 0m0.372s sys 0m16.163s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff92e130956800.statahead_batch_max=32 llite.lustre-ffff92e130956800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92e130956800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff92e130956800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff92e130956800.stats=clear mdc.lustre-MDT0001-mdc-ffff92e130956800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m47.893s user 0m0.322s sys 0m14.588s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff92e130956800.batch_stats= snapshot_time: 1787839152.914593515 secs.nsecs start_time: 1787839033.296101302 secs.nsecs elapsed_time: 119.618492213 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-ffff92e130956800.batch_stats= snapshot_time: 1787839152.914667503 secs.nsecs start_time: 1787839033.296798297 secs.nsecs elapsed_time: 119.617869206 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff92e130956800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92e130956800.batch_stats=0 llite.lustre-ffff92e130956800.statahead_max=2048 llite.lustre-ffff92e130956800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff92e130956800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92e130956800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.33 seconds: 42.83 ops/second llite.lustre-ffff92e130956800.statahead_max=0 101 real 0m2.534s user 0m0.007s sys 0m0.332s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff92e130956800.statahead_max=2048 llite.lustre-ffff92e130956800.statahead_max=2048 101 real 0m0.774s user 0m0.006s sys 0m0.180s '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: 10080 miss_total: 20 swrong=0 ewrong=0 - open/close 605 (time 1787839438.90 total 10.00 last 60.47) total: 900 open/close in 14.15 seconds: 63.60 ops/second llite.lustre-ffff92e130956800.statahead_max=0 1001 real 0m27.381s user 0m0.033s sys 0m3.250s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff92e130956800.statahead_max=2048 llite.lustre-ffff92e130956800.statahead_max=2048 1001 real 0m6.152s user 0m0.028s sys 0m1.404s 'ls -l' 1000 files with statahead: 7 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: 20 seconds llite.lustre-ffff92e130956800.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-ffff92e130956800.batch_stats= snapshot_time: 1787839509.897095241 secs.nsecs start_time: 1787839155.648564140 secs.nsecs elapsed_time: 354.248531101 secs.nsecs subreqs per batch batches %% cum %% 1: 1 12 12 2: 3 37 50 4: 2 25 75 8: 0 0 75 16: 0 0 75 32: 0 0 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff92e130956800.batch_stats= snapshot_time: 1787839509.897202935 secs.nsecs start_time: 1787839155.648643875 secs.nsecs elapsed_time: 354.248559060 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 4 36 36 16: 1 9 45 32: 4 36 81 64: 0 0 81 128: 0 0 81 256: 2 18 100 - open/close 842 (time 1787839522.82 total 10.00 last 84.20) - open/close 1622 (time 1787839532.82 total 20.01 last 77.96) - open/close 2587 (time 1787839542.82 total 30.01 last 96.46) - open/close 3579 (time 1787839552.83 total 40.01 last 99.15) - open/close 4503 (time 1787839562.84 total 50.03 last 92.26) - open/close 5360 (time 1787839572.85 total 60.04 last 85.63) - open/close 6330 (time 1787839582.86 total 70.04 last 96.93) - open/close 7214 (time 1787839592.87 total 80.05 last 88.32) - open/close 8109 (time 1787839602.88 total 90.06 last 89.43) - open/close 8720 (time 1787839612.90 total 100.09 last 60.95) - open/close 9293 (time 1787839622.92 total 110.10 last 57.21) total: 10000 open/close in 120.05 seconds: 83.30 ops/second llite.lustre-ffff92e130956800.statahead_batch_max=0 llite.lustre-ffff92e130956800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92e130956800.stats=clear mdc.lustre-MDT0001-mdc-ffff92e130956800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.917s user 0m0.329s sys 0m14.544s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff92e130956800.statahead_batch_max=256 llite.lustre-ffff92e130956800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92e130956800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff92e130956800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff92e130956800.stats=clear mdc.lustre-MDT0001-mdc-ffff92e130956800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m48.102s user 0m0.288s sys 0m14.559s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff92e130956800.batch_stats= snapshot_time: 1787839760.225660143 secs.nsecs start_time: 1787839701.231636207 secs.nsecs elapsed_time: 58.994023936 secs.nsecs subreqs per batch batches %% cum %% 1: 89 38 38 2: 39 16 55 4: 23 9 65 8: 15 6 71 16: 10 4 75 32: 11 4 80 64: 7 3 83 128: 4 1 85 256: 34 14 100 mdc.lustre-MDT0001-mdc-ffff92e130956800.batch_stats= snapshot_time: 1787839760.225823528 secs.nsecs start_time: 1787839701.231713032 secs.nsecs elapsed_time: 58.994110496 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-ffff92e130956800.statahead_batch_max=64 llite.lustre-ffff92e130956800.statahead_max=128