== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:50:12 (1789141812) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8adebd28d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8adebd28d800.batch_stats=0 llite.lustre-ffff8adebd28d800.statahead_max=32 llite.lustre-ffff8adebd28d800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8adebd28d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8adebd28d800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.89 seconds: 53.04 ops/second llite.lustre-ffff8adebd28d800.statahead_max=0 101 real 0m1.616s user 0m0.004s sys 0m0.306s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8adebd28d800.statahead_max=32 llite.lustre-ffff8adebd28d800.statahead_max=32 101 real 0m1.255s user 0m0.005s sys 0m0.184s 'ls -l' 100 files with statahead: 1 sec statahead total: 141 statahead wrong: 2 agl total: 134 list_total: 31 fname_total: 95 hit_total: 3798 miss_total: 1681 swrong=2 ewrong=2 - open/close 824 (time 1789141839.29 total 10.00 last 82.37) total: 900 open/close in 11.12 seconds: 80.92 ops/second llite.lustre-ffff8adebd28d800.statahead_max=0 1001 real 0m20.764s user 0m0.029s sys 0m2.814s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff8adebd28d800.statahead_max=32 llite.lustre-ffff8adebd28d800.statahead_max=32 1001 real 0m11.031s user 0m0.028s sys 0m1.486s 'ls -l' 1000 files with statahead: 11 sec statahead total: 142 statahead wrong: 2 agl total: 135 list_total: 32 fname_total: 95 hit_total: 4795 miss_total: 1684 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8adebd28d800.statahead_stats= statahead total: 142 statahead wrong: 2 agl total: 135 list_total: 32 fname_total: 95 hit_total: 4795 miss_total: 1684 mdc.lustre-MDT0000-mdc-ffff8adebd28d800.batch_stats= snapshot_time: 1789141903.454730759 secs.nsecs start_time: 1789141817.669579711 secs.nsecs elapsed_time: 85.785151048 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 3 8 8 4: 1 2 11 8: 3 8 19 16: 23 63 83 32: 6 16 100 mdc.lustre-MDT0001-mdc-ffff8adebd28d800.batch_stats= snapshot_time: 1789141903.454802007 secs.nsecs start_time: 1789141817.669650906 secs.nsecs elapsed_time: 85.785151101 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 2 5 10 16: 13 33 43 32: 22 56 100 - open/close 1078 (time 1789141915.86 total 10.00 last 107.79) - open/close 2115 (time 1789141925.87 total 20.00 last 103.66) - open/close 2949 (time 1789141935.87 total 30.01 last 83.38) - open/close 4014 (time 1789141945.88 total 40.01 last 106.44) - open/close 4938 (time 1789141955.88 total 50.02 last 92.37) - open/close 6032 (time 1789141965.89 total 60.03 last 109.29) - open/close 6738 (time 1789141975.89 total 70.03 last 70.57) - open/close 7605 (time 1789141985.90 total 80.03 last 86.67) - open/close 8419 (time 1789141995.90 total 90.04 last 81.40) - open/close 9178 (time 1789142005.91 total 100.04 last 75.85) total: 10000 open/close in 109.10 seconds: 91.66 ops/second llite.lustre-ffff8adebd28d800.statahead_batch_max=0 llite.lustre-ffff8adebd28d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8adebd28d800.stats=clear mdc.lustre-MDT0001-mdc-ffff8adebd28d800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.818s user 0m0.283s sys 0m14.128s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8adebd28d800.statahead_batch_max=32 llite.lustre-ffff8adebd28d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8adebd28d800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8adebd28d800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8adebd28d800.stats=clear mdc.lustre-MDT0001-mdc-ffff8adebd28d800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m49.835s user 0m0.302s sys 0m13.699s batched statahead RPC= hit count=9970 mdc.lustre-MDT0000-mdc-ffff8adebd28d800.batch_stats= snapshot_time: 1789142217.168224463 secs.nsecs start_time: 1789142094.746651798 secs.nsecs elapsed_time: 122.421572665 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff8adebd28d800.batch_stats= snapshot_time: 1789142217.168371718 secs.nsecs start_time: 1789142094.746753355 secs.nsecs elapsed_time: 122.421618363 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8adebd28d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8adebd28d800.batch_stats=0 llite.lustre-ffff8adebd28d800.statahead_max=2048 llite.lustre-ffff8adebd28d800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8adebd28d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8adebd28d800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.44 seconds: 40.92 ops/second llite.lustre-ffff8adebd28d800.statahead_max=0 101 real 0m2.918s user 0m0.007s sys 0m0.325s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8adebd28d800.statahead_max=2048 llite.lustre-ffff8adebd28d800.statahead_max=2048 101 real 0m1.160s user 0m0.002s sys 0m0.164s '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: 10068 miss_total: 32 swrong=0 ewrong=0 - open/close 754 (time 1789142508.30 total 10.00 last 75.38) total: 900 open/close in 11.82 seconds: 76.11 ops/second llite.lustre-ffff8adebd28d800.statahead_max=0 1001 real 0m21.728s user 0m0.032s sys 0m2.962s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff8adebd28d800.statahead_max=2048 llite.lustre-ffff8adebd28d800.statahead_max=2048 1001 real 0m5.027s user 0m0.024s sys 0m1.371s '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: 11067 miss_total: 33 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff8adebd28d800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11067 miss_total: 33 mdc.lustre-MDT0000-mdc-ffff8adebd28d800.batch_stats= snapshot_time: 1789142569.138675035 secs.nsecs start_time: 1789142219.540756325 secs.nsecs elapsed_time: 349.597918710 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 33 33 4: 1 16 50 8: 1 16 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-ffff8adebd28d800.batch_stats= snapshot_time: 1789142569.138756323 secs.nsecs start_time: 1789142219.543141794 secs.nsecs elapsed_time: 349.595614529 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 2 22 33 16: 2 22 55 32: 0 0 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 832 (time 1789142582.06 total 10.01 last 83.13) - open/close 1677 (time 1789142592.09 total 20.03 last 84.27) - open/close 2486 (time 1789142602.10 total 30.04 last 80.82) - open/close 3188 (time 1789142612.11 total 40.06 last 70.13) - open/close 3945 (time 1789142622.13 total 50.08 last 75.54) - open/close 4467 (time 1789142632.15 total 60.09 last 52.11) - open/close 5131 (time 1789142642.15 total 70.10 last 66.37) - open/close 5759 (time 1789142652.17 total 80.12 last 62.70) - open/close 6546 (time 1789142662.20 total 90.15 last 78.47) - open/close 7428 (time 1789142672.20 total 100.15 last 88.18) - open/close 8333 (time 1789142682.20 total 110.15 last 90.45) - open/close 9129 (time 1789142692.21 total 120.16 last 79.57) - open/close 9831 (time 1789142702.21 total 130.16 last 70.19) total: 10000 open/close in 132.01 seconds: 75.75 ops/second llite.lustre-ffff8adebd28d800.statahead_batch_max=0 llite.lustre-ffff8adebd28d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8adebd28d800.stats=clear mdc.lustre-MDT0001-mdc-ffff8adebd28d800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.287s user 0m0.312s sys 0m14.173s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8adebd28d800.statahead_batch_max=256 llite.lustre-ffff8adebd28d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8adebd28d800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8adebd28d800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8adebd28d800.stats=clear mdc.lustre-MDT0001-mdc-ffff8adebd28d800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m50.955s user 0m0.261s sys 0m13.542s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8adebd28d800.batch_stats= snapshot_time: 1789142842.108069637 secs.nsecs start_time: 1789142779.262073357 secs.nsecs elapsed_time: 62.845996280 secs.nsecs subreqs per batch batches %% cum %% 1: 92 39 39 2: 30 12 52 4: 26 11 63 8: 16 6 70 16: 8 3 73 32: 18 7 81 64: 8 3 84 128: 1 0 85 256: 34 14 100 mdc.lustre-MDT0001-mdc-ffff8adebd28d800.batch_stats= snapshot_time: 1789142842.109985309 secs.nsecs start_time: 1789142779.262141094 secs.nsecs elapsed_time: 62.847844215 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-ffff8adebd28d800.statahead_batch_max=64 llite.lustre-ffff8adebd28d800.statahead_max=128