== sanity test 123ad: Verify batching statahead works correctly ========================================================== 06:44:02 (1790678642) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff920188e60000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff920188e60000.batch_stats=0 llite.lustre-ffff920188e60000.statahead_max=32 llite.lustre-ffff920188e60000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff920188e60000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff920188e60000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.13 seconds: 31.93 ops/second llite.lustre-ffff920188e60000.statahead_max=0 101 real 0m2.857s user 0m0.008s sys 0m0.339s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff920188e60000.statahead_max=32 llite.lustre-ffff920188e60000.statahead_max=32 101 real 0m1.739s user 0m0.005s sys 0m0.158s 'ls -l' 100 files with statahead: 2 sec statahead total: 132 statahead wrong: 2 agl total: 126 list_total: 32 fname_total: 79 hit_total: 3691 miss_total: 1746 swrong=2 ewrong=2 - open/close 616 (time 1790678674.79 total 10.02 last 61.50) total: 900 open/close in 14.83 seconds: 60.71 ops/second llite.lustre-ffff920188e60000.statahead_max=0 1001 real 0m31.952s user 0m0.040s sys 0m3.254s 'ls -l' 1000 files without statahead: 32 sec llite.lustre-ffff920188e60000.statahead_max=32 llite.lustre-ffff920188e60000.statahead_max=32 1001 real 0m11.423s user 0m0.030s sys 0m1.449s 'ls -l' 1000 files with statahead: 12 sec statahead total: 133 statahead wrong: 2 agl total: 127 list_total: 33 fname_total: 79 hit_total: 4689 miss_total: 1748 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff920188e60000.statahead_stats= statahead total: 133 statahead wrong: 2 agl total: 127 list_total: 33 fname_total: 79 hit_total: 4689 miss_total: 1748 mdc.lustre-MDT0000-mdc-ffff920188e60000.batch_stats= snapshot_time: 1790678764.125629764 secs.nsecs start_time: 1790678648.484719855 secs.nsecs elapsed_time: 115.640909909 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 8 4: 1 2 10 8: 4 10 21 16: 23 62 83 32: 6 16 100 mdc.lustre-MDT0001-mdc-ffff920188e60000.batch_stats= snapshot_time: 1790678764.125714286 secs.nsecs start_time: 1790678648.484801765 secs.nsecs elapsed_time: 115.640912521 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 2 5 10 8: 2 5 15 16: 12 30 45 32: 22 55 100 - open/close 624 (time 1790678777.45 total 10.00 last 62.37) - open/close 1259 (time 1790678787.46 total 20.02 last 63.40) - open/close 1864 (time 1790678797.47 total 30.03 last 60.47) - open/close 2497 (time 1790678807.47 total 40.03 last 63.28) - open/close 3146 (time 1790678817.48 total 50.04 last 64.83) - open/close 3835 (time 1790678827.49 total 60.05 last 68.86) - open/close 4421 (time 1790678837.49 total 70.05 last 58.60) - open/close 4953 (time 1790678847.50 total 80.05 last 53.16) - open/close 5518 (time 1790678857.51 total 90.07 last 56.42) - open/close 6087 (time 1790678867.53 total 100.08 last 56.82) - open/close 6747 (time 1790678877.53 total 110.08 last 66.00) - open/close 7427 (time 1790678887.53 total 120.08 last 67.99) - open/close 8178 (time 1790678897.54 total 130.09 last 75.03) - open/close 8797 (time 1790678907.55 total 140.10 last 61.84) - open/close 9447 (time 1790678917.55 total 150.11 last 64.96) total: 10000 open/close in 158.01 seconds: 63.29 ops/second llite.lustre-ffff920188e60000.statahead_batch_max=0 llite.lustre-ffff920188e60000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff920188e60000.stats=clear mdc.lustre-MDT0001-mdc-ffff920188e60000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m16.666s user 0m0.390s sys 0m16.650s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff920188e60000.statahead_batch_max=32 llite.lustre-ffff920188e60000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff920188e60000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff920188e60000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff920188e60000.stats=clear mdc.lustre-MDT0001-mdc-ffff920188e60000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m57.391s user 0m0.324s sys 0m15.286s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff920188e60000.batch_stats= snapshot_time: 1790679139.898054531 secs.nsecs start_time: 1790679010.893602099 secs.nsecs elapsed_time: 129.004452432 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-ffff920188e60000.batch_stats= snapshot_time: 1790679139.898119772 secs.nsecs start_time: 1790679010.893694972 secs.nsecs elapsed_time: 129.004424800 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff920188e60000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff920188e60000.batch_stats=0 llite.lustre-ffff920188e60000.statahead_max=2048 llite.lustre-ffff920188e60000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff920188e60000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff920188e60000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.25 seconds: 30.74 ops/second llite.lustre-ffff920188e60000.statahead_max=0 101 real 0m4.428s user 0m0.005s sys 0m0.401s 'ls -l' 100 files without statahead: 4 sec llite.lustre-ffff920188e60000.statahead_max=2048 llite.lustre-ffff920188e60000.statahead_max=2048 101 real 0m1.093s user 0m0.004s sys 0m0.205s '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 623 (time 1790679507.37 total 10.00 last 62.27) total: 900 open/close in 13.91 seconds: 64.72 ops/second llite.lustre-ffff920188e60000.statahead_max=0 1001 real 0m25.386s user 0m0.034s sys 0m3.215s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff920188e60000.statahead_max=2048 llite.lustre-ffff920188e60000.statahead_max=2048 1001 real 0m5.736s user 0m0.030s sys 0m1.385s 'ls -l' 1000 files with statahead: 6 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: 28 seconds llite.lustre-ffff920188e60000.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-ffff920188e60000.batch_stats= snapshot_time: 1790679583.199714517 secs.nsecs start_time: 1790679142.883339089 secs.nsecs elapsed_time: 440.316375428 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 6 60 60 16: 1 10 70 32: 1 10 80 64: 0 0 80 128: 0 0 80 256: 2 20 100 mdc.lustre-MDT0001-mdc-ffff920188e60000.batch_stats= snapshot_time: 1790679583.199791972 secs.nsecs start_time: 1790679142.883489973 secs.nsecs elapsed_time: 440.316301999 secs.nsecs subreqs per batch batches %% cum %% 1: 1 10 10 2: 1 10 20 4: 2 20 40 8: 0 0 40 16: 3 30 70 32: 1 10 80 64: 0 0 80 128: 0 0 80 256: 2 20 100 - open/close 581 (time 1790679596.17 total 10.00 last 58.08) - open/close 1091 (time 1790679606.18 total 20.01 last 50.95) - open/close 1690 (time 1790679616.19 total 30.03 last 59.82) - open/close 2265 (time 1790679626.19 total 40.03 last 57.47) - open/close 2851 (time 1790679636.20 total 50.04 last 58.55) - open/close 3436 (time 1790679646.21 total 60.04 last 58.47) - open/close 4045 (time 1790679656.21 total 70.04 last 60.90) - open/close 4682 (time 1790679666.21 total 80.05 last 63.70) - open/close 5345 (time 1790679676.21 total 90.05 last 66.26) - open/close 5965 (time 1790679686.22 total 100.06 last 61.95) - open/close 6557 (time 1790679696.23 total 110.06 last 59.17) - open/close 7130 (time 1790679706.23 total 120.07 last 57.27) - open/close 7738 (time 1790679716.24 total 130.07 last 60.78) - open/close 8396 (time 1790679726.26 total 140.10 last 65.62) - open/close 9027 (time 1790679736.29 total 150.13 last 62.94) - open/close 9678 (time 1790679746.31 total 160.15 last 64.95) total: 10000 open/close in 165.02 seconds: 60.60 ops/second llite.lustre-ffff920188e60000.statahead_batch_max=0 llite.lustre-ffff920188e60000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff920188e60000.stats=clear mdc.lustre-MDT0001-mdc-ffff920188e60000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.720s user 0m0.416s sys 0m16.437s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff920188e60000.statahead_batch_max=256 llite.lustre-ffff920188e60000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff920188e60000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff920188e60000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff920188e60000.stats=clear mdc.lustre-MDT0001-mdc-ffff920188e60000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.009s user 0m0.305s sys 0m15.494s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff920188e60000.batch_stats= snapshot_time: 1790679906.848043240 secs.nsecs start_time: 1790679831.184867608 secs.nsecs elapsed_time: 75.663175632 secs.nsecs subreqs per batch batches %% cum %% 1: 115 46 46 2: 26 10 57 4: 18 7 64 8: 16 6 71 16: 10 4 75 32: 17 6 82 64: 9 3 85 128: 1 0 86 256: 34 13 100 mdc.lustre-MDT0001-mdc-ffff920188e60000.batch_stats= snapshot_time: 1790679906.848114127 secs.nsecs start_time: 1790679831.185004770 secs.nsecs elapsed_time: 75.663109357 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-ffff920188e60000.statahead_batch_max=64 llite.lustre-ffff920188e60000.statahead_max=128