== sanity test 123ad: Verify batching statahead works correctly ========================================================== 00:13:45 (1790396025) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff97fcc673f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff97fcc673f800.batch_stats=0 llite.lustre-ffff97fcc673f800.statahead_max=32 llite.lustre-ffff97fcc673f800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff97fcc673f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff97fcc673f800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 0.67 seconds: 148.62 ops/second llite.lustre-ffff97fcc673f800.statahead_max=0 101 real 0m0.649s user 0m0.006s sys 0m0.242s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff97fcc673f800.statahead_max=32 llite.lustre-ffff97fcc673f800.statahead_max=32 101 real 0m0.390s user 0m0.005s sys 0m0.201s 'ls -l' 100 files with statahead: 1 sec statahead total: 86 statahead wrong: 1 agl total: 81 list_total: 29 fname_total: 57 hit_total: 13800 miss_total: 228 swrong=1 ewrong=1 total: 900 open/close in 1.93 seconds: 467.11 ops/second llite.lustre-ffff97fcc673f800.statahead_max=0 1001 real 0m5.888s user 0m0.022s sys 0m2.162s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff97fcc673f800.statahead_max=32 llite.lustre-ffff97fcc673f800.statahead_max=32 1001 real 0m3.746s user 0m0.021s sys 0m1.724s 'ls -l' 1000 files with statahead: 3 sec statahead total: 87 statahead wrong: 1 agl total: 82 list_total: 30 fname_total: 57 hit_total: 14799 miss_total: 229 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff97fcc673f800.statahead_stats= statahead total: 87 statahead wrong: 1 agl total: 82 list_total: 30 fname_total: 57 hit_total: 14799 miss_total: 229 mdc.lustre-MDT0000-mdc-ffff97fcc673f800.batch_stats= snapshot_time: 1790396051.265021666 secs.nsecs start_time: 1790396026.758654726 secs.nsecs elapsed_time: 24.506366940 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 3 7 10 8: 3 7 17 16: 19 47 65 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff97fcc673f800.batch_stats= snapshot_time: 1790396051.265153117 secs.nsecs start_time: 1790396026.758719621 secs.nsecs elapsed_time: 24.506433496 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 3 7 10 8: 2 5 15 16: 19 48 64 32: 14 35 100 - open/close 4851 (time 1790396062.10 total 10.00 last 485.05) - open/close 9261 (time 1790396072.10 total 20.00 last 440.99) total: 10000 open/close in 21.76 seconds: 459.59 ops/second llite.lustre-ffff97fcc673f800.statahead_batch_max=0 llite.lustre-ffff97fcc673f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97fcc673f800.stats=clear mdc.lustre-MDT0001-mdc-ffff97fcc673f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.737s user 0m0.156s sys 0m28.964s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff97fcc673f800.statahead_batch_max=32 llite.lustre-ffff97fcc673f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97fcc673f800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff97fcc673f800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff97fcc673f800.stats=clear mdc.lustre-MDT0001-mdc-ffff97fcc673f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.046s user 0m0.129s sys 0m17.950s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff97fcc673f800.batch_stats= snapshot_time: 1790396144.500512699 secs.nsecs start_time: 1790396108.139887115 secs.nsecs elapsed_time: 36.360625584 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 0 32: 312 99 100 mdc.lustre-MDT0001-mdc-ffff97fcc673f800.batch_stats= snapshot_time: 1790396144.500568995 secs.nsecs start_time: 1790396108.139958586 secs.nsecs elapsed_time: 36.360610409 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff97fcc673f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff97fcc673f800.batch_stats=0 llite.lustre-ffff97fcc673f800.statahead_max=2048 llite.lustre-ffff97fcc673f800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff97fcc673f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff97fcc673f800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 0.86 seconds: 116.60 ops/second llite.lustre-ffff97fcc673f800.statahead_max=0 101 real 0m0.623s user 0m0.002s sys 0m0.245s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff97fcc673f800.statahead_max=2048 llite.lustre-ffff97fcc673f800.statahead_max=2048 101 real 0m0.380s user 0m0.003s sys 0m0.196s '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: 10098 miss_total: 2 swrong=0 ewrong=0 total: 900 open/close in 1.85 seconds: 486.99 ops/second llite.lustre-ffff97fcc673f800.statahead_max=0 1001 real 0m5.886s user 0m0.029s sys 0m2.175s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff97fcc673f800.statahead_max=2048 llite.lustre-ffff97fcc673f800.statahead_max=2048 1001 real 0m3.277s user 0m0.021s sys 0m1.273s '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: 11097 miss_total: 3 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff97fcc673f800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 mdc.lustre-MDT0000-mdc-ffff97fcc673f800.batch_stats= snapshot_time: 1790396246.474817146 secs.nsecs start_time: 1790396145.311105792 secs.nsecs elapsed_time: 101.163711354 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 28 28 8: 2 28 57 16: 0 0 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff97fcc673f800.batch_stats= snapshot_time: 1790396246.474861544 secs.nsecs start_time: 1790396145.311245560 secs.nsecs elapsed_time: 101.163615984 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 28 28 8: 2 28 57 16: 0 0 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 - open/close 4653 (time 1790396257.27 total 10.00 last 465.24) total: 10000 open/close in 19.86 seconds: 503.65 ops/second llite.lustre-ffff97fcc673f800.statahead_batch_max=0 llite.lustre-ffff97fcc673f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97fcc673f800.stats=clear mdc.lustre-MDT0001-mdc-ffff97fcc673f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.792s user 0m0.141s sys 0m22.845s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff97fcc673f800.statahead_batch_max=256 llite.lustre-ffff97fcc673f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97fcc673f800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff97fcc673f800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff97fcc673f800.stats=clear mdc.lustre-MDT0001-mdc-ffff97fcc673f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m24.752s user 0m0.158s sys 0m18.313s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff97fcc673f800.batch_stats= snapshot_time: 1790396324.885111218 secs.nsecs start_time: 1790396296.086844630 secs.nsecs elapsed_time: 28.798266588 secs.nsecs subreqs per batch batches %% cum %% 1: 141 53 53 2: 34 12 66 4: 22 8 74 8: 5 1 76 16: 2 0 77 32: 23 8 85 64: 2 0 86 128: 0 0 86 256: 35 13 100 mdc.lustre-MDT0001-mdc-ffff97fcc673f800.batch_stats= snapshot_time: 1790396324.885158365 secs.nsecs start_time: 1790396296.086912188 secs.nsecs elapsed_time: 28.798246177 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-ffff97fcc673f800.statahead_batch_max=64 llite.lustre-ffff97fcc673f800.statahead_max=128