== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:46:42 (1788850002) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff99a83b722800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99a83b722800.batch_stats=0 llite.lustre-ffff99a83b722800.statahead_max=32 llite.lustre-ffff99a83b722800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff99a83b722800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99a83b722800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.57 seconds: 63.66 ops/second llite.lustre-ffff99a83b722800.statahead_max=0 101 real 0m1.536s user 0m0.005s sys 0m0.286s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff99a83b722800.statahead_max=32 llite.lustre-ffff99a83b722800.statahead_max=32 101 real 0m0.809s user 0m0.003s sys 0m0.164s 'ls -l' 100 files with statahead: 1 sec statahead total: 136 statahead wrong: 2 agl total: 130 list_total: 30 fname_total: 106 hit_total: 3924 miss_total: 1618 swrong=2 ewrong=2 total: 900 open/close in 8.73 seconds: 103.08 ops/second llite.lustre-ffff99a83b722800.statahead_max=0 1001 real 0m14.878s user 0m0.031s sys 0m2.713s 'ls -l' 1000 files without statahead: 15 sec llite.lustre-ffff99a83b722800.statahead_max=32 llite.lustre-ffff99a83b722800.statahead_max=32 1001 real 0m6.634s user 0m0.025s sys 0m1.214s 'ls -l' 1000 files with statahead: 6 sec statahead total: 137 statahead wrong: 2 agl total: 131 list_total: 31 fname_total: 106 hit_total: 4922 miss_total: 1620 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 13 seconds llite.lustre-ffff99a83b722800.statahead_stats= statahead total: 137 statahead wrong: 2 agl total: 131 list_total: 31 fname_total: 106 hit_total: 4922 miss_total: 1620 mdc.lustre-MDT0000-mdc-ffff99a83b722800.batch_stats= snapshot_time: 1788850065.125497407 secs.nsecs start_time: 1788850005.979106262 secs.nsecs elapsed_time: 59.146391145 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 1 2 10 4: 3 7 18 8: 0 0 18 16: 26 68 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff99a83b722800.batch_stats= snapshot_time: 1788850065.125560087 secs.nsecs start_time: 1788850005.979494065 secs.nsecs elapsed_time: 59.146066022 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 4 10 17 16: 11 27 45 32: 22 55 100 - open/close 1118 (time 1788850077.12 total 10.01 last 111.73) - open/close 2339 (time 1788850087.12 total 20.01 last 122.08) - open/close 3463 (time 1788850097.13 total 30.02 last 112.31) - open/close 4508 (time 1788850107.13 total 40.02 last 104.49) - open/close 5732 (time 1788850117.13 total 50.02 last 122.38) - open/close 6813 (time 1788850127.14 total 60.02 last 108.05) - open/close 7998 (time 1788850137.15 total 70.03 last 118.40) - open/close 8944 (time 1788850147.15 total 80.03 last 94.58) - open/close 9993 (time 1788850157.15 total 90.04 last 104.85) total: 10000 open/close in 90.08 seconds: 111.01 ops/second llite.lustre-ffff99a83b722800.statahead_batch_max=0 llite.lustre-ffff99a83b722800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99a83b722800.stats=clear mdc.lustre-MDT0001-mdc-ffff99a83b722800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m43.994s user 0m0.306s sys 0m15.095s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99a83b722800.statahead_batch_max=32 llite.lustre-ffff99a83b722800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99a83b722800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff99a83b722800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99a83b722800.stats=clear mdc.lustre-MDT0001-mdc-ffff99a83b722800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m11.364s user 0m0.284s sys 0m13.072s batched statahead RPC= hit count=9985 mdc.lustre-MDT0000-mdc-ffff99a83b722800.batch_stats= snapshot_time: 1788850285.681818212 secs.nsecs start_time: 1788850206.791713928 secs.nsecs elapsed_time: 78.890104284 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-ffff99a83b722800.batch_stats= snapshot_time: 1788850285.682096552 secs.nsecs start_time: 1788850206.791806780 secs.nsecs elapsed_time: 78.890289772 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff99a83b722800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99a83b722800.batch_stats=0 llite.lustre-ffff99a83b722800.statahead_max=2048 llite.lustre-ffff99a83b722800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff99a83b722800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99a83b722800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.88 seconds: 53.29 ops/second llite.lustre-ffff99a83b722800.statahead_max=0 101 real 0m2.050s user 0m0.005s sys 0m0.299s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff99a83b722800.statahead_max=2048 llite.lustre-ffff99a83b722800.statahead_max=2048 101 real 0m0.626s user 0m0.006s sys 0m0.164s 'ls -l' 100 files with statahead: 0 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 total: 900 open/close in 8.66 seconds: 103.95 ops/second llite.lustre-ffff99a83b722800.statahead_max=0 1001 real 0m17.205s user 0m0.031s sys 0m2.897s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff99a83b722800.statahead_max=2048 llite.lustre-ffff99a83b722800.statahead_max=2048 1001 real 0m4.580s user 0m0.021s sys 0m1.237s 'ls -l' 1000 files with statahead: 4 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: 13 seconds llite.lustre-ffff99a83b722800.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-ffff99a83b722800.batch_stats= snapshot_time: 1788850555.462181625 secs.nsecs start_time: 1788850287.499041632 secs.nsecs elapsed_time: 267.963139993 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 12 12 4: 2 25 37 8: 2 25 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-ffff99a83b722800.batch_stats= snapshot_time: 1788850555.462257176 secs.nsecs start_time: 1788850287.499182532 secs.nsecs elapsed_time: 267.963074644 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 12 12 8: 3 37 50 16: 1 12 62 32: 1 12 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 - open/close 1041 (time 1788850567.38 total 10.01 last 104.00) - open/close 2046 (time 1788850577.38 total 20.01 last 100.46) - open/close 3122 (time 1788850587.39 total 30.03 last 107.46) - open/close 4142 (time 1788850597.40 total 40.03 last 101.96) - open/close 5263 (time 1788850607.40 total 50.03 last 112.07) - open/close 6343 (time 1788850617.41 total 60.04 last 107.92) - open/close 7649 (time 1788850627.41 total 70.04 last 130.56) - open/close 8907 (time 1788850637.41 total 80.05 last 125.78) total: 10000 open/close in 88.39 seconds: 113.13 ops/second llite.lustre-ffff99a83b722800.statahead_batch_max=0 llite.lustre-ffff99a83b722800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99a83b722800.stats=clear mdc.lustre-MDT0001-mdc-ffff99a83b722800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m21.770s user 0m0.302s sys 0m14.466s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99a83b722800.statahead_batch_max=256 llite.lustre-ffff99a83b722800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99a83b722800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff99a83b722800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99a83b722800.stats=clear mdc.lustre-MDT0001-mdc-ffff99a83b722800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m44.229s user 0m0.295s sys 0m13.871s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff99a83b722800.batch_stats= snapshot_time: 1788850788.204434340 secs.nsecs start_time: 1788850732.334505143 secs.nsecs elapsed_time: 55.869929197 secs.nsecs subreqs per batch batches %% cum %% 1: 88 40 40 2: 29 13 53 4: 25 11 65 8: 8 3 68 16: 13 5 74 32: 12 5 80 64: 6 2 83 128: 3 1 84 256: 34 15 100 mdc.lustre-MDT0001-mdc-ffff99a83b722800.batch_stats= snapshot_time: 1788850788.204506040 secs.nsecs start_time: 1788850732.334714957 secs.nsecs elapsed_time: 55.869791083 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-ffff99a83b722800.statahead_batch_max=64 llite.lustre-ffff99a83b722800.statahead_max=128