== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:23:36 (1775877816) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff900b8348f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff900b8348f000.batch_stats=0 llite.lustre-ffff900b8348f000.statahead_max=32 llite.lustre-ffff900b8348f000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff900b8348f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff900b8348f000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 0.64 seconds: 157.24 ops/second llite.lustre-ffff900b8348f000.statahead_max=0 101 real 0m0.682s user 0m0.003s sys 0m0.267s ls -l 100 files without statahead: 1 sec llite.lustre-ffff900b8348f000.statahead_max=32 32 101 real 0m0.331s user 0m0.002s sys 0m0.183s ls -l 100 files with statahead: 1 sec statahead total: 97 statahead wrong: 1 agl total: 92 list_total: 32 fname_total: 65 hit_total: 24352 miss_total: 240 total: 900 open/close in 2.04 seconds: 441.06 ops/second llite.lustre-ffff900b8348f000.statahead_max=0 1001 real 0m6.110s user 0m0.034s sys 0m2.323s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff900b8348f000.statahead_max=32 32 1001 real 0m3.567s user 0m0.012s sys 0m1.762s ls -l 1000 files with statahead: 3 sec statahead total: 98 statahead wrong: 1 agl total: 93 list_total: 33 fname_total: 65 hit_total: 25351 miss_total: 241 - open/close 4889 (time 1775877846.05 total 10.00 last 488.89) total: 9000 open/close in 18.01 seconds: 499.85 ops/second llite.lustre-ffff900b8348f000.statahead_max=0 10001 real 1m1.803s user 0m0.257s sys 0m23.183s ls -l 10000 files without statahead: 62 sec llite.lustre-ffff900b8348f000.statahead_max=32 32 10001 real 0m38.754s user 0m0.156s sys 0m18.517s ls -l 10000 files with statahead: 39 sec statahead total: 99 statahead wrong: 1 agl total: 94 list_total: 34 fname_total: 65 hit_total: 35349 miss_total: 243 ls -l done rm -r /mnt/lustre/d123ad.sanity: 91 seconds llite.lustre-ffff900b8348f000.statahead_stats= statahead total: 99 statahead wrong: 1 agl total: 94 list_total: 34 fname_total: 65 hit_total: 35349 miss_total: 243 mdc.lustre-MDT0000-mdc-ffff900b8348f000.batch_stats= snapshot_time: 1775878059.405675027 secs.nsecs start_time: 1775877817.596803031 secs.nsecs elapsed_time: 241.808871996 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 0 0 4: 2 0 0 8: 6 1 2 16: 232 66 68 32: 109 31 100 mdc.lustre-MDT0001-mdc-ffff900b8348f000.batch_stats= snapshot_time: 1775878059.405742984 secs.nsecs start_time: 1775877817.596850623 secs.nsecs elapsed_time: 241.808892361 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 3 0 1 8: 4 1 2 16: 149 42 44 32: 197 55 100 - open/close 1227 (time 1775878071.30 total 10.00 last 122.68) - open/close 2684 (time 1775878081.32 total 20.01 last 145.51) - open/close 4515 (time 1775878091.32 total 30.02 last 183.00) - open/close 6209 (time 1775878101.32 total 40.02 last 169.35) - open/close 7512 (time 1775878111.34 total 50.03 last 130.15) - open/close 8821 (time 1775878121.34 total 60.04 last 130.86) total: 10000 open/close in 68.66 seconds: 145.65 ops/second llite.lustre-ffff900b8348f000.statahead_batch_max=0 llite.lustre-ffff900b8348f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff900b8348f000.stats=clear mdc.lustre-MDT0001-mdc-ffff900b8348f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.431s user 0m0.274s sys 0m30.150s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff900b8348f000.statahead_batch_max=32 llite.lustre-ffff900b8348f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff900b8348f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff900b8348f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff900b8348f000.stats=clear mdc.lustre-MDT0001-mdc-ffff900b8348f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.782s user 0m0.229s sys 0m17.190s batched statahead RPC= hit count=9978 mdc.lustre-MDT0000-mdc-ffff900b8348f000.batch_stats= snapshot_time: 1775878224.593733705 secs.nsecs start_time: 1775878167.587991222 secs.nsecs elapsed_time: 57.005742483 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 mdc.lustre-MDT0001-mdc-ffff900b8348f000.batch_stats= snapshot_time: 1775878224.593825280 secs.nsecs start_time: 1775878167.588080040 secs.nsecs elapsed_time: 57.005745240 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff900b8348f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff900b8348f000.batch_stats=0 llite.lustre-ffff900b8348f000.statahead_max=2048 llite.lustre-ffff900b8348f000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff900b8348f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff900b8348f000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 1.15 seconds: 86.88 ops/second llite.lustre-ffff900b8348f000.statahead_max=0 101 real 0m1.240s user 0m0.006s sys 0m0.304s ls -l 100 files without statahead: 2 sec llite.lustre-ffff900b8348f000.statahead_max=2048 2048 101 real 0m0.455s user 0m0.001s sys 0m0.213s 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: 10077 miss_total: 23 total: 900 open/close in 5.15 seconds: 174.92 ops/second llite.lustre-ffff900b8348f000.statahead_max=0 1001 real 0m11.258s user 0m0.032s sys 0m2.821s ls -l 1000 files without statahead: 11 sec llite.lustre-ffff900b8348f000.statahead_max=2048 2048 1001 real 0m4.418s user 0m0.019s sys 0m1.618s ls -l 1000 files with statahead: 4 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11076 miss_total: 24 - open/close 1643 (time 1775878424.77 total 10.00 last 164.23) total: 3000 open/close in 18.03 seconds: 166.42 ops/second llite.lustre-ffff900b8348f000.statahead_max=0 4001 real 0m48.914s user 0m0.121s sys 0m11.256s ls -l 4000 files without statahead: 49 sec llite.lustre-ffff900b8348f000.statahead_max=2048 2048 4001 real 0m13.512s user 0m0.079s sys 0m7.357s ls -l 4000 files with statahead: 14 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 15075 miss_total: 25 ls -l done rm -r /mnt/lustre/d123ad.sanity: 37 seconds llite.lustre-ffff900b8348f000.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 15075 miss_total: 25 mdc.lustre-MDT0000-mdc-ffff900b8348f000.batch_stats= snapshot_time: 1775878540.866976319 secs.nsecs start_time: 1775878225.767018559 secs.nsecs elapsed_time: 315.099957760 secs.nsecs subreqs per batch batches % cum % 1: 30 45 45 2: 13 19 65 4: 5 7 72 8: 2 3 75 16: 2 3 78 32: 1 1 80 64: 1 1 81 128: 0 0 81 256: 12 18 100 mdc.lustre-MDT0001-mdc-ffff900b8348f000.batch_stats= snapshot_time: 1775878540.867140278 secs.nsecs start_time: 1775878225.767161719 secs.nsecs elapsed_time: 315.099978559 secs.nsecs subreqs per batch batches % cum % 1: 22 44 44 2: 3 6 51 4: 5 10 61 8: 4 8 69 16: 0 0 69 32: 1 2 71 64: 2 4 75 128: 1 2 77 256: 11 22 100 - open/close 1794 (time 1775878551.82 total 10.01 last 179.28) - open/close 3633 (time 1775878561.82 total 20.01 last 183.88) - open/close 5708 (time 1775878571.82 total 30.01 last 207.39) - open/close 7654 (time 1775878581.82 total 40.02 last 194.54) - open/close 9167 (time 1775878591.83 total 50.02 last 151.24) total: 10000 open/close in 54.98 seconds: 181.89 ops/second llite.lustre-ffff900b8348f000.statahead_batch_max=0 llite.lustre-ffff900b8348f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff900b8348f000.stats=clear mdc.lustre-MDT0001-mdc-ffff900b8348f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.241s user 0m0.238s sys 0m24.359s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff900b8348f000.statahead_batch_max=256 llite.lustre-ffff900b8348f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff900b8348f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff900b8348f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff900b8348f000.stats=clear mdc.lustre-MDT0001-mdc-ffff900b8348f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m28.239s user 0m0.214s sys 0m20.095s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff900b8348f000.batch_stats= snapshot_time: 1775878669.245954465 secs.nsecs start_time: 1775878634.187469090 secs.nsecs elapsed_time: 35.058485375 secs.nsecs subreqs per batch batches % cum % 1: 255 61 61 2: 56 13 74 4: 41 9 84 8: 5 1 85 16: 4 0 86 32: 15 3 89 64: 8 1 91 128: 0 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff900b8348f000.batch_stats= snapshot_time: 1775878669.246018982 secs.nsecs start_time: 1775878634.187614984 secs.nsecs elapsed_time: 35.058403998 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff900b8348f000.statahead_batch_max=64 llite.lustre-ffff900b8348f000.statahead_max=128