== sanity test 123ad: Verify batching statahead works correctly ========================================================== 12:20:57 (1787588457) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff923a60799000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff923a60799000.batch_stats=0 llite.lustre-ffff923a60799000.statahead_max=32 llite.lustre-ffff923a60799000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff923a60799000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff923a60799000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 3.28 seconds: 30.50 ops/second llite.lustre-ffff923a60799000.statahead_max=0 101 real 0m2.006s user 0m0.003s sys 0m0.313s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff923a60799000.statahead_max=32 llite.lustre-ffff923a60799000.statahead_max=32 101 real 0m1.060s user 0m0.004s sys 0m0.170s 'ls -l' 100 files with statahead: 1 sec statahead total: 137 statahead wrong: 1 agl total: 131 list_total: 31 fname_total: 101 hit_total: 3975 miss_total: 255 swrong=1 ewrong=1 - open/close 724 (time 1787588486.03 total 10.01 last 72.34) total: 900 open/close in 12.59 seconds: 71.50 ops/second llite.lustre-ffff923a60799000.statahead_max=0 1001 real 0m22.836s user 0m0.036s sys 0m3.006s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff923a60799000.statahead_max=32 llite.lustre-ffff923a60799000.statahead_max=32 1001 real 0m8.545s user 0m0.023s sys 0m1.473s 'ls -l' 1000 files with statahead: 8 sec statahead total: 138 statahead wrong: 1 agl total: 132 list_total: 32 fname_total: 101 hit_total: 4972 miss_total: 258 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff923a60799000.statahead_stats= statahead total: 138 statahead wrong: 1 agl total: 132 list_total: 32 fname_total: 101 hit_total: 4972 miss_total: 258 mdc.lustre-MDT0000-mdc-ffff923a60799000.batch_stats= snapshot_time: 1787588553.895246781 secs.nsecs start_time: 1787588462.398719966 secs.nsecs elapsed_time: 91.496526815 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-ffff923a60799000.batch_stats= snapshot_time: 1787588553.895322526 secs.nsecs start_time: 1787588462.398981867 secs.nsecs elapsed_time: 91.496340659 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 2 5 12 16: 13 33 46 32: 21 53 100 - open/close 784 (time 1787588566.50 total 10.00 last 78.40) - open/close 1543 (time 1787588576.50 total 20.00 last 75.87) - open/close 2322 (time 1787588586.50 total 30.01 last 77.89) - open/close 3164 (time 1787588596.52 total 40.02 last 84.08) - open/close 3905 (time 1787588606.53 total 50.03 last 74.01) - open/close 4639 (time 1787588616.54 total 60.04 last 73.32) - open/close 5412 (time 1787588626.54 total 70.05 last 77.28) - open/close 6187 (time 1787588636.54 total 80.05 last 77.49) - open/close 6976 (time 1787588646.55 total 90.05 last 78.88) - open/close 7734 (time 1787588656.57 total 100.07 last 75.65) - open/close 8571 (time 1787588666.57 total 110.08 last 83.64) - open/close 9353 (time 1787588676.59 total 120.09 last 78.11) total: 10000 open/close in 129.07 seconds: 77.48 ops/second llite.lustre-ffff923a60799000.statahead_batch_max=0 llite.lustre-ffff923a60799000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff923a60799000.stats=clear mdc.lustre-MDT0001-mdc-ffff923a60799000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.949s user 0m0.325s sys 0m15.712s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff923a60799000.statahead_batch_max=32 llite.lustre-ffff923a60799000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff923a60799000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff923a60799000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff923a60799000.stats=clear mdc.lustre-MDT0001-mdc-ffff923a60799000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m41.940s user 0m0.314s sys 0m14.163s batched statahead RPC= hit count=9985 mdc.lustre-MDT0000-mdc-ffff923a60799000.batch_stats= snapshot_time: 1787588872.436221167 secs.nsecs start_time: 1787588760.398987388 secs.nsecs elapsed_time: 112.037233779 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 mdc.lustre-MDT0001-mdc-ffff923a60799000.batch_stats= snapshot_time: 1787588872.436303924 secs.nsecs start_time: 1787588760.399106289 secs.nsecs elapsed_time: 112.037197635 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff923a60799000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff923a60799000.batch_stats=0 llite.lustre-ffff923a60799000.statahead_max=2048 llite.lustre-ffff923a60799000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff923a60799000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff923a60799000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.32 seconds: 43.03 ops/second llite.lustre-ffff923a60799000.statahead_max=0 101 real 0m2.640s user 0m0.003s sys 0m0.323s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff923a60799000.statahead_max=2048 llite.lustre-ffff923a60799000.statahead_max=2048 101 real 0m1.018s user 0m0.007s sys 0m0.166s '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: 10084 miss_total: 16 swrong=0 ewrong=0 - open/close 827 (time 1787589171.74 total 10.00 last 82.70) total: 900 open/close in 10.96 seconds: 82.09 ops/second llite.lustre-ffff923a60799000.statahead_max=0 1001 real 0m21.659s user 0m0.036s sys 0m2.969s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff923a60799000.statahead_max=2048 llite.lustre-ffff923a60799000.statahead_max=2048 1001 real 0m6.740s user 0m0.034s sys 0m1.437s '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: 11083 miss_total: 17 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff923a60799000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 mdc.lustre-MDT0000-mdc-ffff923a60799000.batch_stats= snapshot_time: 1787589234.169174196 secs.nsecs start_time: 1787588874.979052863 secs.nsecs elapsed_time: 359.190121333 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 42 42 8: 0 0 42 16: 0 0 42 32: 2 28 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff923a60799000.batch_stats= snapshot_time: 1787589234.179296261 secs.nsecs start_time: 1787588874.979265501 secs.nsecs elapsed_time: 359.200030760 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 28 28 8: 1 14 42 16: 1 14 57 32: 1 14 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 - open/close 701 (time 1787589247.44 total 10.00 last 70.08) - open/close 1482 (time 1787589257.45 total 20.01 last 78.04) - open/close 2226 (time 1787589267.46 total 30.02 last 74.35) - open/close 2843 (time 1787589277.46 total 40.02 last 61.67) - open/close 3598 (time 1787589287.46 total 50.02 last 75.50) - open/close 4319 (time 1787589297.47 total 60.03 last 72.04) - open/close 5075 (time 1787589307.47 total 70.03 last 75.58) - open/close 5959 (time 1787589317.48 total 80.04 last 88.33) - open/close 6771 (time 1787589327.48 total 90.04 last 81.19) - open/close 7577 (time 1787589337.49 total 100.04 last 80.58) - open/close 8429 (time 1787589347.50 total 110.06 last 85.09) - open/close 9205 (time 1787589357.50 total 120.06 last 77.55) total: 10000 open/close in 130.04 seconds: 76.90 ops/second llite.lustre-ffff923a60799000.statahead_batch_max=0 llite.lustre-ffff923a60799000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff923a60799000.stats=clear mdc.lustre-MDT0001-mdc-ffff923a60799000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.227s user 0m0.322s sys 0m15.590s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff923a60799000.statahead_batch_max=256 llite.lustre-ffff923a60799000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff923a60799000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff923a60799000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff923a60799000.stats=clear mdc.lustre-MDT0001-mdc-ffff923a60799000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.224s user 0m0.279s sys 0m15.521s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff923a60799000.batch_stats= snapshot_time: 1787589498.686270845 secs.nsecs start_time: 1787589435.574107382 secs.nsecs elapsed_time: 63.112163463 secs.nsecs subreqs per batch batches %% cum %% 1: 126 45 45 2: 41 14 60 4: 22 7 67 8: 21 7 75 16: 10 3 79 32: 17 6 85 64: 6 2 87 128: 1 0 87 256: 34 12 100 mdc.lustre-MDT0001-mdc-ffff923a60799000.batch_stats= snapshot_time: 1787589498.686351834 secs.nsecs start_time: 1787589435.574259279 secs.nsecs elapsed_time: 63.112092555 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-ffff923a60799000.statahead_batch_max=64 llite.lustre-ffff923a60799000.statahead_max=128