== sanity test 123ad: Verify batching statahead works correctly ========================================================== 03:36:39 (1787124999) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9489be5ee000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9489be5ee000.batch_stats=0 llite.lustre-ffff9489be5ee000.statahead_max=32 llite.lustre-ffff9489be5ee000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9489be5ee000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9489be5ee000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.08 seconds: 48.09 ops/second llite.lustre-ffff9489be5ee000.statahead_max=0 101 real 0m1.992s user 0m0.004s sys 0m0.317s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9489be5ee000.statahead_max=32 llite.lustre-ffff9489be5ee000.statahead_max=32 101 real 0m1.024s user 0m0.003s sys 0m0.194s 'ls -l' 100 files with statahead: 1 sec statahead total: 147 statahead wrong: 2 agl total: 140 list_total: 32 fname_total: 98 hit_total: 4098 miss_total: 1405 swrong=2 ewrong=2 - open/close 886 (time 1787125025.13 total 10.01 last 88.52) total: 900 open/close in 10.13 seconds: 88.80 ops/second llite.lustre-ffff9489be5ee000.statahead_max=0 1001 real 0m18.084s user 0m0.027s sys 0m3.088s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff9489be5ee000.statahead_max=32 llite.lustre-ffff9489be5ee000.statahead_max=32 1001 real 0m9.439s user 0m0.024s sys 0m1.528s 'ls -l' 1000 files with statahead: 10 sec statahead total: 148 statahead wrong: 2 agl total: 141 list_total: 33 fname_total: 98 hit_total: 5096 miss_total: 1407 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9489be5ee000.statahead_stats= statahead total: 148 statahead wrong: 2 agl total: 141 list_total: 33 fname_total: 98 hit_total: 5096 miss_total: 1407 mdc.lustre-MDT0000-mdc-ffff9489be5ee000.batch_stats= snapshot_time: 1787125088.966599189 secs.nsecs start_time: 1787125003.399475539 secs.nsecs elapsed_time: 85.567123650 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 2 5 13 4: 1 2 15 8: 2 5 21 16: 23 60 81 32: 7 18 100 mdc.lustre-MDT0001-mdc-ffff9489be5ee000.batch_stats= snapshot_time: 1787125088.968643047 secs.nsecs start_time: 1787125003.399630829 secs.nsecs elapsed_time: 85.569012218 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 3 7 15 16: 9 23 38 32: 24 61 100 - open/close 831 (time 1787125102.16 total 10.00 last 83.08) - open/close 1789 (time 1787125112.16 total 20.00 last 95.79) - open/close 2775 (time 1787125122.19 total 30.03 last 98.32) - open/close 3776 (time 1787125132.19 total 40.04 last 100.06) - open/close 4718 (time 1787125142.20 total 50.04 last 94.14) - open/close 5678 (time 1787125152.21 total 60.05 last 95.90) - open/close 6654 (time 1787125162.22 total 70.06 last 97.55) - open/close 7644 (time 1787125172.23 total 80.07 last 98.90) - open/close 8445 (time 1787125182.23 total 90.07 last 80.10) - open/close 9419 (time 1787125192.23 total 100.07 last 97.36) total: 10000 open/close in 106.09 seconds: 94.26 ops/second llite.lustre-ffff9489be5ee000.statahead_batch_max=0 llite.lustre-ffff9489be5ee000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9489be5ee000.stats=clear mdc.lustre-MDT0001-mdc-ffff9489be5ee000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m16.635s user 0m0.363s sys 0m17.061s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9489be5ee000.statahead_batch_max=32 llite.lustre-ffff9489be5ee000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9489be5ee000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9489be5ee000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9489be5ee000.stats=clear mdc.lustre-MDT0001-mdc-ffff9489be5ee000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m51.672s user 0m0.297s sys 0m15.501s batched statahead RPC= hit count=9989 mdc.lustre-MDT0000-mdc-ffff9489be5ee000.batch_stats= snapshot_time: 1787125415.242149538 secs.nsecs start_time: 1787125285.530066418 secs.nsecs elapsed_time: 129.712083120 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-ffff9489be5ee000.batch_stats= snapshot_time: 1787125415.242270509 secs.nsecs start_time: 1787125285.530222385 secs.nsecs elapsed_time: 129.712048124 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9489be5ee000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9489be5ee000.batch_stats=0 llite.lustre-ffff9489be5ee000.statahead_max=2048 llite.lustre-ffff9489be5ee000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9489be5ee000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9489be5ee000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.89 seconds: 34.61 ops/second llite.lustre-ffff9489be5ee000.statahead_max=0 101 real 0m1.977s user 0m0.006s sys 0m0.346s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9489be5ee000.statahead_max=2048 llite.lustre-ffff9489be5ee000.statahead_max=2048 101 real 0m1.606s user 0m0.005s sys 0m0.206s '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: 10088 miss_total: 12 swrong=0 ewrong=0 - open/close 611 (time 1787125727.74 total 10.03 last 60.93) total: 900 open/close in 14.69 seconds: 61.27 ops/second llite.lustre-ffff9489be5ee000.statahead_max=0 1001 real 0m23.235s user 0m0.031s sys 0m3.225s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff9489be5ee000.statahead_max=2048 llite.lustre-ffff9489be5ee000.statahead_max=2048 1001 real 0m7.612s user 0m0.030s sys 0m1.444s '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: 11087 miss_total: 13 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff9489be5ee000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11087 miss_total: 13 mdc.lustre-MDT0000-mdc-ffff9489be5ee000.batch_stats= snapshot_time: 1787125795.608811569 secs.nsecs start_time: 1787125418.017590044 secs.nsecs elapsed_time: 377.591221525 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 42 42 8: 0 0 42 16: 1 14 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff9489be5ee000.batch_stats= snapshot_time: 1787125795.608881570 secs.nsecs start_time: 1787125418.017716133 secs.nsecs elapsed_time: 377.591165437 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 4 57 57 16: 0 0 57 32: 1 14 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 - open/close 755 (time 1787125809.29 total 10.01 last 75.42) - open/close 1514 (time 1787125819.30 total 20.02 last 75.84) - open/close 2324 (time 1787125829.31 total 30.03 last 80.91) - open/close 3039 (time 1787125839.31 total 40.03 last 71.50) - open/close 3976 (time 1787125849.31 total 50.03 last 93.68) - open/close 4848 (time 1787125859.32 total 60.04 last 87.13) - open/close 5684 (time 1787125869.33 total 70.05 last 83.55) - open/close 6320 (time 1787125879.33 total 80.05 last 63.58) - open/close 6908 (time 1787125889.33 total 90.05 last 58.77) - open/close 7526 (time 1787125899.36 total 100.08 last 61.66) - open/close 8358 (time 1787125909.36 total 110.08 last 83.15) - open/close 9085 (time 1787125919.37 total 120.09 last 72.62) - open/close 9999 (time 1787125929.38 total 130.10 last 91.35) total: 10000 open/close in 130.10 seconds: 76.86 ops/second llite.lustre-ffff9489be5ee000.statahead_batch_max=0 llite.lustre-ffff9489be5ee000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9489be5ee000.stats=clear mdc.lustre-MDT0001-mdc-ffff9489be5ee000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m12.786s user 0m0.312s sys 0m16.657s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9489be5ee000.statahead_batch_max=256 llite.lustre-ffff9489be5ee000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9489be5ee000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9489be5ee000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9489be5ee000.stats=clear mdc.lustre-MDT0001-mdc-ffff9489be5ee000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.948s user 0m0.319s sys 0m16.570s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9489be5ee000.batch_stats= snapshot_time: 1787126091.081795690 secs.nsecs start_time: 1787126013.107300847 secs.nsecs elapsed_time: 77.974494843 secs.nsecs subreqs per batch batches %% cum %% 1: 264 53 53 2: 84 16 70 4: 56 11 81 8: 25 5 86 16: 8 1 87 32: 19 3 91 64: 8 1 93 128: 0 0 93 256: 33 6 100 mdc.lustre-MDT0001-mdc-ffff9489be5ee000.batch_stats= snapshot_time: 1787126091.081861270 secs.nsecs start_time: 1787126013.107577149 secs.nsecs elapsed_time: 77.974284121 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-ffff9489be5ee000.statahead_batch_max=64 llite.lustre-ffff9489be5ee000.statahead_max=128