== sanity test 123ad: Verify batching statahead works correctly ========================================================== 20:07:47 (1788566867) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8a1844eda000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a1844eda000.batch_stats=0 llite.lustre-ffff8a1844eda000.statahead_max=32 llite.lustre-ffff8a1844eda000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8a1844eda000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a1844eda000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.79 seconds: 55.87 ops/second llite.lustre-ffff8a1844eda000.statahead_max=0 101 real 0m2.248s user 0m0.002s sys 0m0.314s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8a1844eda000.statahead_max=32 llite.lustre-ffff8a1844eda000.statahead_max=32 101 real 0m1.328s user 0m0.007s sys 0m0.157s 'ls -l' 100 files with statahead: 1 sec statahead total: 150 statahead wrong: 2 agl total: 144 list_total: 31 fname_total: 104 hit_total: 3664 miss_total: 1699 swrong=2 ewrong=2 - open/close 862 (time 1788566894.75 total 10.00 last 86.18) total: 900 open/close in 10.39 seconds: 86.65 ops/second llite.lustre-ffff8a1844eda000.statahead_max=0 1001 real 0m19.622s user 0m0.037s sys 0m2.942s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff8a1844eda000.statahead_max=32 llite.lustre-ffff8a1844eda000.statahead_max=32 1001 real 0m10.149s user 0m0.028s sys 0m1.398s 'ls -l' 1000 files with statahead: 10 sec statahead total: 151 statahead wrong: 2 agl total: 145 list_total: 32 fname_total: 104 hit_total: 4662 miss_total: 1701 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8a1844eda000.statahead_stats= statahead total: 151 statahead wrong: 2 agl total: 145 list_total: 32 fname_total: 104 hit_total: 4662 miss_total: 1701 mdc.lustre-MDT0000-mdc-ffff8a1844eda000.batch_stats= snapshot_time: 1788566956.575333574 secs.nsecs start_time: 1788566872.735499643 secs.nsecs elapsed_time: 83.839833931 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 5 5 4: 3 8 13 8: 0 0 13 16: 28 77 91 32: 3 8 100 mdc.lustre-MDT0001-mdc-ffff8a1844eda000.batch_stats= snapshot_time: 1788566956.575397414 secs.nsecs start_time: 1788566872.735648209 secs.nsecs elapsed_time: 83.839749205 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 3 7 12 16: 9 23 35 32: 25 64 100 - open/close 884 (time 1788566969.35 total 10.00 last 88.38) - open/close 1684 (time 1788566979.36 total 20.02 last 79.89) - open/close 2738 (time 1788566989.37 total 30.02 last 105.32) - open/close 3830 (time 1788566999.37 total 40.03 last 109.18) - open/close 4851 (time 1788567009.38 total 50.03 last 102.02) - open/close 5752 (time 1788567019.41 total 60.07 last 89.79) - open/close 6445 (time 1788567029.41 total 70.07 last 69.29) - open/close 7537 (time 1788567039.42 total 80.07 last 109.19) - open/close 8330 (time 1788567049.42 total 90.07 last 79.28) - open/close 9014 (time 1788567059.42 total 100.08 last 68.38) - open/close 9434 (time 1788567069.44 total 110.09 last 41.93) - open/close 9987 (time 1788567079.44 total 120.10 last 55.28) total: 10000 open/close in 120.35 seconds: 83.09 ops/second llite.lustre-ffff8a1844eda000.statahead_batch_max=0 llite.lustre-ffff8a1844eda000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a1844eda000.stats=clear mdc.lustre-MDT0001-mdc-ffff8a1844eda000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.535s user 0m0.296s sys 0m14.309s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8a1844eda000.statahead_batch_max=32 llite.lustre-ffff8a1844eda000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a1844eda000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8a1844eda000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8a1844eda000.stats=clear mdc.lustre-MDT0001-mdc-ffff8a1844eda000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m45.614s user 0m0.298s sys 0m13.758s batched statahead RPC= hit count=9978 mdc.lustre-MDT0000-mdc-ffff8a1844eda000.batch_stats= snapshot_time: 1788567277.694268947 secs.nsecs start_time: 1788567162.175347501 secs.nsecs elapsed_time: 115.518921446 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff8a1844eda000.batch_stats= snapshot_time: 1788567277.694333087 secs.nsecs start_time: 1788567162.175494029 secs.nsecs elapsed_time: 115.518839058 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8a1844eda000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a1844eda000.batch_stats=0 llite.lustre-ffff8a1844eda000.statahead_max=2048 llite.lustre-ffff8a1844eda000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8a1844eda000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a1844eda000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.62 seconds: 38.12 ops/second llite.lustre-ffff8a1844eda000.statahead_max=0 101 real 0m3.037s user 0m0.003s sys 0m0.308s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8a1844eda000.statahead_max=2048 llite.lustre-ffff8a1844eda000.statahead_max=2048 101 real 0m1.070s user 0m0.006s sys 0m0.151s '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: 10077 miss_total: 23 swrong=0 ewrong=0 - open/close 398 (time 1788567625.91 total 10.00 last 39.78) total: 900 open/close in 19.57 seconds: 45.99 ops/second llite.lustre-ffff8a1844eda000.statahead_max=0 1001 real 0m30.380s user 0m0.037s sys 0m2.965s 'ls -l' 1000 files without statahead: 30 sec llite.lustre-ffff8a1844eda000.statahead_max=2048 llite.lustre-ffff8a1844eda000.statahead_max=2048 1001 real 0m9.819s user 0m0.031s sys 0m1.456s 'ls -l' 1000 files with statahead: 10 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11076 miss_total: 24 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff8a1844eda000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11076 miss_total: 24 mdc.lustre-MDT0000-mdc-ffff8a1844eda000.batch_stats= snapshot_time: 1788567714.361997156 secs.nsecs start_time: 1788567280.980420128 secs.nsecs elapsed_time: 433.381577028 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 28 28 4: 2 28 57 8: 0 0 57 16: 1 14 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff8a1844eda000.batch_stats= snapshot_time: 1788567714.362063042 secs.nsecs start_time: 1788567280.980602438 secs.nsecs elapsed_time: 433.381460604 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 10 10 8: 3 30 40 16: 1 10 50 32: 2 20 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 978 (time 1788567727.44 total 10.00 last 97.80) - open/close 1835 (time 1788567737.45 total 20.01 last 85.66) - open/close 2651 (time 1788567747.45 total 30.01 last 81.55) - open/close 3277 (time 1788567757.45 total 40.01 last 62.60) - open/close 4036 (time 1788567767.46 total 50.02 last 75.84) - open/close 4858 (time 1788567777.46 total 60.02 last 82.15) - open/close 5712 (time 1788567787.47 total 70.02 last 85.40) - open/close 6483 (time 1788567797.47 total 80.03 last 77.04) - open/close 7209 (time 1788567807.47 total 90.03 last 72.60) - open/close 7850 (time 1788567817.48 total 100.04 last 64.03) - open/close 8780 (time 1788567827.49 total 110.05 last 92.96) - open/close 9493 (time 1788567837.50 total 120.06 last 71.20) total: 10000 open/close in 127.20 seconds: 78.62 ops/second llite.lustre-ffff8a1844eda000.statahead_batch_max=0 llite.lustre-ffff8a1844eda000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a1844eda000.stats=clear mdc.lustre-MDT0001-mdc-ffff8a1844eda000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m21.853s user 0m0.333s sys 0m14.856s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8a1844eda000.statahead_batch_max=256 llite.lustre-ffff8a1844eda000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a1844eda000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8a1844eda000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8a1844eda000.stats=clear mdc.lustre-MDT0001-mdc-ffff8a1844eda000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.685s user 0m0.364s sys 0m14.209s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8a1844eda000.batch_stats= snapshot_time: 1788568023.659143103 secs.nsecs start_time: 1788567938.956571664 secs.nsecs elapsed_time: 84.702571439 secs.nsecs subreqs per batch batches %% cum %% 1: 117 39 39 2: 57 19 58 4: 43 14 72 8: 15 5 77 16: 9 3 80 32: 18 6 86 64: 7 2 88 128: 0 0 88 256: 34 11 100 mdc.lustre-MDT0001-mdc-ffff8a1844eda000.batch_stats= snapshot_time: 1788568023.659213946 secs.nsecs start_time: 1788567938.957581061 secs.nsecs elapsed_time: 84.701632885 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-ffff8a1844eda000.statahead_batch_max=64 llite.lustre-ffff8a1844eda000.statahead_max=128