== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:41:03 (1782484863) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c7602f0e800.batch_stats=0 llite.lustre-ffff8c7602f0e800.statahead_max=32 llite.lustre-ffff8c7602f0e800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c7602f0e800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 1.56 seconds: 63.97 ops/second llite.lustre-ffff8c7602f0e800.statahead_max=0 101 real 0m1.487s user 0m0.002s sys 0m0.330s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8c7602f0e800.statahead_max=32 llite.lustre-ffff8c7602f0e800.statahead_max=32 101 real 0m0.583s user 0m0.005s sys 0m0.237s 'ls -l' 100 files with statahead: 1 sec statahead total: 106 statahead wrong: 2 agl total: 102 list_total: 30 fname_total: 66 hit_total: 4297 miss_total: 748 swrong=2 ewrong=2 total: 900 open/close in 7.53 seconds: 119.60 ops/second llite.lustre-ffff8c7602f0e800.statahead_max=0 1001 real 0m16.709s user 0m0.028s sys 0m3.245s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff8c7602f0e800.statahead_max=32 llite.lustre-ffff8c7602f0e800.statahead_max=32 1001 real 0m12.150s user 0m0.031s sys 0m1.467s 'ls -l' 1000 files with statahead: 12 sec statahead total: 107 statahead wrong: 2 agl total: 103 list_total: 31 fname_total: 66 hit_total: 5295 miss_total: 750 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 28 seconds llite.lustre-ffff8c7602f0e800.statahead_stats= statahead total: 107 statahead wrong: 2 agl total: 103 list_total: 31 fname_total: 66 hit_total: 5295 miss_total: 750 mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.batch_stats= snapshot_time: 1782484951.425330036 secs.nsecs start_time: 1782484865.507420072 secs.nsecs elapsed_time: 85.917909964 secs.nsecs subreqs per batch batches %% cum %% 1: 2 4 4 2: 1 2 7 4: 1 2 9 8: 3 7 17 16: 21 51 68 32: 13 31 100 mdc.lustre-MDT0001-mdc-ffff8c7602f0e800.batch_stats= snapshot_time: 1782484951.425413631 secs.nsecs start_time: 1782484865.507493615 secs.nsecs elapsed_time: 85.917920016 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 5 5 4: 3 7 12 8: 2 5 17 16: 16 41 58 32: 16 41 100 - open/close 639 (time 1782484964.97 total 10.01 last 63.85) - open/close 1366 (time 1782484974.97 total 20.01 last 72.70) - open/close 2204 (time 1782484984.98 total 30.01 last 83.77) - open/close 3075 (time 1782484994.98 total 40.02 last 87.06) - open/close 3946 (time 1782485004.98 total 50.02 last 87.07) - open/close 4912 (time 1782485014.99 total 60.02 last 96.56) - open/close 5828 (time 1782485024.99 total 70.03 last 91.56) - open/close 6732 (time 1782485035.00 total 80.03 last 90.34) - open/close 7624 (time 1782485045.00 total 90.04 last 89.18) - open/close 8552 (time 1782485055.02 total 100.05 last 92.67) - open/close 9498 (time 1782485065.03 total 110.06 last 94.48) total: 10000 open/close in 115.26 seconds: 86.76 ops/second llite.lustre-ffff8c7602f0e800.statahead_batch_max=0 llite.lustre-ffff8c7602f0e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.stats=clear mdc.lustre-MDT0001-mdc-ffff8c7602f0e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m43.522s user 0m0.320s sys 0m23.263s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8c7602f0e800.statahead_batch_max=32 llite.lustre-ffff8c7602f0e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8c7602f0e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.stats=clear mdc.lustre-MDT0001-mdc-ffff8c7602f0e800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.945s user 0m0.287s sys 0m17.697s batched statahead RPC= hit count=9987 mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.batch_stats= snapshot_time: 1782485189.867203066 secs.nsecs start_time: 1782485119.704351980 secs.nsecs elapsed_time: 70.162851086 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-ffff8c7602f0e800.batch_stats= snapshot_time: 1782485189.867722550 secs.nsecs start_time: 1782485119.704482701 secs.nsecs elapsed_time: 70.163239849 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c7602f0e800.batch_stats=0 llite.lustre-ffff8c7602f0e800.statahead_max=2048 llite.lustre-ffff8c7602f0e800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c7602f0e800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.64 seconds: 60.90 ops/second llite.lustre-ffff8c7602f0e800.statahead_max=0 101 real 0m1.619s user 0m0.006s sys 0m0.333s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8c7602f0e800.statahead_max=2048 llite.lustre-ffff8c7602f0e800.statahead_max=2048 101 real 0m0.489s user 0m0.003s sys 0m0.252s '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: 10086 miss_total: 14 swrong=0 ewrong=0 total: 900 open/close in 7.85 seconds: 114.70 ops/second llite.lustre-ffff8c7602f0e800.statahead_max=0 1001 real 0m16.993s user 0m0.029s sys 0m3.170s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff8c7602f0e800.statahead_max=2048 llite.lustre-ffff8c7602f0e800.statahead_max=2048 1001 real 0m4.146s user 0m0.025s sys 0m1.883s '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: 11085 miss_total: 15 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 12 seconds llite.lustre-ffff8c7602f0e800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11085 miss_total: 15 mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.batch_stats= snapshot_time: 1782485448.370195056 secs.nsecs start_time: 1782485191.462893900 secs.nsecs elapsed_time: 256.907301156 secs.nsecs subreqs per batch batches %% cum %% 1: 2 33 33 2: 0 0 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-ffff8c7602f0e800.batch_stats= snapshot_time: 1782485448.370306796 secs.nsecs start_time: 1782485191.463068717 secs.nsecs elapsed_time: 256.907238079 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 33 33 16: 1 11 44 32: 2 22 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 1198 (time 1782485459.96 total 10.00 last 119.80) - open/close 2380 (time 1782485469.96 total 20.00 last 118.19) - open/close 3491 (time 1782485479.96 total 30.00 last 111.09) - open/close 4567 (time 1782485489.97 total 40.01 last 107.54) - open/close 5713 (time 1782485499.98 total 50.02 last 114.47) - open/close 6920 (time 1782485509.98 total 60.02 last 120.67) - open/close 8116 (time 1782485519.99 total 70.02 last 119.57) - open/close 9341 (time 1782485529.99 total 80.03 last 122.45) total: 10000 open/close in 83.78 seconds: 119.36 ops/second llite.lustre-ffff8c7602f0e800.statahead_batch_max=0 llite.lustre-ffff8c7602f0e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.stats=clear mdc.lustre-MDT0001-mdc-ffff8c7602f0e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m38.523s user 0m0.279s sys 0m25.786s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8c7602f0e800.statahead_batch_max=256 llite.lustre-ffff8c7602f0e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8c7602f0e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.stats=clear mdc.lustre-MDT0001-mdc-ffff8c7602f0e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.960s user 0m0.231s sys 0m21.340s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8c7602f0e800.batch_stats= snapshot_time: 1782485618.896671484 secs.nsecs start_time: 1782485576.459685339 secs.nsecs elapsed_time: 42.436986145 secs.nsecs subreqs per batch batches %% cum %% 1: 374 70 70 2: 48 9 80 4: 30 5 85 8: 11 2 87 16: 7 1 89 32: 15 2 92 64: 8 1 93 128: 0 0 93 256: 34 6 100 mdc.lustre-MDT0001-mdc-ffff8c7602f0e800.batch_stats= snapshot_time: 1782485618.896731674 secs.nsecs start_time: 1782485576.459792148 secs.nsecs elapsed_time: 42.436939526 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-ffff8c7602f0e800.statahead_batch_max=64 llite.lustre-ffff8c7602f0e800.statahead_max=128