== sanity test 123ad: Verify batching statahead works correctly ========================================================== 00:15:06 (1790741706) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9ff165f41800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ff165f41800.batch_stats=0 llite.lustre-ffff9ff165f41800.statahead_max=32 llite.lustre-ffff9ff165f41800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9ff165f41800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ff165f41800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.25 seconds: 44.54 ops/second llite.lustre-ffff9ff165f41800.statahead_max=0 101 real 0m1.696s user 0m0.007s sys 0m0.287s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9ff165f41800.statahead_max=32 llite.lustre-ffff9ff165f41800.statahead_max=32 101 real 0m0.867s user 0m0.002s sys 0m0.173s 'ls -l' 100 files with statahead: 1 sec statahead total: 148 statahead wrong: 2 agl total: 143 list_total: 31 fname_total: 103 hit_total: 4500 miss_total: 779 swrong=2 ewrong=2 total: 900 open/close in 9.52 seconds: 94.57 ops/second llite.lustre-ffff9ff165f41800.statahead_max=0 1001 real 0m18.518s user 0m0.027s sys 0m2.791s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff9ff165f41800.statahead_max=32 llite.lustre-ffff9ff165f41800.statahead_max=32 1001 real 0m7.434s user 0m0.029s sys 0m1.334s 'ls -l' 1000 files with statahead: 8 sec statahead total: 149 statahead wrong: 2 agl total: 144 list_total: 32 fname_total: 103 hit_total: 5496 miss_total: 783 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff9ff165f41800.statahead_stats= statahead total: 149 statahead wrong: 2 agl total: 144 list_total: 32 fname_total: 103 hit_total: 5496 miss_total: 783 mdc.lustre-MDT0000-mdc-ffff9ff165f41800.batch_stats= snapshot_time: 1790741783.456671284 secs.nsecs start_time: 1790741710.139690942 secs.nsecs elapsed_time: 73.316980342 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 2 5 13 4: 1 2 15 8: 3 7 23 16: 20 52 76 32: 9 23 100 mdc.lustre-MDT0001-mdc-ffff9ff165f41800.batch_stats= snapshot_time: 1790741783.456757256 secs.nsecs start_time: 1790741710.139778646 secs.nsecs elapsed_time: 73.316978610 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 1 2 5 8: 3 7 12 16: 13 33 46 32: 21 53 100 - open/close 895 (time 1790741796.19 total 10.01 last 89.44) - open/close 1855 (time 1790741806.20 total 20.01 last 95.96) - open/close 2772 (time 1790741816.20 total 30.02 last 91.64) - open/close 3827 (time 1790741826.20 total 40.02 last 105.50) - open/close 4714 (time 1790741836.21 total 50.02 last 88.65) - open/close 5614 (time 1790741846.22 total 60.04 last 89.89) - open/close 6580 (time 1790741856.23 total 70.04 last 96.52) - open/close 7521 (time 1790741866.23 total 80.05 last 94.05) - open/close 8383 (time 1790741876.23 total 90.05 last 86.19) - open/close 9325 (time 1790741886.24 total 100.06 last 94.15) total: 10000 open/close in 107.15 seconds: 93.33 ops/second llite.lustre-ffff9ff165f41800.statahead_batch_max=0 llite.lustre-ffff9ff165f41800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ff165f41800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ff165f41800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.219s user 0m0.305s sys 0m14.978s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9ff165f41800.statahead_batch_max=32 llite.lustre-ffff9ff165f41800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ff165f41800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9ff165f41800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9ff165f41800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ff165f41800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m36.070s user 0m0.305s sys 0m13.805s batched statahead RPC= hit count=9977 mdc.lustre-MDT0000-mdc-ffff9ff165f41800.batch_stats= snapshot_time: 1790742071.116802743 secs.nsecs start_time: 1790741963.437869863 secs.nsecs elapsed_time: 107.678932880 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff9ff165f41800.batch_stats= snapshot_time: 1790742071.117091973 secs.nsecs start_time: 1790741963.437953435 secs.nsecs elapsed_time: 107.679138538 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9ff165f41800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ff165f41800.batch_stats=0 llite.lustre-ffff9ff165f41800.statahead_max=2048 llite.lustre-ffff9ff165f41800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9ff165f41800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ff165f41800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.38 seconds: 41.96 ops/second llite.lustre-ffff9ff165f41800.statahead_max=0 101 real 0m1.783s user 0m0.004s sys 0m0.286s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9ff165f41800.statahead_max=2048 llite.lustre-ffff9ff165f41800.statahead_max=2048 101 real 0m0.812s user 0m0.003s sys 0m0.183s '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: 10076 miss_total: 24 swrong=0 ewrong=0 total: 900 open/close in 9.80 seconds: 91.83 ops/second llite.lustre-ffff9ff165f41800.statahead_max=0 1001 real 0m20.639s user 0m0.027s sys 0m2.660s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff9ff165f41800.statahead_max=2048 llite.lustre-ffff9ff165f41800.statahead_max=2048 1001 real 0m5.985s user 0m0.029s sys 0m1.397s 'ls -l' 1000 files with statahead: 6 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11075 miss_total: 25 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff9ff165f41800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11075 miss_total: 25 mdc.lustre-MDT0000-mdc-ffff9ff165f41800.batch_stats= snapshot_time: 1790742408.333165300 secs.nsecs start_time: 1790742074.021165418 secs.nsecs elapsed_time: 334.311999882 secs.nsecs subreqs per batch batches %% cum %% 1: 1 16 16 2: 1 16 33 4: 2 33 66 8: 0 0 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-ffff9ff165f41800.batch_stats= snapshot_time: 1790742408.333231753 secs.nsecs start_time: 1790742074.023005705 secs.nsecs elapsed_time: 334.310226048 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 3 33 44 16: 0 0 44 32: 1 11 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 846 (time 1790742420.89 total 10.01 last 84.50) - open/close 1736 (time 1790742430.90 total 20.02 last 88.92) - open/close 2654 (time 1790742440.91 total 30.03 last 91.69) - open/close 3650 (time 1790742450.92 total 40.04 last 99.57) - open/close 4537 (time 1790742460.92 total 50.04 last 88.66) - open/close 5484 (time 1790742470.93 total 60.05 last 94.64) - open/close 6379 (time 1790742480.94 total 70.05 last 89.45) - open/close 7315 (time 1790742490.94 total 80.06 last 93.56) - open/close 8125 (time 1790742500.94 total 90.06 last 80.96) - open/close 9014 (time 1790742510.95 total 100.07 last 88.86) - open/close 9893 (time 1790742520.95 total 110.07 last 87.88) total: 10000 open/close in 111.33 seconds: 89.83 ops/second llite.lustre-ffff9ff165f41800.statahead_batch_max=0 llite.lustre-ffff9ff165f41800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ff165f41800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ff165f41800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m50.564s user 0m0.301s sys 0m16.088s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9ff165f41800.statahead_batch_max=256 llite.lustre-ffff9ff165f41800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ff165f41800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9ff165f41800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9ff165f41800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ff165f41800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.688s user 0m0.284s sys 0m14.755s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9ff165f41800.batch_stats= snapshot_time: 1790742644.548886258 secs.nsecs start_time: 1790742580.390505616 secs.nsecs elapsed_time: 64.158380642 secs.nsecs subreqs per batch batches %% cum %% 1: 81 41 41 2: 24 12 53 4: 13 6 60 8: 12 6 66 16: 4 2 68 32: 21 10 79 64: 5 2 81 128: 1 0 82 256: 35 17 100 mdc.lustre-MDT0001-mdc-ffff9ff165f41800.batch_stats= snapshot_time: 1790742644.549083202 secs.nsecs start_time: 1790742580.390631168 secs.nsecs elapsed_time: 64.158452034 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-ffff9ff165f41800.statahead_batch_max=64 llite.lustre-ffff9ff165f41800.statahead_max=128