== sanity test 123ad: Verify batching statahead works correctly ========================================================== 06:08:34 (1779703714) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.batch_stats=0 llite.lustre-ffff8e6a06d25000.statahead_max=32 llite.lustre-ffff8e6a06d25000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.batch_stats=0 total: 100 open/close in 3.14 seconds: 31.90 ops/second llite.lustre-ffff8e6a06d25000.statahead_max=0 101 real 0m2.418s user 0m0.005s sys 0m0.341s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8e6a06d25000.statahead_max=32 llite.lustre-ffff8e6a06d25000.statahead_max=32 101 real 0m1.789s user 0m0.006s sys 0m0.198s 'ls -l' 100 files with statahead: 1 sec statahead total: 152 statahead wrong: 1 agl total: 146 list_total: 30 fname_total: 105 hit_total: 3856 miss_total: 258 swrong=1 ewrong=1 - open/close 595 (time 1779703747.34 total 10.01 last 59.42) total: 900 open/close in 15.02 seconds: 59.90 ops/second llite.lustre-ffff8e6a06d25000.statahead_max=0 1001 real 0m25.568s user 0m0.047s sys 0m3.600s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff8e6a06d25000.statahead_max=32 llite.lustre-ffff8e6a06d25000.statahead_max=32 1001 real 0m11.313s user 0m0.051s sys 0m1.519s 'ls -l' 1000 files with statahead: 11 sec statahead total: 153 statahead wrong: 1 agl total: 147 list_total: 31 fname_total: 105 hit_total: 4854 miss_total: 260 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff8e6a06d25000.statahead_stats= statahead total: 153 statahead wrong: 1 agl total: 147 list_total: 31 fname_total: 105 hit_total: 4854 miss_total: 260 mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.batch_stats= snapshot_time: 1779703828.088621265 secs.nsecs start_time: 1779703719.699620965 secs.nsecs elapsed_time: 108.389000300 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 7 7 16: 2 5 12 32: 34 87 100 - open/close 567 (time 1779703841.89 total 10.04 last 56.50) - open/close 1217 (time 1779703851.91 total 20.05 last 64.92) - open/close 1868 (time 1779703861.92 total 30.06 last 65.03) - open/close 2535 (time 1779703871.92 total 40.07 last 66.65) - open/close 3155 (time 1779703881.93 total 50.07 last 61.98) - open/close 3816 (time 1779703891.94 total 60.08 last 66.03) - open/close 4488 (time 1779703901.94 total 70.08 last 67.19) - open/close 5205 (time 1779703911.95 total 80.09 last 71.61) - open/close 5860 (time 1779703921.96 total 90.10 last 65.48) - open/close 6559 (time 1779703931.96 total 100.11 last 69.85) - open/close 7199 (time 1779703941.97 total 110.11 last 63.97) - open/close 7814 (time 1779703951.97 total 120.12 last 61.46) - open/close 8428 (time 1779703962.00 total 130.14 last 61.22) - open/close 9040 (time 1779703972.03 total 140.17 last 61.05) - open/close 9653 (time 1779703982.04 total 150.19 last 61.20) total: 10000 open/close in 155.98 seconds: 64.11 ops/second llite.lustre-ffff8e6a06d25000.statahead_batch_max=0 llite.lustre-ffff8e6a06d25000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m12.812s user 0m0.362s sys 0m16.594s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8e6a06d25000.statahead_batch_max=32 llite.lustre-ffff8e6a06d25000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m55.383s user 0m0.333s sys 0m15.718s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.batch_stats= snapshot_time: 1779704202.177593486 secs.nsecs start_time: 1779704072.936029798 secs.nsecs elapsed_time: 129.241563688 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-ffff8e6a06d25000.batch_stats=0 llite.lustre-ffff8e6a06d25000.statahead_max=2048 llite.lustre-ffff8e6a06d25000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.batch_stats=0 total: 100 open/close in 3.54 seconds: 28.22 ops/second llite.lustre-ffff8e6a06d25000.statahead_max=0 101 real 0m2.738s user 0m0.005s sys 0m0.393s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8e6a06d25000.statahead_max=2048 llite.lustre-ffff8e6a06d25000.statahead_max=2048 101 real 0m0.756s user 0m0.005s 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: 10083 miss_total: 17 swrong=0 ewrong=0 - open/close 694 (time 1779704569.52 total 10.01 last 69.35) total: 900 open/close in 13.58 seconds: 66.30 ops/second llite.lustre-ffff8e6a06d25000.statahead_max=0 1001 real 0m27.911s user 0m0.033s sys 0m3.334s 'ls -l' 1000 files without statahead: 28 sec llite.lustre-ffff8e6a06d25000.statahead_max=2048 llite.lustre-ffff8e6a06d25000.statahead_max=2048 1001 real 0m8.543s user 0m0.033s sys 0m1.627s 'ls -l' 1000 files with statahead: 8 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 26 seconds llite.lustre-ffff8e6a06d25000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.batch_stats= snapshot_time: 1779704651.921628979 secs.nsecs start_time: 1779704204.866084272 secs.nsecs elapsed_time: 447.055544707 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 16 16 16: 2 16 33 32: 2 16 50 64: 2 16 66 128: 0 0 66 256: 4 33 100 - open/close 623 (time 1779704664.53 total 10.03 last 62.12) - open/close 1093 (time 1779704674.54 total 20.03 last 46.98) - open/close 1687 (time 1779704684.54 total 30.04 last 59.38) - open/close 2280 (time 1779704694.56 total 40.06 last 59.20) - open/close 2906 (time 1779704704.58 total 50.08 last 62.47) - open/close 3509 (time 1779704714.60 total 60.09 last 60.19) - open/close 4136 (time 1779704724.60 total 70.10 last 62.64) - open/close 4780 (time 1779704734.61 total 80.11 last 64.38) - open/close 5458 (time 1779704744.61 total 90.11 last 67.79) - open/close 6116 (time 1779704754.61 total 100.11 last 65.78) - open/close 6810 (time 1779704764.62 total 110.12 last 69.36) - open/close 7445 (time 1779704774.63 total 120.13 last 63.42) - open/close 8087 (time 1779704784.65 total 130.15 last 64.08) - open/close 8667 (time 1779704794.65 total 140.15 last 57.96) - open/close 9235 (time 1779704804.66 total 150.16 last 56.79) - open/close 9712 (time 1779704814.68 total 160.18 last 47.58) total: 10000 open/close in 166.68 seconds: 60.00 ops/second llite.lustre-ffff8e6a06d25000.statahead_batch_max=0 llite.lustre-ffff8e6a06d25000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.626s user 0m0.373s sys 0m16.940s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8e6a06d25000.statahead_batch_max=256 llite.lustre-ffff8e6a06d25000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.770s user 0m0.342s sys 0m16.633s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8e6a06d25000.batch_stats= snapshot_time: 1779704971.900186482 secs.nsecs start_time: 1779704898.190002171 secs.nsecs elapsed_time: 73.710184311 secs.nsecs subreqs per batch batches % cum % 1: 230 51 51 2: 66 14 65 4: 48 10 76 8: 30 6 83 16: 21 4 87 32: 17 3 91 64: 5 1 92 128: 0 0 92 256: 33 7 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-ffff8e6a06d25000.statahead_batch_max=64 llite.lustre-ffff8e6a06d25000.statahead_max=128