== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:26:40 (1787466400) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.batch_stats=0 llite.lustre-ffff8ab9c8d1f000.statahead_max=32 llite.lustre-ffff8ab9c8d1f000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.10 seconds: 32.21 ops/second llite.lustre-ffff8ab9c8d1f000.statahead_max=0 101 real 0m2.308s user 0m0.008s sys 0m0.314s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8ab9c8d1f000.statahead_max=32 llite.lustre-ffff8ab9c8d1f000.statahead_max=32 101 real 0m1.082s user 0m0.005s sys 0m0.147s 'ls -l' 100 files with statahead: 1 sec statahead total: 116 statahead wrong: 2 agl total: 111 list_total: 30 fname_total: 80 hit_total: 4318 miss_total: 1272 swrong=2 ewrong=2 - open/close 761 (time 1787466430.71 total 10.01 last 76.02) total: 900 open/close in 12.16 seconds: 74.02 ops/second llite.lustre-ffff8ab9c8d1f000.statahead_max=0 1001 real 0m29.821s user 0m0.034s sys 0m2.968s 'ls -l' 1000 files without statahead: 30 sec llite.lustre-ffff8ab9c8d1f000.statahead_max=32 llite.lustre-ffff8ab9c8d1f000.statahead_max=32 1001 real 0m9.908s user 0m0.026s sys 0m1.398s 'ls -l' 1000 files with statahead: 9 sec statahead total: 117 statahead wrong: 2 agl total: 112 list_total: 31 fname_total: 80 hit_total: 5314 miss_total: 1276 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff8ab9c8d1f000.statahead_stats= statahead total: 117 statahead wrong: 2 agl total: 112 list_total: 31 fname_total: 80 hit_total: 5314 miss_total: 1276 mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.batch_stats= snapshot_time: 1787466508.421742321 secs.nsecs start_time: 1787466406.070569298 secs.nsecs elapsed_time: 102.351173023 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 3 7 10 8: 2 5 15 16: 19 48 64 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.batch_stats= snapshot_time: 1787466508.421834452 secs.nsecs start_time: 1787466406.070712387 secs.nsecs elapsed_time: 102.351122065 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 2 5 10 8: 2 5 15 16: 21 52 67 32: 13 32 100 - open/close 820 (time 1787466521.35 total 10.00 last 81.99) - open/close 1616 (time 1787466531.36 total 20.01 last 79.56) - open/close 2318 (time 1787466541.37 total 30.02 last 70.11) - open/close 3041 (time 1787466551.38 total 40.03 last 72.22) - open/close 3753 (time 1787466561.39 total 50.03 last 71.18) - open/close 4490 (time 1787466571.39 total 60.04 last 73.65) - open/close 5482 (time 1787466581.40 total 70.05 last 99.12) - open/close 6360 (time 1787466591.41 total 80.06 last 87.72) - open/close 7142 (time 1787466601.44 total 90.08 last 77.99) - open/close 7846 (time 1787466611.45 total 100.09 last 70.32) - open/close 8710 (time 1787466621.45 total 110.10 last 86.34) - open/close 9608 (time 1787466631.45 total 120.10 last 89.80) total: 10000 open/close in 124.97 seconds: 80.02 ops/second llite.lustre-ffff8ab9c8d1f000.statahead_batch_max=0 llite.lustre-ffff8ab9c8d1f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m11.099s user 0m0.341s sys 0m14.139s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ab9c8d1f000.statahead_batch_max=32 llite.lustre-ffff8ab9c8d1f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.stats=clear ls -l files in d123ad.sanity: 10001 real 2m2.046s user 0m0.310s sys 0m13.861s batched statahead RPC= hit count=9973 mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.batch_stats= snapshot_time: 1787466853.439668281 secs.nsecs start_time: 1787466717.782446791 secs.nsecs elapsed_time: 135.657221490 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.batch_stats= snapshot_time: 1787466853.442718617 secs.nsecs start_time: 1787466717.782532342 secs.nsecs elapsed_time: 135.660186275 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.batch_stats=0 llite.lustre-ffff8ab9c8d1f000.statahead_max=2048 llite.lustre-ffff8ab9c8d1f000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.30 seconds: 43.57 ops/second llite.lustre-ffff8ab9c8d1f000.statahead_max=0 101 real 0m2.523s user 0m0.004s sys 0m0.329s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8ab9c8d1f000.statahead_max=2048 llite.lustre-ffff8ab9c8d1f000.statahead_max=2048 101 real 0m1.181s user 0m0.006s sys 0m0.170s '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: 10072 miss_total: 28 swrong=0 ewrong=0 - open/close 780 (time 1787467149.73 total 10.01 last 77.96) total: 900 open/close in 11.84 seconds: 75.99 ops/second llite.lustre-ffff8ab9c8d1f000.statahead_max=0 1001 real 0m27.719s user 0m0.044s sys 0m2.905s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff8ab9c8d1f000.statahead_max=2048 llite.lustre-ffff8ab9c8d1f000.statahead_max=2048 1001 real 0m9.954s user 0m0.025s sys 0m1.400s 'ls -l' 1000 files with statahead: 10 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11071 miss_total: 29 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff8ab9c8d1f000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11071 miss_total: 29 mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.batch_stats= snapshot_time: 1787467225.636903078 secs.nsecs start_time: 1787466856.281739607 secs.nsecs elapsed_time: 369.355163471 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 4 44 55 16: 0 0 55 32: 1 11 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.batch_stats= snapshot_time: 1787467225.636977502 secs.nsecs start_time: 1787466856.281907465 secs.nsecs elapsed_time: 369.355070037 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 11 11 4: 2 22 33 8: 1 11 44 16: 1 11 55 32: 2 22 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 - open/close 841 (time 1787467238.73 total 10.00 last 84.07) - open/close 1432 (time 1787467248.74 total 20.02 last 59.03) - open/close 2103 (time 1787467258.74 total 30.02 last 67.06) - open/close 2690 (time 1787467268.75 total 40.03 last 58.64) - open/close 3332 (time 1787467278.75 total 50.03 last 64.19) - open/close 4093 (time 1787467288.76 total 60.04 last 76.06) - open/close 4836 (time 1787467298.77 total 70.05 last 74.22) - open/close 5546 (time 1787467308.78 total 80.06 last 70.95) - open/close 6099 (time 1787467318.79 total 90.07 last 55.25) - open/close 6946 (time 1787467328.79 total 100.07 last 84.69) - open/close 7788 (time 1787467338.80 total 110.07 last 84.13) - open/close 8671 (time 1787467348.80 total 120.07 last 88.30) - open/close 9412 (time 1787467358.80 total 130.08 last 74.06) total: 10000 open/close in 136.97 seconds: 73.01 ops/second llite.lustre-ffff8ab9c8d1f000.statahead_batch_max=0 llite.lustre-ffff8ab9c8d1f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m12.207s user 0m0.301s sys 0m14.100s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ab9c8d1f000.statahead_batch_max=256 llite.lustre-ffff8ab9c8d1f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.308s user 0m0.296s sys 0m13.890s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8ab9c8d1f000.batch_stats= snapshot_time: 1787467525.014198388 secs.nsecs start_time: 1787467447.876171569 secs.nsecs elapsed_time: 77.138026819 secs.nsecs subreqs per batch batches %% cum %% 1: 103 38 38 2: 50 18 57 4: 32 11 69 8: 17 6 75 16: 7 2 77 32: 15 5 83 64: 9 3 86 128: 1 0 87 256: 34 12 100 mdc.lustre-MDT0001-mdc-ffff8ab9c8d1f000.batch_stats= snapshot_time: 1787467525.014262035 secs.nsecs start_time: 1787467447.876306959 secs.nsecs elapsed_time: 77.137955076 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-ffff8ab9c8d1f000.statahead_batch_max=64 llite.lustre-ffff8ab9c8d1f000.statahead_max=128