== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:09:01 (1788646141) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff98adf4850000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98adf4850000.batch_stats=0 llite.lustre-ffff98adf4850000.statahead_max=32 llite.lustre-ffff98adf4850000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff98adf4850000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98adf4850000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.75 seconds: 36.41 ops/second llite.lustre-ffff98adf4850000.statahead_max=0 101 real 0m1.799s user 0m0.002s sys 0m0.290s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff98adf4850000.statahead_max=32 llite.lustre-ffff98adf4850000.statahead_max=32 101 real 0m0.899s user 0m0.007s sys 0m0.162s 'ls -l' 100 files with statahead: 1 sec statahead total: 137 statahead wrong: 2 agl total: 132 list_total: 30 fname_total: 105 hit_total: 4141 miss_total: 1281 swrong=2 ewrong=2 - open/close 881 (time 1788646169.10 total 10.00 last 88.10) total: 900 open/close in 10.17 seconds: 88.49 ops/second llite.lustre-ffff98adf4850000.statahead_max=0 1001 real 0m18.403s user 0m0.037s sys 0m2.764s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff98adf4850000.statahead_max=32 llite.lustre-ffff98adf4850000.statahead_max=32 1001 real 0m7.548s user 0m0.025s sys 0m1.344s 'ls -l' 1000 files with statahead: 7 sec statahead total: 138 statahead wrong: 2 agl total: 133 list_total: 31 fname_total: 105 hit_total: 5138 miss_total: 1284 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff98adf4850000.statahead_stats= statahead total: 138 statahead wrong: 2 agl total: 133 list_total: 31 fname_total: 105 hit_total: 5138 miss_total: 1284 mdc.lustre-MDT0000-mdc-ffff98adf4850000.batch_stats= snapshot_time: 1788646223.492457071 secs.nsecs start_time: 1788646146.061970287 secs.nsecs elapsed_time: 77.430486784 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 4 10 17 16: 17 43 61 32: 15 38 100 mdc.lustre-MDT0001-mdc-ffff98adf4850000.batch_stats= snapshot_time: 1788646223.492544816 secs.nsecs start_time: 1788646146.062148890 secs.nsecs elapsed_time: 77.430395926 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 3 7 10 8: 4 10 20 16: 19 47 67 32: 13 32 100 - open/close 723 (time 1788646236.28 total 10.02 last 72.17) - open/close 1256 (time 1788646246.29 total 20.03 last 53.21) - open/close 1964 (time 1788646256.31 total 30.05 last 70.69) - open/close 2682 (time 1788646266.31 total 40.05 last 71.76) - open/close 3472 (time 1788646276.32 total 50.06 last 78.94) - open/close 4368 (time 1788646286.33 total 60.07 last 89.53) - open/close 5179 (time 1788646296.34 total 70.08 last 81.04) - open/close 6096 (time 1788646306.35 total 80.09 last 91.58) - open/close 6827 (time 1788646316.36 total 90.10 last 73.05) - open/close 7639 (time 1788646326.37 total 100.11 last 81.14) - open/close 8431 (time 1788646336.37 total 110.11 last 79.14) - open/close 9140 (time 1788646346.37 total 120.11 last 70.88) total: 10000 open/close in 128.59 seconds: 77.77 ops/second llite.lustre-ffff98adf4850000.statahead_batch_max=0 llite.lustre-ffff98adf4850000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98adf4850000.stats=clear mdc.lustre-MDT0001-mdc-ffff98adf4850000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m13.577s user 0m0.335s sys 0m14.456s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff98adf4850000.statahead_batch_max=32 llite.lustre-ffff98adf4850000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98adf4850000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff98adf4850000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff98adf4850000.stats=clear mdc.lustre-MDT0001-mdc-ffff98adf4850000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m46.595s user 0m0.304s sys 0m13.451s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff98adf4850000.batch_stats= snapshot_time: 1788646552.005914822 secs.nsecs start_time: 1788646434.687872565 secs.nsecs elapsed_time: 117.318042257 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-ffff98adf4850000.batch_stats= snapshot_time: 1788646552.005995054 secs.nsecs start_time: 1788646434.688020023 secs.nsecs elapsed_time: 117.317975031 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff98adf4850000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98adf4850000.batch_stats=0 llite.lustre-ffff98adf4850000.statahead_max=2048 llite.lustre-ffff98adf4850000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff98adf4850000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98adf4850000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.21 seconds: 45.26 ops/second llite.lustre-ffff98adf4850000.statahead_max=0 101 real 0m2.227s user 0m0.004s sys 0m0.309s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff98adf4850000.statahead_max=2048 llite.lustre-ffff98adf4850000.statahead_max=2048 101 real 0m0.895s user 0m0.007s sys 0m0.181s '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 total: 900 open/close in 9.86 seconds: 91.32 ops/second llite.lustre-ffff98adf4850000.statahead_max=0 1001 real 0m18.824s user 0m0.039s sys 0m2.805s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff98adf4850000.statahead_max=2048 llite.lustre-ffff98adf4850000.statahead_max=2048 1001 real 0m5.612s user 0m0.027s sys 0m1.310s '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: 16 seconds llite.lustre-ffff98adf4850000.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-ffff98adf4850000.batch_stats= snapshot_time: 1788646876.754769418 secs.nsecs start_time: 1788646555.200154410 secs.nsecs elapsed_time: 321.554615008 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 25 8: 3 37 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff98adf4850000.batch_stats= snapshot_time: 1788646876.754868083 secs.nsecs start_time: 1788646555.200342510 secs.nsecs elapsed_time: 321.554525573 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 25 8: 2 25 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 906 (time 1788646888.89 total 10.00 last 90.58) - open/close 1834 (time 1788646898.89 total 20.01 last 92.71) - open/close 2733 (time 1788646908.91 total 30.03 last 89.76) - open/close 3661 (time 1788646918.92 total 40.03 last 92.74) - open/close 4591 (time 1788646928.92 total 50.04 last 92.99) - open/close 5538 (time 1788646938.92 total 60.04 last 94.67) - open/close 6455 (time 1788646948.96 total 70.08 last 91.35) - open/close 7341 (time 1788646958.97 total 80.08 last 88.55) - open/close 8188 (time 1788646968.97 total 90.08 last 84.69) - open/close 9166 (time 1788646978.98 total 100.10 last 97.65) total: 10000 open/close in 107.89 seconds: 92.69 ops/second llite.lustre-ffff98adf4850000.statahead_batch_max=0 llite.lustre-ffff98adf4850000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98adf4850000.stats=clear mdc.lustre-MDT0001-mdc-ffff98adf4850000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.730s user 0m0.285s sys 0m14.178s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff98adf4850000.statahead_batch_max=256 llite.lustre-ffff98adf4850000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98adf4850000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff98adf4850000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff98adf4850000.stats=clear mdc.lustre-MDT0001-mdc-ffff98adf4850000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m44.596s user 0m0.239s sys 0m14.588s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff98adf4850000.batch_stats= snapshot_time: 1788647102.174580462 secs.nsecs start_time: 1788647050.251831293 secs.nsecs elapsed_time: 51.922749169 secs.nsecs subreqs per batch batches %% cum %% 1: 147 52 52 2: 39 13 65 4: 13 4 70 8: 18 6 76 16: 7 2 79 32: 13 4 84 64: 8 2 86 128: 3 1 87 256: 34 12 100 mdc.lustre-MDT0001-mdc-ffff98adf4850000.batch_stats= snapshot_time: 1788647102.174648138 secs.nsecs start_time: 1788647050.251923976 secs.nsecs elapsed_time: 51.922724162 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-ffff98adf4850000.statahead_batch_max=64 llite.lustre-ffff98adf4850000.statahead_max=128