== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:38:58 (1781278738) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff952b86c22800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff952b86c22800.batch_stats=0 llite.lustre-ffff952b86c22800.statahead_max=32 llite.lustre-ffff952b86c22800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff952b86c22800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff952b86c22800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.19 seconds: 31.37 ops/second llite.lustre-ffff952b86c22800.statahead_max=0 101 real 0m2.155s user 0m0.005s sys 0m0.321s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff952b86c22800.statahead_max=32 llite.lustre-ffff952b86c22800.statahead_max=32 101 real 0m1.254s user 0m0.004s sys 0m0.202s 'ls -l' 100 files with statahead: 1 sec statahead total: 127 statahead wrong: 2 agl total: 121 list_total: 30 fname_total: 75 hit_total: 4078 miss_total: 1654 swrong=2 ewrong=2 - open/close 748 (time 1781278767.59 total 10.01 last 74.72) total: 900 open/close in 12.05 seconds: 74.69 ops/second llite.lustre-ffff952b86c22800.statahead_max=0 1001 real 0m23.214s user 0m0.043s sys 0m3.256s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff952b86c22800.statahead_max=32 llite.lustre-ffff952b86c22800.statahead_max=32 1001 real 0m15.051s user 0m0.035s sys 0m1.777s 'ls -l' 1000 files with statahead: 15 sec statahead total: 128 statahead wrong: 2 agl total: 122 list_total: 31 fname_total: 75 hit_total: 5075 miss_total: 1657 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 25 seconds llite.lustre-ffff952b86c22800.statahead_stats= statahead total: 128 statahead wrong: 2 agl total: 122 list_total: 31 fname_total: 75 hit_total: 5075 miss_total: 1657 mdc.lustre-MDT0000-mdc-ffff952b86c22800.batch_stats= snapshot_time: 1781278849.660126326 secs.nsecs start_time: 1781278743.361626444 secs.nsecs elapsed_time: 106.298499882 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 1 2 5 4: 2 5 10 8: 2 5 15 16: 19 48 64 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff952b86c22800.batch_stats= snapshot_time: 1781278849.660201236 secs.nsecs start_time: 1781278743.361710231 secs.nsecs elapsed_time: 106.298491005 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 1 2 5 4: 2 5 10 8: 3 7 17 16: 18 45 62 32: 15 37 100 - open/close 721 (time 1781278862.31 total 10.00 last 72.07) - open/close 1450 (time 1781278872.34 total 20.03 last 72.69) - open/close 1916 (time 1781278882.35 total 30.05 last 46.54) - open/close 2413 (time 1781278892.36 total 40.05 last 49.67) - open/close 3254 (time 1781278902.38 total 50.07 last 83.94) - open/close 4055 (time 1781278912.39 total 60.09 last 79.96) - open/close 4808 (time 1781278922.39 total 70.09 last 75.28) - open/close 5508 (time 1781278932.41 total 80.10 last 69.92) - open/close 6314 (time 1781278942.41 total 90.10 last 80.57) - open/close 7145 (time 1781278952.41 total 100.11 last 83.06) - open/close 7859 (time 1781278962.42 total 110.11 last 71.37) - open/close 8510 (time 1781278972.42 total 120.12 last 65.08) - open/close 9285 (time 1781278982.43 total 130.13 last 77.42) total: 10000 open/close in 139.68 seconds: 71.59 ops/second llite.lustre-ffff952b86c22800.statahead_batch_max=0 llite.lustre-ffff952b86c22800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff952b86c22800.stats=clear mdc.lustre-MDT0001-mdc-ffff952b86c22800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m11.766s user 0m0.325s sys 0m15.927s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff952b86c22800.statahead_batch_max=32 llite.lustre-ffff952b86c22800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff952b86c22800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff952b86c22800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff952b86c22800.stats=clear mdc.lustre-MDT0001-mdc-ffff952b86c22800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m58.513s user 0m0.290s sys 0m15.213s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff952b86c22800.batch_stats= snapshot_time: 1781279209.565541430 secs.nsecs start_time: 1781279074.214949776 secs.nsecs elapsed_time: 135.350591654 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-ffff952b86c22800.batch_stats= snapshot_time: 1781279209.565617100 secs.nsecs start_time: 1781279074.215104751 secs.nsecs elapsed_time: 135.350512349 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff952b86c22800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff952b86c22800.batch_stats=0 llite.lustre-ffff952b86c22800.statahead_max=2048 llite.lustre-ffff952b86c22800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff952b86c22800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff952b86c22800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.14 seconds: 31.84 ops/second llite.lustre-ffff952b86c22800.statahead_max=0 101 real 0m2.863s user 0m0.004s sys 0m0.324s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff952b86c22800.statahead_max=2048 llite.lustre-ffff952b86c22800.statahead_max=2048 101 real 0m1.097s user 0m0.007s sys 0m0.220s '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: 10080 miss_total: 20 swrong=0 ewrong=0 - open/close 459 (time 1781279563.46 total 10.01 last 45.84) total: 900 open/close in 18.84 seconds: 47.76 ops/second llite.lustre-ffff952b86c22800.statahead_max=0 1001 real 0m25.534s user 0m0.034s sys 0m3.190s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff952b86c22800.statahead_max=2048 llite.lustre-ffff952b86c22800.statahead_max=2048 1001 real 0m8.713s user 0m0.033s sys 0m1.535s 'ls -l' 1000 files with statahead: 9 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11079 miss_total: 21 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff952b86c22800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11079 miss_total: 21 mdc.lustre-MDT0000-mdc-ffff952b86c22800.batch_stats= snapshot_time: 1781279644.486723059 secs.nsecs start_time: 1781279211.734429471 secs.nsecs elapsed_time: 432.752293588 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 14 14 4: 1 14 28 8: 2 28 57 16: 0 0 57 32: 1 14 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff952b86c22800.batch_stats= snapshot_time: 1781279644.486802799 secs.nsecs start_time: 1781279211.734595660 secs.nsecs elapsed_time: 432.752207139 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 14 14 4: 1 14 28 8: 1 14 42 16: 1 14 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 - open/close 630 (time 1781279657.36 total 10.01 last 62.93) - open/close 1097 (time 1781279667.40 total 20.05 last 46.51) - open/close 1565 (time 1781279677.43 total 30.09 last 46.64) - open/close 2201 (time 1781279687.43 total 40.09 last 63.58) - open/close 2942 (time 1781279697.44 total 50.09 last 74.07) - open/close 3747 (time 1781279707.45 total 60.10 last 80.44) - open/close 4551 (time 1781279717.45 total 70.11 last 80.33) - open/close 5299 (time 1781279727.46 total 80.12 last 74.75) - open/close 6171 (time 1781279737.47 total 90.13 last 87.11) - open/close 6677 (time 1781279747.49 total 100.14 last 50.53) - open/close 7380 (time 1781279757.49 total 110.14 last 70.30) - open/close 8065 (time 1781279767.50 total 120.15 last 68.42) - open/close 8641 (time 1781279777.52 total 130.18 last 57.45) - open/close 9456 (time 1781279787.55 total 140.21 last 81.25) total: 10000 open/close in 148.64 seconds: 67.28 ops/second llite.lustre-ffff952b86c22800.statahead_batch_max=0 llite.lustre-ffff952b86c22800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff952b86c22800.stats=clear mdc.lustre-MDT0001-mdc-ffff952b86c22800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m18.337s user 0m0.350s sys 0m16.855s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff952b86c22800.statahead_batch_max=256 llite.lustre-ffff952b86c22800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff952b86c22800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff952b86c22800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff952b86c22800.stats=clear mdc.lustre-MDT0001-mdc-ffff952b86c22800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.662s user 0m0.323s sys 0m16.480s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff952b86c22800.batch_stats= snapshot_time: 1781279960.184084385 secs.nsecs start_time: 1781279887.252047627 secs.nsecs elapsed_time: 72.932036758 secs.nsecs subreqs per batch batches % cum % 1: 168 45 45 2: 72 19 65 4: 39 10 75 8: 19 5 80 16: 12 3 84 32: 16 4 88 64: 8 2 90 128: 1 0 91 256: 33 8 100 mdc.lustre-MDT0001-mdc-ffff952b86c22800.batch_stats= snapshot_time: 1781279960.184170682 secs.nsecs start_time: 1781279887.252135825 secs.nsecs elapsed_time: 72.932034857 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-ffff952b86c22800.statahead_batch_max=64 llite.lustre-ffff952b86c22800.statahead_max=128