== sanity test 123ad: Verify batching statahead works correctly ========================================================== 05:53:53 (1786182833) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.batch_stats=0 llite.lustre-ffff8be6cabaf800.statahead_max=32 llite.lustre-ffff8be6cabaf800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.batch_stats=0 total: 100 open/close in 2.06 seconds: 48.50 ops/second llite.lustre-ffff8be6cabaf800.statahead_max=0 101 real 0m2.286s user 0m0.004s sys 0m0.340s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8be6cabaf800.statahead_max=32 llite.lustre-ffff8be6cabaf800.statahead_max=32 101 real 0m1.085s user 0m0.004s sys 0m0.112s 'ls -l' 100 files with statahead: 1 sec statahead total: 132 statahead wrong: 2 agl total: 126 list_total: 29 fname_total: 93 hit_total: 4000 miss_total: 1204 swrong=2 ewrong=2 - open/close 877 (time 1786182860.54 total 10.00 last 87.69) total: 900 open/close in 10.28 seconds: 87.54 ops/second llite.lustre-ffff8be6cabaf800.statahead_max=0 1001 real 0m17.007s user 0m0.036s sys 0m2.964s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff8be6cabaf800.statahead_max=32 llite.lustre-ffff8be6cabaf800.statahead_max=32 1001 real 0m9.020s user 0m0.029s sys 0m1.423s 'ls -l' 1000 files with statahead: 9 sec statahead total: 133 statahead wrong: 2 agl total: 127 list_total: 30 fname_total: 93 hit_total: 4999 miss_total: 1205 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff8be6cabaf800.statahead_stats= statahead total: 133 statahead wrong: 2 agl total: 127 list_total: 30 fname_total: 93 hit_total: 4999 miss_total: 1205 mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.batch_stats= snapshot_time: 1786182917.155044141 secs.nsecs start_time: 1786182838.748105325 secs.nsecs elapsed_time: 78.406938816 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 860 (time 1786182929.50 total 10.01 last 85.94) - open/close 1720 (time 1786182939.51 total 20.02 last 85.90) - open/close 2609 (time 1786182949.51 total 30.02 last 88.89) - open/close 3484 (time 1786182959.52 total 40.02 last 87.49) - open/close 4344 (time 1786182969.53 total 50.03 last 85.91) - open/close 5237 (time 1786182979.53 total 60.04 last 89.24) - open/close 6052 (time 1786182989.54 total 70.05 last 81.41) - open/close 6944 (time 1786182999.55 total 80.05 last 89.16) - open/close 7743 (time 1786183009.55 total 90.06 last 79.87) - open/close 8646 (time 1786183019.56 total 100.06 last 90.23) - open/close 9516 (time 1786183029.56 total 110.07 last 86.97) total: 10000 open/close in 115.80 seconds: 86.35 ops/second llite.lustre-ffff8be6cabaf800.statahead_batch_max=0 llite.lustre-ffff8be6cabaf800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.103s user 0m0.296s sys 0m14.734s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8be6cabaf800.statahead_batch_max=32 llite.lustre-ffff8be6cabaf800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m38.240s user 0m0.275s sys 0m13.884s batched statahead RPC= hit count=9991 mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.batch_stats= snapshot_time: 1786183214.526962454 secs.nsecs start_time: 1786183102.736249993 secs.nsecs elapsed_time: 111.790712461 secs.nsecs subreqs per batch batches %% cum %% 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.batch_stats=0 llite.lustre-ffff8be6cabaf800.statahead_max=2048 llite.lustre-ffff8be6cabaf800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.batch_stats=0 total: 100 open/close in 2.48 seconds: 40.40 ops/second llite.lustre-ffff8be6cabaf800.statahead_max=0 101 real 0m1.742s user 0m0.003s sys 0m0.307s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8be6cabaf800.statahead_max=2048 llite.lustre-ffff8be6cabaf800.statahead_max=2048 101 real 0m0.771s user 0m0.004s sys 0m0.164s '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: 10090 miss_total: 10 swrong=0 ewrong=0 - open/close 855 (time 1786183505.66 total 10.00 last 85.50) total: 900 open/close in 10.50 seconds: 85.71 ops/second llite.lustre-ffff8be6cabaf800.statahead_max=0 1001 real 0m25.488s user 0m0.034s sys 0m3.094s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff8be6cabaf800.statahead_max=2048 llite.lustre-ffff8be6cabaf800.statahead_max=2048 1001 real 0m6.553s user 0m0.035s sys 0m1.449s '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: 11089 miss_total: 11 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff8be6cabaf800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11089 miss_total: 11 mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.batch_stats= snapshot_time: 1786183573.272939063 secs.nsecs start_time: 1786183216.744326710 secs.nsecs elapsed_time: 356.528612353 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 0 0 40 64: 1 10 50 128: 1 10 60 256: 4 40 100 - open/close 675 (time 1786183587.26 total 10.00 last 67.48) - open/close 1429 (time 1786183597.26 total 20.01 last 75.36) - open/close 2228 (time 1786183607.28 total 30.02 last 79.80) - open/close 3162 (time 1786183617.28 total 40.02 last 93.38) - open/close 4136 (time 1786183627.29 total 50.03 last 97.34) - open/close 4966 (time 1786183637.29 total 60.03 last 83.00) - open/close 5757 (time 1786183647.29 total 70.04 last 79.06) - open/close 6575 (time 1786183657.29 total 80.04 last 81.79) - open/close 7421 (time 1786183667.30 total 90.04 last 84.58) - open/close 8218 (time 1786183677.31 total 100.05 last 79.61) - open/close 8921 (time 1786183687.33 total 110.07 last 70.16) - open/close 9770 (time 1786183697.33 total 120.08 last 84.84) total: 10000 open/close in 122.82 seconds: 81.42 ops/second llite.lustre-ffff8be6cabaf800.statahead_batch_max=0 llite.lustre-ffff8be6cabaf800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.393s user 0m0.311s sys 0m15.552s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8be6cabaf800.statahead_batch_max=256 llite.lustre-ffff8be6cabaf800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.910s user 0m0.292s sys 0m14.932s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8be6cabaf800.batch_stats= snapshot_time: 1786183831.466042348 secs.nsecs start_time: 1786183765.382596992 secs.nsecs elapsed_time: 66.083445356 secs.nsecs subreqs per batch batches %% cum %% 1: 178 51 51 2: 57 16 67 4: 41 11 79 8: 5 1 80 16: 15 4 84 32: 12 3 88 64: 6 1 89 128: 0 0 89 256: 35 10 100 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-ffff8be6cabaf800.statahead_batch_max=64 llite.lustre-ffff8be6cabaf800.statahead_max=128