== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:56:01 (1788850561) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.batch_stats=0 llite.lustre-ffff8c1576dcb000.statahead_max=32 llite.lustre-ffff8c1576dcb000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.60 seconds: 62.36 ops/second llite.lustre-ffff8c1576dcb000.statahead_max=0 101 real 0m1.688s user 0m0.004s sys 0m0.309s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8c1576dcb000.statahead_max=32 llite.lustre-ffff8c1576dcb000.statahead_max=32 101 real 0m0.676s user 0m0.003s sys 0m0.176s 'ls -l' 100 files with statahead: 0 sec statahead total: 133 statahead wrong: 2 agl total: 127 list_total: 31 fname_total: 87 hit_total: 3875 miss_total: 1714 swrong=2 ewrong=2 total: 900 open/close in 8.53 seconds: 105.49 ops/second llite.lustre-ffff8c1576dcb000.statahead_max=0 1001 real 0m16.981s user 0m0.050s sys 0m3.048s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff8c1576dcb000.statahead_max=32 llite.lustre-ffff8c1576dcb000.statahead_max=32 1001 real 0m7.344s user 0m0.032s sys 0m1.370s 'ls -l' 1000 files with statahead: 8 sec statahead total: 134 statahead wrong: 2 agl total: 128 list_total: 32 fname_total: 87 hit_total: 4871 miss_total: 1718 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 16 seconds llite.lustre-ffff8c1576dcb000.statahead_stats= statahead total: 134 statahead wrong: 2 agl total: 128 list_total: 32 fname_total: 87 hit_total: 4871 miss_total: 1718 mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.batch_stats= snapshot_time: 1788850627.922967463 secs.nsecs start_time: 1788850563.693011688 secs.nsecs elapsed_time: 64.229955775 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 3 8 13 8: 3 8 22 16: 23 63 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.batch_stats= snapshot_time: 1788850627.923039648 secs.nsecs start_time: 1788850563.693131603 secs.nsecs elapsed_time: 64.229908045 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 3 7 12 16: 14 35 48 32: 20 51 100 - open/close 1017 (time 1788850639.70 total 10.00 last 101.69) - open/close 1916 (time 1788850649.71 total 20.01 last 89.85) - open/close 2675 (time 1788850659.71 total 30.01 last 75.88) - open/close 3142 (time 1788850669.72 total 40.02 last 46.65) - open/close 3644 (time 1788850679.73 total 50.03 last 50.16) - open/close 4180 (time 1788850689.73 total 60.03 last 53.57) - open/close 4621 (time 1788850699.74 total 70.04 last 44.09) - open/close 5088 (time 1788850709.74 total 80.04 last 46.67) - open/close 5800 (time 1788850719.75 total 90.05 last 71.15) - open/close 6425 (time 1788850729.75 total 100.05 last 62.49) - open/close 7171 (time 1788850739.76 total 110.06 last 74.55) - open/close 7946 (time 1788850749.77 total 120.07 last 77.38) - open/close 8739 (time 1788850759.78 total 130.08 last 79.28) - open/close 9565 (time 1788850769.78 total 140.08 last 82.53) total: 10000 open/close in 144.82 seconds: 69.05 ops/second llite.lustre-ffff8c1576dcb000.statahead_batch_max=0 llite.lustre-ffff8c1576dcb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.stats=clear mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.751s user 0m0.369s sys 0m16.665s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8c1576dcb000.statahead_batch_max=32 llite.lustre-ffff8c1576dcb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.stats=clear mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m58.413s user 0m0.320s sys 0m14.077s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.batch_stats= snapshot_time: 1788850974.487892234 secs.nsecs start_time: 1788850845.235485871 secs.nsecs elapsed_time: 129.252406363 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-ffff8c1576dcb000.batch_stats= snapshot_time: 1788850974.487972571 secs.nsecs start_time: 1788850845.235563979 secs.nsecs elapsed_time: 129.252408592 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.batch_stats=0 llite.lustre-ffff8c1576dcb000.statahead_max=2048 llite.lustre-ffff8c1576dcb000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.46 seconds: 28.92 ops/second llite.lustre-ffff8c1576dcb000.statahead_max=0 101 real 0m3.872s user 0m0.005s sys 0m0.366s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8c1576dcb000.statahead_max=2048 llite.lustre-ffff8c1576dcb000.statahead_max=2048 101 real 0m1.296s user 0m0.008s sys 0m0.168s '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 676 (time 1788851299.63 total 10.01 last 67.56) total: 900 open/close in 13.34 seconds: 67.49 ops/second llite.lustre-ffff8c1576dcb000.statahead_max=0 1001 real 0m22.712s user 0m0.040s sys 0m3.251s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff8c1576dcb000.statahead_max=2048 llite.lustre-ffff8c1576dcb000.statahead_max=2048 1001 real 0m6.247s user 0m0.038s sys 0m1.616s 'ls -l' 1000 files with statahead: 6 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: 19 seconds llite.lustre-ffff8c1576dcb000.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-ffff8c1576dcb000.batch_stats= snapshot_time: 1788851363.375545673 secs.nsecs start_time: 1788850977.186141572 secs.nsecs elapsed_time: 386.189404101 secs.nsecs subreqs per batch batches %% cum %% 1: 1 16 16 2: 1 16 33 4: 2 33 66 8: 0 0 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.batch_stats= snapshot_time: 1788851363.375608802 secs.nsecs start_time: 1788850977.186289432 secs.nsecs elapsed_time: 386.189319370 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 12 12 8: 3 37 50 16: 0 0 50 32: 0 0 50 64: 1 12 62 128: 1 12 75 256: 2 25 100 - open/close 732 (time 1788851376.50 total 10.01 last 73.11) - open/close 1377 (time 1788851386.52 total 20.03 last 64.36) - open/close 2098 (time 1788851396.55 total 30.06 last 71.92) - open/close 2760 (time 1788851406.56 total 40.07 last 66.14) - open/close 3576 (time 1788851416.57 total 50.07 last 81.54) - open/close 4317 (time 1788851426.58 total 60.09 last 74.02) - open/close 4982 (time 1788851436.58 total 70.09 last 66.44) - open/close 5673 (time 1788851446.59 total 80.09 last 69.09) - open/close 6448 (time 1788851456.59 total 90.10 last 77.48) - open/close 7185 (time 1788851466.60 total 100.11 last 73.63) - open/close 7938 (time 1788851476.60 total 110.11 last 75.27) - open/close 8599 (time 1788851486.60 total 120.11 last 66.10) - open/close 9108 (time 1788851496.62 total 130.12 last 50.83) - open/close 9860 (time 1788851506.64 total 140.15 last 75.05) total: 10000 open/close in 142.08 seconds: 70.38 ops/second llite.lustre-ffff8c1576dcb000.statahead_batch_max=0 llite.lustre-ffff8c1576dcb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.stats=clear mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m11.903s user 0m0.353s sys 0m15.555s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8c1576dcb000.statahead_batch_max=256 llite.lustre-ffff8c1576dcb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.stats=clear mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.635s user 0m0.319s sys 0m14.576s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8c1576dcb000.batch_stats= snapshot_time: 1788851668.094055047 secs.nsecs start_time: 1788851589.652191937 secs.nsecs elapsed_time: 78.441863110 secs.nsecs subreqs per batch batches %% cum %% 1: 77 41 41 2: 24 12 54 4: 17 9 63 8: 6 3 67 16: 4 2 69 32: 14 7 76 64: 7 3 80 128: 0 0 80 256: 36 19 100 mdc.lustre-MDT0001-mdc-ffff8c1576dcb000.batch_stats= snapshot_time: 1788851668.094273186 secs.nsecs start_time: 1788851589.652304867 secs.nsecs elapsed_time: 78.441968319 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 1 seconds: 0.000000 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-ffff8c1576dcb000.statahead_batch_max=64 llite.lustre-ffff8c1576dcb000.statahead_max=128