== sanity test 123ad: Verify batching statahead works correctly ========================================================== 22:10:52 (1788919852) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.batch_stats=0 llite.lustre-ffff8ae5864a9800.statahead_max=32 llite.lustre-ffff8ae5864a9800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.21 seconds: 82.42 ops/second llite.lustre-ffff8ae5864a9800.statahead_max=0 101 real 0m1.141s user 0m0.005s sys 0m0.313s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8ae5864a9800.statahead_max=32 llite.lustre-ffff8ae5864a9800.statahead_max=32 101 real 0m0.515s user 0m0.005s sys 0m0.206s 'ls -l' 100 files with statahead: 0 sec statahead total: 149 statahead wrong: 2 agl total: 142 list_total: 32 fname_total: 112 hit_total: 14614 miss_total: 1291 swrong=2 ewrong=2 total: 900 open/close in 5.49 seconds: 163.90 ops/second llite.lustre-ffff8ae5864a9800.statahead_max=0 1001 real 0m11.278s user 0m0.037s sys 0m2.836s 'ls -l' 1000 files without statahead: 11 sec llite.lustre-ffff8ae5864a9800.statahead_max=32 llite.lustre-ffff8ae5864a9800.statahead_max=32 1001 real 0m4.240s user 0m0.019s sys 0m1.549s 'ls -l' 1000 files with statahead: 5 sec statahead total: 150 statahead wrong: 2 agl total: 143 list_total: 33 fname_total: 112 hit_total: 15611 miss_total: 1294 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 8 seconds llite.lustre-ffff8ae5864a9800.statahead_stats= statahead total: 150 statahead wrong: 2 agl total: 143 list_total: 33 fname_total: 112 hit_total: 15611 miss_total: 1294 mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.batch_stats= snapshot_time: 1788919894.589685315 secs.nsecs start_time: 1788919854.929403618 secs.nsecs elapsed_time: 39.660281697 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 2 5 13 4: 1 2 15 8: 3 7 23 16: 25 65 89 32: 4 10 100 mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.batch_stats= snapshot_time: 1788919894.589750492 secs.nsecs start_time: 1788919854.929530552 secs.nsecs elapsed_time: 39.660219940 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 1 2 5 8: 3 7 12 16: 9 23 35 32: 25 64 100 - open/close 1635 (time 1788919906.41 total 10.01 last 163.35) - open/close 3552 (time 1788919916.41 total 20.01 last 191.64) - open/close 5207 (time 1788919926.41 total 30.01 last 165.50) - open/close 6309 (time 1788919936.42 total 40.02 last 110.12) - open/close 7048 (time 1788919946.42 total 50.02 last 73.88) - open/close 7750 (time 1788919956.44 total 60.04 last 70.11) - open/close 8217 (time 1788919966.45 total 70.05 last 46.62) - open/close 8720 (time 1788919976.47 total 80.07 last 50.21) - open/close 9322 (time 1788919986.48 total 90.08 last 60.14) - open/close 9983 (time 1788919996.49 total 100.09 last 66.06) total: 10000 open/close in 100.23 seconds: 99.77 ops/second llite.lustre-ffff8ae5864a9800.statahead_batch_max=0 llite.lustre-ffff8ae5864a9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.400s user 0m0.268s sys 0m15.617s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ae5864a9800.statahead_batch_max=32 llite.lustre-ffff8ae5864a9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.565s user 0m0.272s sys 0m14.829s batched statahead RPC= hit count=9986 mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.batch_stats= snapshot_time: 1788920140.829712074 secs.nsecs start_time: 1788920062.503508928 secs.nsecs elapsed_time: 78.326203146 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-ffff8ae5864a9800.batch_stats= snapshot_time: 1788920140.829776361 secs.nsecs start_time: 1788920062.503645588 secs.nsecs elapsed_time: 78.326130773 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.batch_stats=0 llite.lustre-ffff8ae5864a9800.statahead_max=2048 llite.lustre-ffff8ae5864a9800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.22 seconds: 45.05 ops/second llite.lustre-ffff8ae5864a9800.statahead_max=0 101 real 0m2.762s user 0m0.007s sys 0m0.327s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8ae5864a9800.statahead_max=2048 llite.lustre-ffff8ae5864a9800.statahead_max=2048 101 real 0m1.011s user 0m0.007s sys 0m0.170s '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: 10085 miss_total: 15 swrong=0 ewrong=0 - open/close 793 (time 1788920462.38 total 10.01 last 79.19) total: 900 open/close in 11.73 seconds: 76.72 ops/second llite.lustre-ffff8ae5864a9800.statahead_max=0 1001 real 0m22.379s user 0m0.040s sys 0m3.051s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff8ae5864a9800.statahead_max=2048 llite.lustre-ffff8ae5864a9800.statahead_max=2048 1001 real 0m7.283s user 0m0.027s sys 0m1.427s '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: 11084 miss_total: 16 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff8ae5864a9800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11084 miss_total: 16 mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.batch_stats= snapshot_time: 1788920527.399573565 secs.nsecs start_time: 1788920142.555385179 secs.nsecs elapsed_time: 384.844188386 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 3 33 55 16: 1 11 66 32: 0 0 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.batch_stats= snapshot_time: 1788920527.399715401 secs.nsecs start_time: 1788920142.555730804 secs.nsecs elapsed_time: 384.843984597 secs.nsecs subreqs per batch batches %% cum %% 1: 1 11 11 2: 0 0 11 4: 2 22 33 8: 2 22 55 16: 1 11 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 - open/close 848 (time 1788920540.39 total 10.00 last 84.79) - open/close 1607 (time 1788920550.40 total 20.01 last 75.82) - open/close 2374 (time 1788920560.40 total 30.02 last 76.67) - open/close 3158 (time 1788920570.40 total 40.02 last 78.38) - open/close 3959 (time 1788920580.41 total 50.02 last 80.07) - open/close 4804 (time 1788920590.41 total 60.03 last 84.44) - open/close 5540 (time 1788920600.42 total 70.04 last 73.56) - open/close 6262 (time 1788920610.44 total 80.05 last 72.08) - open/close 7031 (time 1788920620.45 total 90.06 last 76.83) - open/close 7841 (time 1788920630.46 total 100.07 last 80.90) - open/close 8628 (time 1788920640.46 total 110.07 last 78.69) - open/close 9435 (time 1788920650.47 total 120.08 last 80.65) total: 10000 open/close in 130.04 seconds: 76.90 ops/second llite.lustre-ffff8ae5864a9800.statahead_batch_max=0 llite.lustre-ffff8ae5864a9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m7.285s user 0m0.323s sys 0m14.520s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ae5864a9800.statahead_batch_max=256 llite.lustre-ffff8ae5864a9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.404s user 0m0.331s sys 0m14.635s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8ae5864a9800.batch_stats= snapshot_time: 1788920807.323055485 secs.nsecs start_time: 1788920736.862599922 secs.nsecs elapsed_time: 70.460455563 secs.nsecs subreqs per batch batches %% cum %% 1: 151 50 50 2: 41 13 64 4: 24 8 72 8: 16 5 77 16: 11 3 81 32: 17 5 86 64: 2 0 87 128: 3 1 88 256: 34 11 100 mdc.lustre-MDT0001-mdc-ffff8ae5864a9800.batch_stats= snapshot_time: 1788920807.323122645 secs.nsecs start_time: 1788920736.862949613 secs.nsecs elapsed_time: 70.460173032 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-ffff8ae5864a9800.statahead_batch_max=64 llite.lustre-ffff8ae5864a9800.statahead_max=128