== sanity test 123ad: Verify batching statahead works correctly ========================================================== 05:41:11 (1788514871) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff992e90811800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff992e90811800.batch_stats=0 llite.lustre-ffff992e90811800.statahead_max=32 llite.lustre-ffff992e90811800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff992e90811800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff992e90811800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.00 seconds: 49.94 ops/second llite.lustre-ffff992e90811800.statahead_max=0 101 real 0m2.161s user 0m0.002s sys 0m0.337s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff992e90811800.statahead_max=32 llite.lustre-ffff992e90811800.statahead_max=32 101 real 0m1.058s user 0m0.008s sys 0m0.197s 'ls -l' 100 files with statahead: 1 sec statahead total: 120 statahead wrong: 2 agl total: 114 list_total: 32 fname_total: 88 hit_total: 3533 miss_total: 1435 swrong=2 ewrong=2 - open/close 881 (time 1788514899.21 total 10.01 last 88.04) total: 900 open/close in 10.11 seconds: 89.05 ops/second llite.lustre-ffff992e90811800.statahead_max=0 1001 real 0m17.104s user 0m0.035s sys 0m2.989s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff992e90811800.statahead_max=32 llite.lustre-ffff992e90811800.statahead_max=32 1001 real 0m10.668s user 0m0.028s sys 0m1.571s 'ls -l' 1000 files with statahead: 11 sec statahead total: 121 statahead wrong: 2 agl total: 115 list_total: 33 fname_total: 88 hit_total: 4531 miss_total: 1437 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff992e90811800.statahead_stats= statahead total: 121 statahead wrong: 2 agl total: 115 list_total: 33 fname_total: 88 hit_total: 4531 miss_total: 1437 mdc.lustre-MDT0000-mdc-ffff992e90811800.batch_stats= snapshot_time: 1788514959.674056898 secs.nsecs start_time: 1788514876.997999780 secs.nsecs elapsed_time: 82.676057118 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 2 5 10 8: 3 7 17 16: 20 50 67 32: 13 32 100 mdc.lustre-MDT0001-mdc-ffff992e90811800.batch_stats= snapshot_time: 1788514959.674138299 secs.nsecs start_time: 1788514876.998087508 secs.nsecs elapsed_time: 82.676050791 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 3 7 15 16: 20 51 66 32: 13 33 100 - open/close 891 (time 1788514972.06 total 10.00 last 89.09) - open/close 1842 (time 1788514982.07 total 20.01 last 95.02) - open/close 2777 (time 1788514992.07 total 30.01 last 93.48) - open/close 3638 (time 1788515002.09 total 40.02 last 85.99) - open/close 4306 (time 1788515012.10 total 50.03 last 66.74) - open/close 5372 (time 1788515022.10 total 60.03 last 106.59) - open/close 6233 (time 1788515032.11 total 70.05 last 85.99) - open/close 7052 (time 1788515042.13 total 80.06 last 81.77) - open/close 8035 (time 1788515052.13 total 90.07 last 98.27) - open/close 9033 (time 1788515062.14 total 100.08 last 99.69) total: 10000 open/close in 109.73 seconds: 91.14 ops/second llite.lustre-ffff992e90811800.statahead_batch_max=0 llite.lustre-ffff992e90811800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff992e90811800.stats=clear mdc.lustre-MDT0001-mdc-ffff992e90811800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.104s user 0m0.323s sys 0m15.544s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff992e90811800.statahead_batch_max=32 llite.lustre-ffff992e90811800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff992e90811800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff992e90811800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff992e90811800.stats=clear mdc.lustre-MDT0001-mdc-ffff992e90811800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m44.388s user 0m0.291s sys 0m15.113s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff992e90811800.batch_stats= snapshot_time: 1788515271.446737568 secs.nsecs start_time: 1788515149.647468587 secs.nsecs elapsed_time: 121.799268981 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-ffff992e90811800.batch_stats= snapshot_time: 1788515271.446810767 secs.nsecs start_time: 1788515149.647548320 secs.nsecs elapsed_time: 121.799262447 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff992e90811800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff992e90811800.batch_stats=0 llite.lustre-ffff992e90811800.statahead_max=2048 llite.lustre-ffff992e90811800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff992e90811800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff992e90811800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.19 seconds: 45.68 ops/second llite.lustre-ffff992e90811800.statahead_max=0 101 real 0m2.611s user 0m0.003s sys 0m0.365s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff992e90811800.statahead_max=2048 llite.lustre-ffff992e90811800.statahead_max=2048 101 real 0m0.828s user 0m0.004s sys 0m0.193s '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: 10082 miss_total: 18 swrong=0 ewrong=0 - open/close 794 (time 1788515527.02 total 10.00 last 79.39) total: 900 open/close in 11.63 seconds: 77.36 ops/second llite.lustre-ffff992e90811800.statahead_max=0 1001 real 0m21.929s user 0m0.034s sys 0m3.273s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff992e90811800.statahead_max=2048 llite.lustre-ffff992e90811800.statahead_max=2048 1001 real 0m7.246s user 0m0.035s sys 0m1.694s '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: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff992e90811800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff992e90811800.batch_stats= snapshot_time: 1788515586.968190408 secs.nsecs start_time: 1788515274.529461776 secs.nsecs elapsed_time: 312.438728632 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 10 10 4: 1 10 20 8: 3 30 50 16: 1 10 60 32: 2 20 80 64: 0 0 80 128: 0 0 80 256: 2 20 100 mdc.lustre-MDT0001-mdc-ffff992e90811800.batch_stats= snapshot_time: 1788515586.968438301 secs.nsecs start_time: 1788515274.529618769 secs.nsecs elapsed_time: 312.438819532 secs.nsecs subreqs per batch batches %% cum %% 1: 1 10 10 2: 0 0 10 4: 1 10 20 8: 3 30 50 16: 3 30 80 32: 0 0 80 64: 0 0 80 128: 0 0 80 256: 2 20 100 - open/close 932 (time 1788515599.49 total 10.02 last 93.00) - open/close 1873 (time 1788515609.51 total 20.04 last 93.91) - open/close 2584 (time 1788515619.53 total 30.06 last 70.99) - open/close 3245 (time 1788515629.54 total 40.07 last 66.05) - open/close 3863 (time 1788515639.54 total 50.07 last 61.78) - open/close 4616 (time 1788515649.54 total 60.07 last 75.26) - open/close 5423 (time 1788515659.54 total 70.07 last 80.70) - open/close 6206 (time 1788515669.56 total 80.09 last 78.17) - open/close 6975 (time 1788515679.57 total 90.10 last 76.82) - open/close 7849 (time 1788515689.57 total 100.10 last 87.39) - open/close 8699 (time 1788515699.57 total 110.10 last 84.97) - open/close 9589 (time 1788515709.58 total 120.11 last 88.93) total: 10000 open/close in 124.34 seconds: 80.42 ops/second llite.lustre-ffff992e90811800.statahead_batch_max=0 llite.lustre-ffff992e90811800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff992e90811800.stats=clear mdc.lustre-MDT0001-mdc-ffff992e90811800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.744s user 0m0.356s sys 0m17.731s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff992e90811800.statahead_batch_max=256 llite.lustre-ffff992e90811800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff992e90811800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff992e90811800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff992e90811800.stats=clear mdc.lustre-MDT0001-mdc-ffff992e90811800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.858s user 0m0.310s sys 0m16.987s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff992e90811800.batch_stats= snapshot_time: 1788515870.343162717 secs.nsecs start_time: 1788515795.988136972 secs.nsecs elapsed_time: 74.355025745 secs.nsecs subreqs per batch batches %% cum %% 1: 183 51 51 2: 47 13 64 4: 32 9 73 8: 29 8 81 16: 11 3 85 32: 12 3 88 64: 6 1 90 128: 1 0 90 256: 34 9 100 mdc.lustre-MDT0001-mdc-ffff992e90811800.batch_stats= snapshot_time: 1788515870.343227851 secs.nsecs start_time: 1788515795.988267705 secs.nsecs elapsed_time: 74.354960146 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-ffff992e90811800.statahead_batch_max=64 llite.lustre-ffff992e90811800.statahead_max=128