== sanity test 123ad: Verify batching statahead works correctly ========================================================== 13:50:16 (1783446616) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff89c602d79800.batch_stats=0 llite.lustre-ffff89c602d79800.statahead_max=32 llite.lustre-ffff89c602d79800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff89c602d79800.batch_stats=0 total: 100 open/close in 2.23 seconds: 44.93 ops/second llite.lustre-ffff89c602d79800.statahead_max=0 101 real 0m1.928s user 0m0.006s sys 0m0.333s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff89c602d79800.statahead_max=32 llite.lustre-ffff89c602d79800.statahead_max=32 101 real 0m0.831s user 0m0.004s sys 0m0.191s 'ls -l' 100 files with statahead: 1 sec statahead total: 142 statahead wrong: 2 agl total: 121 list_total: 30 fname_total: 112 hit_total: 3757 miss_total: 1352 swrong=2 ewrong=2 - open/close 776 (time 1783446639.46 total 10.01 last 77.50) total: 900 open/close in 11.60 seconds: 77.57 ops/second llite.lustre-ffff89c602d79800.statahead_max=0 1001 real 0m18.844s user 0m0.031s sys 0m3.140s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff89c602d79800.statahead_max=32 llite.lustre-ffff89c602d79800.statahead_max=32 1001 real 0m6.635s user 0m0.033s sys 0m1.652s 'ls -l' 1000 files with statahead: 7 sec statahead total: 143 statahead wrong: 2 agl total: 122 list_total: 31 fname_total: 112 hit_total: 4756 miss_total: 1353 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff89c602d79800.statahead_stats= statahead total: 143 statahead wrong: 2 agl total: 122 list_total: 31 fname_total: 112 hit_total: 4756 miss_total: 1353 mdc.lustre-MDT0000-mdc-ffff89c602d79800.batch_stats= snapshot_time: 1783446692.593803930 secs.nsecs start_time: 1783446619.665933491 secs.nsecs elapsed_time: 72.927870439 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 2 5 10 16: 2 5 15 32: 34 85 100 - open/close 840 (time 1783446704.63 total 10.01 last 83.88) - open/close 1710 (time 1783446714.63 total 20.02 last 86.94) - open/close 2564 (time 1783446724.64 total 30.03 last 85.34) - open/close 3421 (time 1783446734.67 total 40.06 last 85.41) - open/close 4322 (time 1783446744.68 total 50.07 last 90.05) - open/close 5166 (time 1783446754.69 total 60.08 last 84.30) - open/close 6093 (time 1783446764.70 total 70.09 last 92.62) - open/close 7037 (time 1783446774.70 total 80.09 last 94.37) - open/close 8005 (time 1783446784.71 total 90.09 last 96.78) - open/close 9157 (time 1783446794.71 total 100.10 last 115.12) total: 10000 open/close in 108.42 seconds: 92.23 ops/second llite.lustre-ffff89c602d79800.statahead_batch_max=0 llite.lustre-ffff89c602d79800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89c602d79800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m43.117s user 0m0.308s sys 0m22.106s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff89c602d79800.statahead_batch_max=32 llite.lustre-ffff89c602d79800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89c602d79800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff89c602d79800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.266s user 0m0.272s sys 0m17.448s batched statahead RPC= hit count=9986 mdc.lustre-MDT0000-mdc-ffff89c602d79800.batch_stats= snapshot_time: 1783446921.557225687 secs.nsecs start_time: 1783446852.318934441 secs.nsecs elapsed_time: 69.238291246 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff89c602d79800.batch_stats=0 llite.lustre-ffff89c602d79800.statahead_max=2048 llite.lustre-ffff89c602d79800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff89c602d79800.batch_stats=0 total: 100 open/close in 1.98 seconds: 50.53 ops/second llite.lustre-ffff89c602d79800.statahead_max=0 101 real 0m1.770s user 0m0.003s sys 0m0.322s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff89c602d79800.statahead_max=2048 llite.lustre-ffff89c602d79800.statahead_max=2048 101 real 0m0.584s user 0m0.002s sys 0m0.210s '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: 10085 miss_total: 15 swrong=0 ewrong=0 total: 900 open/close in 8.15 seconds: 110.36 ops/second llite.lustre-ffff89c602d79800.statahead_max=0 1001 real 0m16.555s user 0m0.032s sys 0m3.053s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff89c602d79800.statahead_max=2048 llite.lustre-ffff89c602d79800.statahead_max=2048 1001 real 0m5.110s user 0m0.022s sys 0m1.577s 'ls -l' 1000 files with statahead: 5 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: 13 seconds llite.lustre-ffff89c602d79800.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-ffff89c602d79800.batch_stats= snapshot_time: 1783447193.376753277 secs.nsecs start_time: 1783446923.371440496 secs.nsecs elapsed_time: 270.005312781 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 2 18 36 32: 2 18 54 64: 0 0 54 128: 1 9 63 256: 4 36 100 - open/close 1016 (time 1783447204.74 total 10.00 last 101.59) - open/close 1868 (time 1783447214.75 total 20.01 last 85.12) - open/close 2844 (time 1783447224.75 total 30.01 last 97.57) - open/close 3876 (time 1783447234.76 total 40.02 last 103.14) - open/close 4898 (time 1783447244.77 total 50.03 last 102.12) - open/close 5935 (time 1783447254.78 total 60.03 last 103.62) - open/close 7068 (time 1783447264.78 total 70.04 last 113.28) - open/close 8138 (time 1783447274.78 total 80.04 last 106.94) - open/close 9334 (time 1783447284.79 total 90.04 last 119.59) total: 10000 open/close in 95.91 seconds: 104.27 ops/second llite.lustre-ffff89c602d79800.statahead_batch_max=0 llite.lustre-ffff89c602d79800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89c602d79800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m38.525s user 0m0.288s sys 0m22.564s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff89c602d79800.statahead_batch_max=256 llite.lustre-ffff89c602d79800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89c602d79800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff89c602d79800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.545s user 0m0.256s sys 0m20.179s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff89c602d79800.batch_stats= snapshot_time: 1783447378.280542429 secs.nsecs start_time: 1783447334.989511635 secs.nsecs elapsed_time: 43.291030794 secs.nsecs subreqs per batch batches %% cum %% 1: 359 60 60 2: 89 15 75 4: 54 9 84 8: 24 4 88 16: 16 2 91 32: 12 2 93 64: 5 0 94 128: 0 0 94 256: 33 5 100 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-ffff89c602d79800.statahead_batch_max=64 llite.lustre-ffff89c602d79800.statahead_max=128