== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:07:39 (1786374459) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff95f2c6816000.batch_stats=0 llite.lustre-ffff95f2c6816000.statahead_max=32 llite.lustre-ffff95f2c6816000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff95f2c6816000.batch_stats=0 total: 100 open/close in 2.14 seconds: 46.82 ops/second llite.lustre-ffff95f2c6816000.statahead_max=0 101 real 0m2.065s user 0m0.005s sys 0m0.350s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff95f2c6816000.statahead_max=32 llite.lustre-ffff95f2c6816000.statahead_max=32 101 real 0m0.875s user 0m0.008s sys 0m0.205s 'ls -l' 100 files with statahead: 1 sec statahead total: 93 statahead wrong: 2 agl total: 89 list_total: 29 fname_total: 63 hit_total: 3839 miss_total: 1584 swrong=2 ewrong=2 - open/close 834 (time 1786374482.77 total 10.01 last 83.34) total: 900 open/close in 10.84 seconds: 83.06 ops/second llite.lustre-ffff95f2c6816000.statahead_max=0 1001 real 0m18.237s user 0m0.030s sys 0m3.041s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff95f2c6816000.statahead_max=32 llite.lustre-ffff95f2c6816000.statahead_max=32 1001 real 0m7.648s user 0m0.024s sys 0m1.569s 'ls -l' 1000 files with statahead: 8 sec statahead total: 94 statahead wrong: 2 agl total: 90 list_total: 30 fname_total: 63 hit_total: 4835 miss_total: 1588 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 15 seconds llite.lustre-ffff95f2c6816000.statahead_stats= statahead total: 94 statahead wrong: 2 agl total: 90 list_total: 30 fname_total: 63 hit_total: 4835 miss_total: 1588 mdc.lustre-MDT0000-mdc-ffff95f2c6816000.batch_stats= snapshot_time: 1786374532.258424798 secs.nsecs start_time: 1786374462.941727563 secs.nsecs elapsed_time: 69.316697235 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 1328 (time 1786374543.70 total 10.01 last 132.71) - open/close 2974 (time 1786374553.71 total 20.01 last 164.51) - open/close 4288 (time 1786374563.71 total 30.01 last 131.40) - open/close 5860 (time 1786374573.71 total 40.01 last 157.17) - open/close 7733 (time 1786374583.72 total 50.03 last 187.08) - open/close 9141 (time 1786374593.72 total 60.03 last 140.77) total: 10000 open/close in 67.73 seconds: 147.66 ops/second llite.lustre-ffff95f2c6816000.statahead_batch_max=0 llite.lustre-ffff95f2c6816000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95f2c6816000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.077s user 0m0.245s sys 0m25.998s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff95f2c6816000.statahead_batch_max=32 llite.lustre-ffff95f2c6816000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95f2c6816000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff95f2c6816000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.185s user 0m0.246s sys 0m17.284s batched statahead RPC= hit count=9986 mdc.lustre-MDT0000-mdc-ffff95f2c6816000.batch_stats= snapshot_time: 1786374716.223604026 secs.nsecs start_time: 1786374641.211439205 secs.nsecs elapsed_time: 75.012164821 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff95f2c6816000.batch_stats=0 llite.lustre-ffff95f2c6816000.statahead_max=2048 llite.lustre-ffff95f2c6816000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff95f2c6816000.batch_stats=0 total: 100 open/close in 1.85 seconds: 53.93 ops/second llite.lustre-ffff95f2c6816000.statahead_max=0 101 real 0m1.494s user 0m0.004s sys 0m0.309s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff95f2c6816000.statahead_max=2048 llite.lustre-ffff95f2c6816000.statahead_max=2048 101 real 0m0.445s user 0m0.001s sys 0m0.187s '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: 10085 miss_total: 15 swrong=0 ewrong=0 total: 900 open/close in 8.14 seconds: 110.56 ops/second llite.lustre-ffff95f2c6816000.statahead_max=0 1001 real 0m14.216s user 0m0.046s sys 0m3.161s 'ls -l' 1000 files without statahead: 14 sec llite.lustre-ffff95f2c6816000.statahead_max=2048 llite.lustre-ffff95f2c6816000.statahead_max=2048 1001 real 0m5.340s user 0m0.022s sys 0m1.829s '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: 11084 miss_total: 16 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 13 seconds llite.lustre-ffff95f2c6816000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11084 miss_total: 16 mdc.lustre-MDT0000-mdc-ffff95f2c6816000.batch_stats= snapshot_time: 1786374975.776877251 secs.nsecs start_time: 1786374717.804647540 secs.nsecs elapsed_time: 257.972229711 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 2 18 36 32: 2 18 54 64: 0 0 54 128: 1 9 63 256: 4 36 100 - open/close 1260 (time 1786374986.89 total 10.00 last 125.97) - open/close 2520 (time 1786374996.90 total 20.01 last 125.96) - open/close 3769 (time 1786375006.90 total 30.01 last 124.80) - open/close 5017 (time 1786375016.91 total 40.02 last 124.77) - open/close 6083 (time 1786375026.91 total 50.02 last 106.57) - open/close 7259 (time 1786375036.91 total 60.02 last 117.54) - open/close 8378 (time 1786375046.92 total 70.03 last 111.89) - open/close 9645 (time 1786375056.92 total 80.03 last 126.67) total: 10000 open/close in 82.81 seconds: 120.75 ops/second llite.lustre-ffff95f2c6816000.statahead_batch_max=0 llite.lustre-ffff95f2c6816000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95f2c6816000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.911s user 0m0.280s sys 0m29.190s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff95f2c6816000.statahead_batch_max=256 llite.lustre-ffff95f2c6816000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95f2c6816000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff95f2c6816000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.311s user 0m0.219s sys 0m19.736s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff95f2c6816000.batch_stats= snapshot_time: 1786375142.025262770 secs.nsecs start_time: 1786375105.352077698 secs.nsecs elapsed_time: 36.673185072 secs.nsecs subreqs per batch batches %% cum %% 1: 466 66 66 2: 92 13 79 4: 69 9 89 8: 11 1 91 16: 7 1 92 32: 16 2 94 64: 3 0 95 128: 1 0 95 256: 33 4 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-ffff95f2c6816000.statahead_batch_max=64 llite.lustre-ffff95f2c6816000.statahead_max=128