== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:41:12 (1782225672) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.batch_stats=0 llite.lustre-ffff8cc1584f0800.statahead_max=32 llite.lustre-ffff8cc1584f0800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.42 seconds: 41.28 ops/second llite.lustre-ffff8cc1584f0800.statahead_max=0 101 real 0m2.017s user 0m0.003s sys 0m0.340s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8cc1584f0800.statahead_max=32 llite.lustre-ffff8cc1584f0800.statahead_max=32 101 real 0m1.155s user 0m0.002s sys 0m0.191s 'ls -l' 100 files with statahead: 1 sec statahead total: 117 statahead wrong: 1 agl total: 111 list_total: 32 fname_total: 81 hit_total: 3783 miss_total: 264 swrong=1 ewrong=1 - open/close 898 (time 1782225698.97 total 10.01 last 89.72) total: 900 open/close in 10.02 seconds: 89.78 ops/second llite.lustre-ffff8cc1584f0800.statahead_max=0 1001 real 0m21.374s user 0m0.032s sys 0m3.146s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff8cc1584f0800.statahead_max=32 llite.lustre-ffff8cc1584f0800.statahead_max=32 1001 real 0m8.179s user 0m0.035s sys 0m1.576s 'ls -l' 1000 files with statahead: 8 sec statahead total: 118 statahead wrong: 1 agl total: 112 list_total: 33 fname_total: 81 hit_total: 4782 miss_total: 265 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff8cc1584f0800.statahead_stats= statahead total: 118 statahead wrong: 1 agl total: 112 list_total: 33 fname_total: 81 hit_total: 4782 miss_total: 265 mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.batch_stats= snapshot_time: 1782225757.136258747 secs.nsecs start_time: 1782225676.796182062 secs.nsecs elapsed_time: 80.340076685 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 7 4: 2 5 12 8: 1 2 15 16: 23 58 74 32: 10 25 100 mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.batch_stats= snapshot_time: 1782225757.136332030 secs.nsecs start_time: 1782225676.796308547 secs.nsecs elapsed_time: 80.340023483 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 1 2 5 8: 2 5 10 16: 16 42 52 32: 18 47 100 - open/close 858 (time 1782225769.18 total 10.00 last 85.79) - open/close 1710 (time 1782225779.18 total 20.01 last 85.15) - open/close 2580 (time 1782225789.19 total 30.01 last 86.95) - open/close 3456 (time 1782225799.19 total 40.02 last 87.55) - open/close 4384 (time 1782225809.20 total 50.03 last 92.70) - open/close 5281 (time 1782225819.21 total 60.04 last 89.62) - open/close 6140 (time 1782225829.21 total 70.04 last 85.90) - open/close 7004 (time 1782225839.22 total 80.05 last 86.32) - open/close 7864 (time 1782225849.23 total 90.05 last 85.95) - open/close 8759 (time 1782225859.23 total 100.06 last 89.46) - open/close 9669 (time 1782225869.23 total 110.06 last 90.98) total: 10000 open/close in 113.91 seconds: 87.79 ops/second llite.lustre-ffff8cc1584f0800.statahead_batch_max=0 llite.lustre-ffff8cc1584f0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.stats=clear mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.830s user 0m0.308s sys 0m18.043s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8cc1584f0800.statahead_batch_max=32 llite.lustre-ffff8cc1584f0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.stats=clear mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m31.821s user 0m0.296s sys 0m16.258s batched statahead RPC= hit count=9985 mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.batch_stats= snapshot_time: 1782226038.923513735 secs.nsecs start_time: 1782225937.803449983 secs.nsecs elapsed_time: 101.120063752 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-ffff8cc1584f0800.batch_stats= snapshot_time: 1782226038.923572680 secs.nsecs start_time: 1782225937.803513893 secs.nsecs elapsed_time: 101.120058787 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.batch_stats=0 llite.lustre-ffff8cc1584f0800.statahead_max=2048 llite.lustre-ffff8cc1584f0800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.26 seconds: 44.29 ops/second llite.lustre-ffff8cc1584f0800.statahead_max=0 101 real 0m2.363s user 0m0.004s sys 0m0.337s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8cc1584f0800.statahead_max=2048 llite.lustre-ffff8cc1584f0800.statahead_max=2048 101 real 0m0.849s user 0m0.004s sys 0m0.194s '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 832 (time 1782226331.63 total 10.00 last 83.17) total: 900 open/close in 10.84 seconds: 83.02 ops/second llite.lustre-ffff8cc1584f0800.statahead_max=0 1001 real 0m20.569s user 0m0.028s sys 0m3.104s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff8cc1584f0800.statahead_max=2048 llite.lustre-ffff8cc1584f0800.statahead_max=2048 1001 real 0m5.294s user 0m0.021s sys 0m1.918s 'ls -l' 1000 files with statahead: 5 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: 20 seconds llite.lustre-ffff8cc1584f0800.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-ffff8cc1584f0800.batch_stats= snapshot_time: 1782226388.345556976 secs.nsecs start_time: 1782226041.554204564 secs.nsecs elapsed_time: 346.791352412 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 14 14 8: 3 42 57 16: 0 0 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.batch_stats= snapshot_time: 1782226388.345621430 secs.nsecs start_time: 1782226041.554334811 secs.nsecs elapsed_time: 346.791286619 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 42 42 8: 1 14 57 16: 0 0 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 - open/close 846 (time 1782226400.75 total 10.02 last 84.42) - open/close 1712 (time 1782226410.76 total 20.03 last 86.53) - open/close 2582 (time 1782226420.76 total 30.03 last 86.96) - open/close 3460 (time 1782226430.78 total 40.05 last 87.65) - open/close 4296 (time 1782226440.78 total 50.05 last 83.58) - open/close 5163 (time 1782226450.78 total 60.06 last 86.68) - open/close 6020 (time 1782226460.79 total 70.07 last 85.61) - open/close 6894 (time 1782226470.80 total 80.07 last 87.34) - open/close 7807 (time 1782226480.80 total 90.08 last 91.28) - open/close 8804 (time 1782226490.81 total 100.08 last 99.63) - open/close 9724 (time 1782226500.82 total 110.09 last 91.94) total: 10000 open/close in 113.27 seconds: 88.28 ops/second llite.lustre-ffff8cc1584f0800.statahead_batch_max=0 llite.lustre-ffff8cc1584f0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.stats=clear mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.093s user 0m0.329s sys 0m17.473s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8cc1584f0800.statahead_batch_max=256 llite.lustre-ffff8cc1584f0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.stats=clear mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.129s user 0m0.294s sys 0m16.857s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8cc1584f0800.batch_stats= snapshot_time: 1782226649.213392831 secs.nsecs start_time: 1782226577.931525086 secs.nsecs elapsed_time: 71.281867745 secs.nsecs subreqs per batch batches %% cum %% 1: 213 50 50 2: 61 14 65 4: 41 9 75 8: 32 7 83 16: 17 4 87 32: 18 4 91 64: 2 0 91 128: 0 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff8cc1584f0800.batch_stats= snapshot_time: 1782226649.213458189 secs.nsecs start_time: 1782226577.931608381 secs.nsecs elapsed_time: 71.281849808 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-ffff8cc1584f0800.statahead_batch_max=64 llite.lustre-ffff8cc1584f0800.statahead_max=128