== sanity test 123ad: Verify batching statahead works correctly ========================================================== 03:59:30 (1789027170) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa01fb61b9000.batch_stats=0 llite.lustre-ffffa01fb61b9000.statahead_max=32 llite.lustre-ffffa01fb61b9000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa01fb61b9000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.98 seconds: 33.55 ops/second llite.lustre-ffffa01fb61b9000.statahead_max=0 101 real 0m2.692s user 0m0.005s sys 0m0.301s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffffa01fb61b9000.statahead_max=32 llite.lustre-ffffa01fb61b9000.statahead_max=32 101 real 0m0.929s user 0m0.004s sys 0m0.172s 'ls -l' 100 files with statahead: 1 sec statahead total: 136 statahead wrong: 2 agl total: 130 list_total: 30 fname_total: 91 hit_total: 3786 miss_total: 1595 swrong=2 ewrong=2 - open/close 740 (time 1789027197.76 total 10.00 last 73.99) total: 900 open/close in 12.28 seconds: 73.30 ops/second llite.lustre-ffffa01fb61b9000.statahead_max=0 1001 real 0m22.924s user 0m0.028s sys 0m2.953s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffffa01fb61b9000.statahead_max=32 llite.lustre-ffffa01fb61b9000.statahead_max=32 1001 real 0m9.445s user 0m0.038s sys 0m1.514s 'ls -l' 1000 files with statahead: 9 sec statahead total: 137 statahead wrong: 2 agl total: 131 list_total: 31 fname_total: 91 hit_total: 4784 miss_total: 1597 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffffa01fb61b9000.statahead_stats= statahead total: 137 statahead wrong: 2 agl total: 131 list_total: 31 fname_total: 91 hit_total: 4784 miss_total: 1597 mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.batch_stats= snapshot_time: 1789027263.390075576 secs.nsecs start_time: 1789027175.052962243 secs.nsecs elapsed_time: 88.337113333 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 2 5 10 8: 4 10 20 16: 21 52 72 32: 11 27 100 mdc.lustre-MDT0001-mdc-ffffa01fb61b9000.batch_stats= snapshot_time: 1789027263.390144056 secs.nsecs start_time: 1789027175.053040635 secs.nsecs elapsed_time: 88.337103421 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 4 10 10 8: 1 2 12 16: 23 58 71 32: 11 28 100 - open/close 636 (time 1789027276.07 total 10.00 last 63.59) - open/close 1279 (time 1789027286.08 total 20.01 last 64.25) - open/close 1942 (time 1789027296.09 total 30.02 last 66.24) - open/close 2654 (time 1789027306.11 total 40.04 last 71.08) - open/close 3359 (time 1789027316.12 total 50.04 last 70.45) - open/close 4077 (time 1789027326.13 total 60.06 last 71.68) - open/close 4796 (time 1789027336.14 total 70.07 last 71.85) - open/close 5553 (time 1789027346.15 total 80.08 last 75.63) - open/close 6286 (time 1789027356.16 total 90.08 last 73.25) - open/close 6872 (time 1789027366.18 total 100.11 last 58.46) - open/close 7429 (time 1789027376.19 total 110.12 last 55.63) - open/close 7992 (time 1789027386.20 total 120.12 last 56.27) - open/close 8571 (time 1789027396.20 total 130.12 last 57.89) - open/close 9145 (time 1789027406.20 total 140.13 last 57.39) - open/close 9893 (time 1789027416.22 total 150.14 last 74.67) total: 10000 open/close in 151.92 seconds: 65.82 ops/second llite.lustre-ffffa01fb61b9000.statahead_batch_max=0 llite.lustre-ffffa01fb61b9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.stats=clear mdc.lustre-MDT0001-mdc-ffffa01fb61b9000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.567s user 0m0.355s sys 0m15.519s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffffa01fb61b9000.statahead_batch_max=32 llite.lustre-ffffa01fb61b9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffffa01fb61b9000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.stats=clear mdc.lustre-MDT0001-mdc-ffffa01fb61b9000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m45.759s user 0m0.303s sys 0m14.153s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.batch_stats= snapshot_time: 1789027606.626052870 secs.nsecs start_time: 1789027489.683096085 secs.nsecs elapsed_time: 116.942956785 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-ffffa01fb61b9000.batch_stats= snapshot_time: 1789027606.626123798 secs.nsecs start_time: 1789027489.683319565 secs.nsecs elapsed_time: 116.942804233 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa01fb61b9000.batch_stats=0 llite.lustre-ffffa01fb61b9000.statahead_max=2048 llite.lustre-ffffa01fb61b9000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa01fb61b9000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.67 seconds: 37.46 ops/second llite.lustre-ffffa01fb61b9000.statahead_max=0 101 real 0m2.447s user 0m0.007s sys 0m0.365s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffffa01fb61b9000.statahead_max=2048 llite.lustre-ffffa01fb61b9000.statahead_max=2048 101 real 0m0.772s user 0m0.003s 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: 10080 miss_total: 20 swrong=0 ewrong=0 - open/close 743 (time 1789027920.45 total 10.01 last 74.25) total: 900 open/close in 12.67 seconds: 71.04 ops/second llite.lustre-ffffa01fb61b9000.statahead_max=0 1001 real 0m24.783s user 0m0.033s sys 0m2.985s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffffa01fb61b9000.statahead_max=2048 llite.lustre-ffffa01fb61b9000.statahead_max=2048 1001 real 0m6.988s user 0m0.034s sys 0m1.443s '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: 19 seconds llite.lustre-ffffa01fb61b9000.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-ffffa01fb61b9000.batch_stats= snapshot_time: 1789027985.524665225 secs.nsecs start_time: 1789027609.159571912 secs.nsecs elapsed_time: 376.365093313 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 28 28 8: 2 28 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-ffffa01fb61b9000.batch_stats= snapshot_time: 1789027985.524744446 secs.nsecs start_time: 1789027609.159730978 secs.nsecs elapsed_time: 376.365013468 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 712 (time 1789027998.06 total 10.01 last 71.15) - open/close 1432 (time 1789028008.08 total 20.02 last 71.88) - open/close 2116 (time 1789028018.08 total 30.03 last 68.36) - open/close 2781 (time 1789028028.10 total 40.05 last 66.37) - open/close 3461 (time 1789028038.10 total 50.05 last 68.00) - open/close 4134 (time 1789028048.11 total 60.06 last 67.26) - open/close 4804 (time 1789028058.11 total 70.06 last 66.98) - open/close 5422 (time 1789028068.12 total 80.06 last 61.77) - open/close 6109 (time 1789028078.12 total 90.07 last 68.67) - open/close 6802 (time 1789028088.13 total 100.08 last 69.24) - open/close 7459 (time 1789028098.13 total 110.08 last 65.70) - open/close 8103 (time 1789028108.14 total 120.09 last 64.32) - open/close 8805 (time 1789028118.16 total 130.10 last 70.11) - open/close 9496 (time 1789028128.18 total 140.12 last 68.95) total: 10000 open/close in 146.96 seconds: 68.05 ops/second llite.lustre-ffffa01fb61b9000.statahead_batch_max=0 llite.lustre-ffffa01fb61b9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.stats=clear mdc.lustre-MDT0001-mdc-ffffa01fb61b9000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m11.672s user 0m0.326s sys 0m15.169s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffffa01fb61b9000.statahead_batch_max=256 llite.lustre-ffffa01fb61b9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffffa01fb61b9000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.stats=clear mdc.lustre-MDT0001-mdc-ffffa01fb61b9000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.086s user 0m0.293s sys 0m14.764s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffffa01fb61b9000.batch_stats= snapshot_time: 1789028281.897138820 secs.nsecs start_time: 1789028215.244417539 secs.nsecs elapsed_time: 66.652721281 secs.nsecs subreqs per batch batches %% cum %% 1: 68 34 34 2: 28 14 49 4: 20 10 59 8: 11 5 65 16: 10 5 70 32: 16 8 78 64: 6 3 81 128: 1 0 82 256: 35 17 100 mdc.lustre-MDT0001-mdc-ffffa01fb61b9000.batch_stats= snapshot_time: 1789028281.897212920 secs.nsecs start_time: 1789028215.244508499 secs.nsecs elapsed_time: 66.652704421 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-ffffa01fb61b9000.statahead_batch_max=64 llite.lustre-ffffa01fb61b9000.statahead_max=128