== sanity test 123ad: Verify batching statahead works correctly ========================================================== 12:19:57 (1786033197) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff968542c13800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff968542c13800.batch_stats=0 llite.lustre-ffff968542c13800.statahead_max=32 llite.lustre-ffff968542c13800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff968542c13800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff968542c13800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.96 seconds: 50.98 ops/second llite.lustre-ffff968542c13800.statahead_max=0 101 real 0m1.622s user 0m0.001s sys 0m0.301s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff968542c13800.statahead_max=32 llite.lustre-ffff968542c13800.statahead_max=32 101 real 0m1.084s user 0m0.005s sys 0m0.159s 'ls -l' 100 files with statahead: 1 sec statahead total: 131 statahead wrong: 2 agl total: 125 list_total: 31 fname_total: 95 hit_total: 3929 miss_total: 1704 swrong=2 ewrong=2 total: 900 open/close in 9.06 seconds: 99.36 ops/second llite.lustre-ffff968542c13800.statahead_max=0 1001 real 0m19.755s user 0m0.037s sys 0m3.093s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff968542c13800.statahead_max=32 llite.lustre-ffff968542c13800.statahead_max=32 1001 real 0m11.140s user 0m0.030s sys 0m1.506s 'ls -l' 1000 files with statahead: 11 sec statahead total: 132 statahead wrong: 2 agl total: 126 list_total: 32 fname_total: 95 hit_total: 4928 miss_total: 1705 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff968542c13800.statahead_stats= statahead total: 132 statahead wrong: 2 agl total: 126 list_total: 32 fname_total: 95 hit_total: 4928 miss_total: 1705 mdc.lustre-MDT0000-mdc-ffff968542c13800.batch_stats= snapshot_time: 1786033290.706862021 secs.nsecs start_time: 1786033203.396519283 secs.nsecs elapsed_time: 87.310342738 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 3 7 10 8: 3 7 17 16: 20 51 69 32: 12 30 100 mdc.lustre-MDT0001-mdc-ffff968542c13800.batch_stats= snapshot_time: 1786033290.706932745 secs.nsecs start_time: 1786033203.396690310 secs.nsecs elapsed_time: 87.310242435 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 2 5 7 8: 2 5 12 16: 19 48 61 32: 15 38 100 - open/close 966 (time 1786033304.16 total 10.01 last 96.55) - open/close 1766 (time 1786033314.17 total 20.01 last 79.97) - open/close 2396 (time 1786033324.18 total 30.02 last 62.93) - open/close 2997 (time 1786033334.18 total 40.03 last 60.06) - open/close 3839 (time 1786033344.19 total 50.03 last 84.16) - open/close 4719 (time 1786033354.19 total 60.04 last 87.94) - open/close 5670 (time 1786033364.19 total 70.04 last 95.10) - open/close 6349 (time 1786033374.22 total 80.07 last 67.70) - open/close 6788 (time 1786033384.24 total 90.08 last 43.84) - open/close 7561 (time 1786033394.27 total 100.11 last 77.06) - open/close 8261 (time 1786033404.28 total 110.12 last 69.95) - open/close 9044 (time 1786033414.28 total 120.13 last 78.24) total: 10000 open/close in 129.32 seconds: 77.33 ops/second llite.lustre-ffff968542c13800.statahead_batch_max=0 llite.lustre-ffff968542c13800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff968542c13800.stats=clear mdc.lustre-MDT0001-mdc-ffff968542c13800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.408s user 0m0.314s sys 0m15.435s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff968542c13800.statahead_batch_max=32 llite.lustre-ffff968542c13800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff968542c13800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff968542c13800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff968542c13800.stats=clear mdc.lustre-MDT0001-mdc-ffff968542c13800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m47.915s user 0m0.299s sys 0m15.233s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff968542c13800.batch_stats= snapshot_time: 1786033621.418704602 secs.nsecs start_time: 1786033499.363898864 secs.nsecs elapsed_time: 122.054805738 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 0 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff968542c13800.batch_stats= snapshot_time: 1786033621.418767224 secs.nsecs start_time: 1786033499.363984308 secs.nsecs elapsed_time: 122.054782916 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff968542c13800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff968542c13800.batch_stats=0 llite.lustre-ffff968542c13800.statahead_max=2048 llite.lustre-ffff968542c13800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff968542c13800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff968542c13800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.25 seconds: 44.39 ops/second llite.lustre-ffff968542c13800.statahead_max=0 101 real 0m2.074s user 0m0.005s sys 0m0.327s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff968542c13800.statahead_max=2048 llite.lustre-ffff968542c13800.statahead_max=2048 101 real 0m0.852s user 0m0.003s sys 0m0.174s '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: 10078 miss_total: 22 swrong=0 ewrong=0 total: 900 open/close in 9.52 seconds: 94.56 ops/second llite.lustre-ffff968542c13800.statahead_max=0 1001 real 0m21.776s user 0m0.039s sys 0m3.074s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff968542c13800.statahead_max=2048 llite.lustre-ffff968542c13800.statahead_max=2048 1001 real 0m9.894s user 0m0.030s sys 0m1.526s '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: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff968542c13800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 mdc.lustre-MDT0000-mdc-ffff968542c13800.batch_stats= snapshot_time: 1786033978.505646802 secs.nsecs start_time: 1786033623.917896583 secs.nsecs elapsed_time: 354.587750219 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 3 33 55 16: 1 11 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff968542c13800.batch_stats= snapshot_time: 1786033978.506015613 secs.nsecs start_time: 1786033623.920464221 secs.nsecs elapsed_time: 354.585551392 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 11 11 4: 1 11 22 8: 3 33 55 16: 1 11 66 32: 0 0 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 687 (time 1786033992.11 total 10.00 last 68.67) - open/close 1533 (time 1786034002.12 total 20.01 last 84.52) - open/close 2483 (time 1786034012.12 total 30.02 last 94.99) - open/close 3240 (time 1786034022.15 total 40.04 last 75.53) - open/close 4167 (time 1786034032.15 total 50.04 last 92.65) - open/close 5171 (time 1786034042.15 total 60.05 last 100.37) - open/close 6127 (time 1786034052.16 total 70.05 last 95.52) - open/close 7177 (time 1786034062.17 total 80.06 last 104.94) - open/close 8187 (time 1786034072.19 total 90.08 last 100.82) - open/close 9090 (time 1786034082.19 total 100.08 last 90.26) - open/close 9939 (time 1786034092.19 total 110.09 last 84.87) total: 10000 open/close in 110.65 seconds: 90.38 ops/second llite.lustre-ffff968542c13800.statahead_batch_max=0 llite.lustre-ffff968542c13800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff968542c13800.stats=clear mdc.lustre-MDT0001-mdc-ffff968542c13800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m21.086s user 0m0.338s sys 0m16.211s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff968542c13800.statahead_batch_max=256 llite.lustre-ffff968542c13800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff968542c13800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff968542c13800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff968542c13800.stats=clear mdc.lustre-MDT0001-mdc-ffff968542c13800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.207s user 0m0.304s sys 0m15.681s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff968542c13800.batch_stats= snapshot_time: 1786034260.875805005 secs.nsecs start_time: 1786034185.101042200 secs.nsecs elapsed_time: 75.774762805 secs.nsecs subreqs per batch batches %% cum %% 1: 177 52 52 2: 37 11 63 4: 42 12 76 8: 20 5 82 16: 3 0 83 32: 19 5 88 64: 3 0 89 128: 0 0 89 256: 35 10 100 mdc.lustre-MDT0001-mdc-ffff968542c13800.batch_stats= snapshot_time: 1786034260.875882609 secs.nsecs start_time: 1786034185.101303968 secs.nsecs elapsed_time: 75.774578641 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-ffff968542c13800.statahead_batch_max=64 llite.lustre-ffff968542c13800.statahead_max=128