== sanity test 123ad: Verify batching statahead works correctly ========================================================== 08:52:22 (1786107142) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.batch_stats=0 llite.lustre-ffff8ed0e62a6000.statahead_max=32 llite.lustre-ffff8ed0e62a6000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.24 seconds: 44.56 ops/second llite.lustre-ffff8ed0e62a6000.statahead_max=0 101 real 0m2.578s user 0m0.004s sys 0m0.342s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8ed0e62a6000.statahead_max=32 llite.lustre-ffff8ed0e62a6000.statahead_max=32 101 real 0m1.209s user 0m0.002s sys 0m0.189s 'ls -l' 100 files with statahead: 1 sec statahead total: 115 statahead wrong: 2 agl total: 110 list_total: 30 fname_total: 82 hit_total: 4005 miss_total: 1409 swrong=2 ewrong=2 - open/close 768 (time 1786107170.12 total 10.00 last 76.79) total: 900 open/close in 12.17 seconds: 73.93 ops/second llite.lustre-ffff8ed0e62a6000.statahead_max=0 1001 real 0m21.297s user 0m0.036s sys 0m3.266s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff8ed0e62a6000.statahead_max=32 llite.lustre-ffff8ed0e62a6000.statahead_max=32 1001 real 0m8.096s user 0m0.025s sys 0m1.526s 'ls -l' 1000 files with statahead: 8 sec statahead total: 116 statahead wrong: 2 agl total: 111 list_total: 31 fname_total: 82 hit_total: 5003 miss_total: 1411 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff8ed0e62a6000.statahead_stats= statahead total: 116 statahead wrong: 2 agl total: 111 list_total: 31 fname_total: 82 hit_total: 5003 miss_total: 1411 mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.batch_stats= snapshot_time: 1786107233.459893453 secs.nsecs start_time: 1786107147.058420223 secs.nsecs elapsed_time: 86.401473230 secs.nsecs subreqs per batch batches %% cum %% 1: 4 10 10 2: 1 2 13 4: 1 2 15 8: 2 5 21 16: 24 63 84 32: 6 15 100 mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.batch_stats= snapshot_time: 1786107233.459976620 secs.nsecs start_time: 1786107147.058499903 secs.nsecs elapsed_time: 86.401476717 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 1 2 7 8: 3 7 15 16: 9 22 37 32: 25 62 100 - open/close 1011 (time 1786107246.14 total 10.01 last 101.04) - open/close 2046 (time 1786107256.14 total 20.01 last 103.43) - open/close 2996 (time 1786107266.15 total 30.02 last 94.91) - open/close 3874 (time 1786107276.16 total 40.03 last 87.75) - open/close 4861 (time 1786107286.16 total 50.03 last 98.68) - open/close 5858 (time 1786107296.17 total 60.04 last 99.57) - open/close 6828 (time 1786107306.18 total 70.05 last 96.93) - open/close 7597 (time 1786107316.19 total 80.06 last 76.83) - open/close 8236 (time 1786107326.21 total 90.08 last 63.74) - open/close 8877 (time 1786107336.22 total 100.09 last 64.08) - open/close 9615 (time 1786107346.22 total 110.09 last 73.74) total: 10000 open/close in 114.74 seconds: 87.16 ops/second llite.lustre-ffff8ed0e62a6000.statahead_batch_max=0 llite.lustre-ffff8ed0e62a6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m12.265s user 0m0.303s sys 0m16.276s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ed0e62a6000.statahead_batch_max=32 llite.lustre-ffff8ed0e62a6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m44.405s user 0m0.317s sys 0m15.376s batched statahead RPC= hit count=9978 mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.batch_stats= snapshot_time: 1786107552.748105480 secs.nsecs start_time: 1786107434.253322442 secs.nsecs elapsed_time: 118.494783038 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.batch_stats= snapshot_time: 1786107552.748167750 secs.nsecs start_time: 1786107434.253482513 secs.nsecs elapsed_time: 118.494685237 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.batch_stats=0 llite.lustre-ffff8ed0e62a6000.statahead_max=2048 llite.lustre-ffff8ed0e62a6000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.21 seconds: 45.32 ops/second llite.lustre-ffff8ed0e62a6000.statahead_max=0 101 real 0m1.783s user 0m0.004s sys 0m0.321s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8ed0e62a6000.statahead_max=2048 llite.lustre-ffff8ed0e62a6000.statahead_max=2048 101 real 0m0.996s user 0m0.002s sys 0m0.194s '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: 10077 miss_total: 23 swrong=0 ewrong=0 - open/close 725 (time 1786107852.98 total 10.01 last 72.46) total: 900 open/close in 12.70 seconds: 70.88 ops/second llite.lustre-ffff8ed0e62a6000.statahead_max=0 1001 real 0m19.754s user 0m0.033s sys 0m3.108s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff8ed0e62a6000.statahead_max=2048 llite.lustre-ffff8ed0e62a6000.statahead_max=2048 1001 real 0m9.025s user 0m0.027s sys 0m1.500s 'ls -l' 1000 files with statahead: 9 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11076 miss_total: 24 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff8ed0e62a6000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11076 miss_total: 24 mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.batch_stats= snapshot_time: 1786107916.180217918 secs.nsecs start_time: 1786107555.082348022 secs.nsecs elapsed_time: 361.097869896 secs.nsecs subreqs per batch batches %% cum %% 1: 2 25 25 2: 0 0 25 4: 2 25 50 8: 2 25 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-ffff8ed0e62a6000.batch_stats= snapshot_time: 1786107916.180287431 secs.nsecs start_time: 1786107555.082507540 secs.nsecs elapsed_time: 361.097779891 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 10 10 4: 1 10 20 8: 2 20 40 16: 1 10 50 32: 2 20 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 854 (time 1786107929.02 total 10.01 last 85.35) - open/close 1624 (time 1786107939.02 total 20.01 last 76.95) - open/close 2395 (time 1786107949.03 total 30.02 last 77.04) - open/close 3283 (time 1786107959.04 total 40.02 last 88.77) - open/close 4288 (time 1786107969.04 total 50.03 last 100.43) - open/close 5136 (time 1786107979.04 total 60.03 last 84.79) - open/close 6064 (time 1786107989.05 total 70.04 last 92.74) - open/close 7061 (time 1786107999.05 total 80.04 last 99.69) - open/close 8061 (time 1786108009.06 total 90.05 last 99.91) - open/close 9124 (time 1786108019.07 total 100.05 last 106.24) total: 10000 open/close in 108.64 seconds: 92.05 ops/second llite.lustre-ffff8ed0e62a6000.statahead_batch_max=0 llite.lustre-ffff8ed0e62a6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m7.412s user 0m0.322s sys 0m16.302s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ed0e62a6000.statahead_batch_max=256 llite.lustre-ffff8ed0e62a6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.675s user 0m0.335s sys 0m16.359s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8ed0e62a6000.batch_stats= snapshot_time: 1786108185.878341981 secs.nsecs start_time: 1786108105.756890376 secs.nsecs elapsed_time: 80.121451605 secs.nsecs subreqs per batch batches %% cum %% 1: 252 49 49 2: 87 16 65 4: 71 13 79 8: 36 7 86 16: 7 1 88 32: 21 4 92 64: 7 1 93 128: 1 0 93 256: 32 6 100 mdc.lustre-MDT0001-mdc-ffff8ed0e62a6000.batch_stats= snapshot_time: 1786108185.878447274 secs.nsecs start_time: 1786108105.756974659 secs.nsecs elapsed_time: 80.121472615 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-ffff8ed0e62a6000.statahead_batch_max=64 llite.lustre-ffff8ed0e62a6000.statahead_max=128