== sanity test 123ad: Verify batching statahead works correctly ========================================================== 15:31:36 (1784230296) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9fd404962800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fd404962800.batch_stats=0 llite.lustre-ffff9fd404962800.statahead_max=32 llite.lustre-ffff9fd404962800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9fd404962800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fd404962800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.04 seconds: 96.20 ops/second llite.lustre-ffff9fd404962800.statahead_max=0 101 real 0m0.963s user 0m0.007s sys 0m0.305s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9fd404962800.statahead_max=32 llite.lustre-ffff9fd404962800.statahead_max=32 101 real 0m0.448s user 0m0.004s sys 0m0.204s 'ls -l' 100 files with statahead: 1 sec statahead total: 113 statahead wrong: 2 agl total: 109 list_total: 30 fname_total: 83 hit_total: 4095 miss_total: 1109 swrong=2 ewrong=2 total: 900 open/close in 3.20 seconds: 281.15 ops/second llite.lustre-ffff9fd404962800.statahead_max=0 1001 real 0m8.372s user 0m0.029s sys 0m2.824s 'ls -l' 1000 files without statahead: 8 sec llite.lustre-ffff9fd404962800.statahead_max=32 llite.lustre-ffff9fd404962800.statahead_max=32 1001 real 0m4.525s user 0m0.022s sys 0m2.149s 'ls -l' 1000 files with statahead: 5 sec statahead total: 114 statahead wrong: 2 agl total: 110 list_total: 31 fname_total: 83 hit_total: 5094 miss_total: 1110 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 8 seconds llite.lustre-ffff9fd404962800.statahead_stats= statahead total: 114 statahead wrong: 2 agl total: 110 list_total: 31 fname_total: 83 hit_total: 5094 miss_total: 1110 mdc.lustre-MDT0000-mdc-ffff9fd404962800.batch_stats= snapshot_time: 1784230330.834016693 secs.nsecs start_time: 1784230298.027024571 secs.nsecs elapsed_time: 32.806992122 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 2 5 10 8: 2 5 15 16: 23 57 72 32: 11 27 100 mdc.lustre-MDT0001-mdc-ffff9fd404962800.batch_stats= snapshot_time: 1784230330.834077275 secs.nsecs start_time: 1784230298.027106767 secs.nsecs elapsed_time: 32.806970508 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 5 5 4: 2 5 10 8: 2 5 15 16: 18 46 61 32: 15 38 100 - open/close 3626 (time 1784230341.79 total 10.00 last 362.56) - open/close 7532 (time 1784230351.79 total 20.00 last 390.55) total: 10000 open/close in 26.43 seconds: 378.29 ops/second llite.lustre-ffff9fd404962800.statahead_batch_max=0 llite.lustre-ffff9fd404962800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fd404962800.stats=clear mdc.lustre-MDT0001-mdc-ffff9fd404962800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.038s user 0m0.230s sys 0m33.775s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9fd404962800.statahead_batch_max=32 llite.lustre-ffff9fd404962800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fd404962800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9fd404962800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9fd404962800.stats=clear mdc.lustre-MDT0001-mdc-ffff9fd404962800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.295s user 0m0.199s sys 0m22.450s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9fd404962800.batch_stats= snapshot_time: 1784230444.318367607 secs.nsecs start_time: 1784230398.515764386 secs.nsecs elapsed_time: 45.802603221 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-ffff9fd404962800.batch_stats= snapshot_time: 1784230444.318408560 secs.nsecs start_time: 1784230398.515851469 secs.nsecs elapsed_time: 45.802557091 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9fd404962800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fd404962800.batch_stats=0 llite.lustre-ffff9fd404962800.statahead_max=2048 llite.lustre-ffff9fd404962800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9fd404962800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fd404962800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.21 seconds: 82.35 ops/second llite.lustre-ffff9fd404962800.statahead_max=0 101 real 0m0.713s user 0m0.004s sys 0m0.276s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9fd404962800.statahead_max=2048 llite.lustre-ffff9fd404962800.statahead_max=2048 101 real 0m0.392s user 0m0.007s sys 0m0.261s '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: 10098 miss_total: 2 swrong=0 ewrong=0 total: 900 open/close in 1.79 seconds: 503.19 ops/second llite.lustre-ffff9fd404962800.statahead_max=0 1001 real 0m6.078s user 0m0.034s sys 0m2.349s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9fd404962800.statahead_max=2048 llite.lustre-ffff9fd404962800.statahead_max=2048 1001 real 0m3.279s user 0m0.014s sys 0m1.340s '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-ffff9fd404962800.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-ffff9fd404962800.batch_stats= snapshot_time: 1784230560.166564679 secs.nsecs start_time: 1784230445.160446586 secs.nsecs elapsed_time: 115.006118093 secs.nsecs subreqs per batch batches %% cum %% 1: 1 14 14 2: 1 14 28 4: 1 14 42 8: 2 28 71 16: 0 0 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff9fd404962800.batch_stats= snapshot_time: 1784230560.166665059 secs.nsecs start_time: 1784230445.160575974 secs.nsecs elapsed_time: 115.006089085 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 3 33 44 16: 1 11 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 4830 (time 1784230570.90 total 10.00 last 482.92) - open/close 9735 (time 1784230580.90 total 20.00 last 490.47) total: 10000 open/close in 20.58 seconds: 485.96 ops/second llite.lustre-ffff9fd404962800.statahead_batch_max=0 llite.lustre-ffff9fd404962800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fd404962800.stats=clear mdc.lustre-MDT0001-mdc-ffff9fd404962800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.309s user 0m0.196s sys 0m32.746s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9fd404962800.statahead_batch_max=256 llite.lustre-ffff9fd404962800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fd404962800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9fd404962800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9fd404962800.stats=clear mdc.lustre-MDT0001-mdc-ffff9fd404962800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m30.256s user 0m0.151s sys 0m21.761s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9fd404962800.batch_stats= snapshot_time: 1784230661.098605424 secs.nsecs start_time: 1784230624.770571756 secs.nsecs elapsed_time: 36.328033668 secs.nsecs subreqs per batch batches %% cum %% 1: 378 67 67 2: 60 10 78 4: 42 7 86 8: 17 3 89 16: 2 0 89 32: 23 4 93 64: 1 0 93 128: 0 0 93 256: 34 6 100 mdc.lustre-MDT0001-mdc-ffff9fd404962800.batch_stats= snapshot_time: 1784230661.098662331 secs.nsecs start_time: 1784230624.770640459 secs.nsecs elapsed_time: 36.328021872 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-ffff9fd404962800.statahead_batch_max=64 llite.lustre-ffff9fd404962800.statahead_max=128