== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:04:03 (1787580243) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8e610c71b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8e610c71b800.batch_stats=0 llite.lustre-ffff8e610c71b800.statahead_max=32 llite.lustre-ffff8e610c71b800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8e610c71b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8e610c71b800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.80 seconds: 55.52 ops/second llite.lustre-ffff8e610c71b800.statahead_max=0 101 real 0m2.243s user 0m0.004s sys 0m0.305s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8e610c71b800.statahead_max=32 llite.lustre-ffff8e610c71b800.statahead_max=32 101 real 0m1.155s user 0m0.006s sys 0m0.168s 'ls -l' 100 files with statahead: 1 sec statahead total: 136 statahead wrong: 2 agl total: 130 list_total: 31 fname_total: 104 hit_total: 3860 miss_total: 1685 swrong=2 ewrong=2 total: 900 open/close in 9.68 seconds: 92.94 ops/second llite.lustre-ffff8e610c71b800.statahead_max=0 1001 real 0m19.323s user 0m0.035s sys 0m2.763s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff8e610c71b800.statahead_max=32 llite.lustre-ffff8e610c71b800.statahead_max=32 1001 real 0m9.803s user 0m0.021s sys 0m1.361s 'ls -l' 1000 files with statahead: 10 sec statahead total: 137 statahead wrong: 2 agl total: 131 list_total: 32 fname_total: 104 hit_total: 4857 miss_total: 1688 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff8e610c71b800.statahead_stats= statahead total: 137 statahead wrong: 2 agl total: 131 list_total: 32 fname_total: 104 hit_total: 4857 miss_total: 1688 mdc.lustre-MDT0000-mdc-ffff8e610c71b800.batch_stats= snapshot_time: 1787580329.368519994 secs.nsecs start_time: 1787580248.900963514 secs.nsecs elapsed_time: 80.467556480 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 1 2 8 4: 3 8 16 8: 1 2 18 16: 25 67 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff8e610c71b800.batch_stats= snapshot_time: 1787580329.368598254 secs.nsecs start_time: 1787580248.901033177 secs.nsecs elapsed_time: 80.467565077 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 2 2 8: 5 12 15 16: 12 30 46 32: 21 53 100 - open/close 982 (time 1787580342.04 total 10.00 last 98.17) - open/close 2025 (time 1787580352.05 total 20.01 last 104.19) - open/close 3001 (time 1787580362.05 total 30.02 last 97.55) - open/close 3922 (time 1787580372.06 total 40.02 last 92.06) - open/close 4935 (time 1787580382.06 total 50.03 last 101.24) - open/close 5798 (time 1787580392.07 total 60.03 last 86.26) - open/close 6707 (time 1787580402.08 total 70.04 last 90.82) - open/close 7546 (time 1787580412.08 total 80.05 last 83.83) - open/close 8487 (time 1787580422.09 total 90.06 last 94.00) - open/close 9374 (time 1787580432.10 total 100.06 last 88.68) total: 10000 open/close in 106.33 seconds: 94.05 ops/second llite.lustre-ffff8e610c71b800.statahead_batch_max=0 llite.lustre-ffff8e610c71b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e610c71b800.stats=clear mdc.lustre-MDT0001-mdc-ffff8e610c71b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.629s user 0m0.301s sys 0m14.519s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8e610c71b800.statahead_batch_max=32 llite.lustre-ffff8e610c71b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e610c71b800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8e610c71b800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8e610c71b800.stats=clear mdc.lustre-MDT0001-mdc-ffff8e610c71b800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m37.430s user 0m0.289s sys 0m13.223s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff8e610c71b800.batch_stats= snapshot_time: 1787580613.065396514 secs.nsecs start_time: 1787580505.168544746 secs.nsecs elapsed_time: 107.896851768 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-ffff8e610c71b800.batch_stats= snapshot_time: 1787580613.065474606 secs.nsecs start_time: 1787580505.169090258 secs.nsecs elapsed_time: 107.896384348 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8e610c71b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8e610c71b800.batch_stats=0 llite.lustre-ffff8e610c71b800.statahead_max=2048 llite.lustre-ffff8e610c71b800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8e610c71b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8e610c71b800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.37 seconds: 42.27 ops/second llite.lustre-ffff8e610c71b800.statahead_max=0 101 real 0m2.083s user 0m0.005s sys 0m0.305s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8e610c71b800.statahead_max=2048 llite.lustre-ffff8e610c71b800.statahead_max=2048 101 real 0m0.679s user 0m0.003s sys 0m0.163s '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: 10080 miss_total: 20 swrong=0 ewrong=0 total: 900 open/close in 9.08 seconds: 99.10 ops/second llite.lustre-ffff8e610c71b800.statahead_max=0 1001 real 0m19.054s user 0m0.032s sys 0m2.853s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff8e610c71b800.statahead_max=2048 llite.lustre-ffff8e610c71b800.statahead_max=2048 1001 real 0m6.989s user 0m0.019s sys 0m1.368s '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: 11079 miss_total: 21 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff8e610c71b800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11079 miss_total: 21 mdc.lustre-MDT0000-mdc-ffff8e610c71b800.batch_stats= snapshot_time: 1787580936.179986557 secs.nsecs start_time: 1787580615.411050087 secs.nsecs elapsed_time: 320.768936470 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 33 33 8: 2 22 55 16: 1 11 66 32: 0 0 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff8e610c71b800.batch_stats= snapshot_time: 1787580936.180059770 secs.nsecs start_time: 1787580615.413242876 secs.nsecs elapsed_time: 320.766816894 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 4 44 44 8: 1 11 55 16: 1 11 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 - open/close 904 (time 1787580949.03 total 10.01 last 90.33) - open/close 1819 (time 1787580959.03 total 20.01 last 91.48) - open/close 2640 (time 1787580969.05 total 30.02 last 82.00) - open/close 3498 (time 1787580979.05 total 40.03 last 85.75) - open/close 4384 (time 1787580989.06 total 50.04 last 88.53) - open/close 5178 (time 1787580999.08 total 60.06 last 79.23) - open/close 6121 (time 1787581009.08 total 70.06 last 94.30) - open/close 6878 (time 1787581019.10 total 80.08 last 75.55) - open/close 7655 (time 1787581029.12 total 90.09 last 77.60) - open/close 8452 (time 1787581039.13 total 100.10 last 79.62) - open/close 9275 (time 1787581049.13 total 110.11 last 82.22) total: 10000 open/close in 118.74 seconds: 84.21 ops/second llite.lustre-ffff8e610c71b800.statahead_batch_max=0 llite.lustre-ffff8e610c71b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e610c71b800.stats=clear mdc.lustre-MDT0001-mdc-ffff8e610c71b800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.358s user 0m0.293s sys 0m14.310s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8e610c71b800.statahead_batch_max=256 llite.lustre-ffff8e610c71b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e610c71b800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8e610c71b800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8e610c71b800.stats=clear mdc.lustre-MDT0001-mdc-ffff8e610c71b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.864s user 0m0.301s sys 0m15.187s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8e610c71b800.batch_stats= snapshot_time: 1787581193.189974820 secs.nsecs start_time: 1787581126.380365212 secs.nsecs elapsed_time: 66.809609608 secs.nsecs subreqs per batch batches %% cum %% 1: 145 47 47 2: 38 12 59 4: 33 10 70 8: 21 6 77 16: 11 3 81 32: 16 5 86 64: 7 2 88 128: 1 0 88 256: 34 11 100 mdc.lustre-MDT0001-mdc-ffff8e610c71b800.batch_stats= snapshot_time: 1787581193.190120946 secs.nsecs start_time: 1787581126.380446517 secs.nsecs elapsed_time: 66.809674429 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-ffff8e610c71b800.statahead_batch_max=64 llite.lustre-ffff8e610c71b800.statahead_max=128