== sanity test 123ad: Verify batching statahead works correctly ========================================================== 21:55:08 (1787104508) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff948110d36000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff948110d36000.batch_stats=0 llite.lustre-ffff948110d36000.statahead_max=32 llite.lustre-ffff948110d36000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff948110d36000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff948110d36000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.42 seconds: 70.56 ops/second llite.lustre-ffff948110d36000.statahead_max=0 101 real 0m1.482s user 0m0.002s sys 0m0.310s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff948110d36000.statahead_max=32 llite.lustre-ffff948110d36000.statahead_max=32 101 real 0m0.571s user 0m0.003s sys 0m0.175s 'ls -l' 100 files with statahead: 0 sec statahead total: 113 statahead wrong: 2 agl total: 109 list_total: 30 fname_total: 83 hit_total: 3824 miss_total: 1569 swrong=2 ewrong=2 total: 900 open/close in 6.38 seconds: 140.99 ops/second llite.lustre-ffff948110d36000.statahead_max=0 1001 real 0m13.424s user 0m0.038s sys 0m2.937s 'ls -l' 1000 files without statahead: 13 sec llite.lustre-ffff948110d36000.statahead_max=32 llite.lustre-ffff948110d36000.statahead_max=32 1001 real 0m4.254s user 0m0.022s sys 0m1.650s 'ls -l' 1000 files with statahead: 4 sec statahead total: 114 statahead wrong: 2 agl total: 110 list_total: 31 fname_total: 83 hit_total: 4822 miss_total: 1571 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 8 seconds llite.lustre-ffff948110d36000.statahead_stats= statahead total: 114 statahead wrong: 2 agl total: 110 list_total: 31 fname_total: 83 hit_total: 4822 miss_total: 1571 mdc.lustre-MDT0000-mdc-ffff948110d36000.batch_stats= snapshot_time: 1787104555.190138307 secs.nsecs start_time: 1787104511.050440259 secs.nsecs elapsed_time: 44.139698048 secs.nsecs subreqs per batch batches %% cum %% 1: 5 12 12 2: 1 2 15 4: 0 0 15 8: 3 7 23 16: 25 64 87 32: 5 12 100 mdc.lustre-MDT0001-mdc-ffff948110d36000.batch_stats= snapshot_time: 1787104555.190201229 secs.nsecs start_time: 1787104511.050515042 secs.nsecs elapsed_time: 44.139686187 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 7 4: 1 2 10 8: 2 5 15 16: 9 22 37 32: 25 62 100 - open/close 1972 (time 1787104566.70 total 10.01 last 197.09) - open/close 3796 (time 1787104576.70 total 20.01 last 182.40) - open/close 5534 (time 1787104586.71 total 30.01 last 173.74) - open/close 7028 (time 1787104596.71 total 40.01 last 149.39) - open/close 8465 (time 1787104606.71 total 50.01 last 143.68) total: 10000 open/close in 58.40 seconds: 171.25 ops/second llite.lustre-ffff948110d36000.statahead_batch_max=0 llite.lustre-ffff948110d36000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948110d36000.stats=clear mdc.lustre-MDT0001-mdc-ffff948110d36000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.318s user 0m0.270s sys 0m24.055s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff948110d36000.statahead_batch_max=32 llite.lustre-ffff948110d36000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948110d36000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff948110d36000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff948110d36000.stats=clear mdc.lustre-MDT0001-mdc-ffff948110d36000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.487s user 0m0.232s sys 0m17.033s batched statahead RPC= hit count=9986 mdc.lustre-MDT0000-mdc-ffff948110d36000.batch_stats= snapshot_time: 1787104713.411076590 secs.nsecs start_time: 1787104655.276420929 secs.nsecs elapsed_time: 58.134655661 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-ffff948110d36000.batch_stats= snapshot_time: 1787104713.411204085 secs.nsecs start_time: 1787104655.277378698 secs.nsecs elapsed_time: 58.133825387 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff948110d36000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff948110d36000.batch_stats=0 llite.lustre-ffff948110d36000.statahead_max=2048 llite.lustre-ffff948110d36000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff948110d36000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff948110d36000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.29 seconds: 77.60 ops/second llite.lustre-ffff948110d36000.statahead_max=0 101 real 0m1.153s user 0m0.005s sys 0m0.308s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff948110d36000.statahead_max=2048 llite.lustre-ffff948110d36000.statahead_max=2048 101 real 0m0.464s user 0m0.002s sys 0m0.192s '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 total: 900 open/close in 4.86 seconds: 185.02 ops/second llite.lustre-ffff948110d36000.statahead_max=0 1001 real 0m11.319s user 0m0.040s sys 0m2.910s 'ls -l' 1000 files without statahead: 12 sec llite.lustre-ffff948110d36000.statahead_max=2048 llite.lustre-ffff948110d36000.statahead_max=2048 1001 real 0m3.285s user 0m0.017s sys 0m1.598s '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: 11084 miss_total: 16 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 8 seconds llite.lustre-ffff948110d36000.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-ffff948110d36000.batch_stats= snapshot_time: 1787104895.328795713 secs.nsecs start_time: 1787104714.540123812 secs.nsecs elapsed_time: 180.788671901 secs.nsecs subreqs per batch batches %% cum %% 1: 3 37 37 2: 1 12 50 4: 0 0 50 8: 2 25 75 16: 0 0 75 32: 0 0 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff948110d36000.batch_stats= snapshot_time: 1787104895.328857963 secs.nsecs start_time: 1787104714.540268065 secs.nsecs elapsed_time: 180.788589898 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 22 22 4: 0 0 22 8: 2 22 44 16: 1 11 55 32: 0 0 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 1884 (time 1787104906.56 total 10.00 last 188.34) - open/close 4573 (time 1787104916.57 total 20.00 last 268.87) - open/close 7393 (time 1787104926.57 total 30.01 last 281.90) - open/close 9787 (time 1787104936.57 total 40.01 last 239.40) total: 10000 open/close in 40.82 seconds: 244.98 ops/second llite.lustre-ffff948110d36000.statahead_batch_max=0 llite.lustre-ffff948110d36000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948110d36000.stats=clear mdc.lustre-MDT0001-mdc-ffff948110d36000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.587s user 0m0.225s sys 0m26.171s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff948110d36000.statahead_batch_max=256 llite.lustre-ffff948110d36000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff948110d36000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff948110d36000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff948110d36000.stats=clear mdc.lustre-MDT0001-mdc-ffff948110d36000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.688s user 0m0.263s sys 0m24.178s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff948110d36000.batch_stats= snapshot_time: 1787105019.455066536 secs.nsecs start_time: 1787104975.722842579 secs.nsecs elapsed_time: 43.732223957 secs.nsecs subreqs per batch batches %% cum %% 1: 296 61 61 2: 68 14 75 4: 40 8 83 8: 16 3 87 16: 3 0 87 32: 19 3 91 64: 5 1 92 128: 2 0 93 256: 33 6 100 mdc.lustre-MDT0001-mdc-ffff948110d36000.batch_stats= snapshot_time: 1787105019.455133402 secs.nsecs start_time: 1787104975.722958038 secs.nsecs elapsed_time: 43.732175364 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-ffff948110d36000.statahead_batch_max=64 llite.lustre-ffff948110d36000.statahead_max=128