== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:53:35 (1787554415) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff973dc12cb800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff973dc12cb800.batch_stats=0 llite.lustre-ffff973dc12cb800.statahead_max=32 llite.lustre-ffff973dc12cb800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff973dc12cb800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff973dc12cb800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.21 seconds: 45.25 ops/second llite.lustre-ffff973dc12cb800.statahead_max=0 101 real 0m1.833s user 0m0.004s sys 0m0.301s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff973dc12cb800.statahead_max=32 llite.lustre-ffff973dc12cb800.statahead_max=32 101 real 0m0.963s user 0m0.005s sys 0m0.178s 'ls -l' 100 files with statahead: 1 sec statahead total: 132 statahead wrong: 2 agl total: 118 list_total: 30 fname_total: 88 hit_total: 4038 miss_total: 1202 swrong=2 ewrong=2 - open/close 807 (time 1787554440.15 total 10.00 last 80.67) total: 900 open/close in 11.21 seconds: 80.26 ops/second llite.lustre-ffff973dc12cb800.statahead_max=0 1001 real 0m21.174s user 0m0.031s sys 0m2.930s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff973dc12cb800.statahead_max=32 llite.lustre-ffff973dc12cb800.statahead_max=32 1001 real 0m7.357s user 0m0.033s sys 0m1.435s 'ls -l' 1000 files with statahead: 7 sec statahead total: 133 statahead wrong: 2 agl total: 119 list_total: 31 fname_total: 88 hit_total: 5036 miss_total: 1204 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff973dc12cb800.statahead_stats= statahead total: 133 statahead wrong: 2 agl total: 119 list_total: 31 fname_total: 88 hit_total: 5036 miss_total: 1204 mdc.lustre-MDT0000-mdc-ffff973dc12cb800.batch_stats= snapshot_time: 1787554499.826085667 secs.nsecs start_time: 1787554419.212819758 secs.nsecs elapsed_time: 80.613265909 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 3 7 15 16: 19 48 64 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff973dc12cb800.batch_stats= snapshot_time: 1787554499.826159178 secs.nsecs start_time: 1787554419.212940263 secs.nsecs elapsed_time: 80.613218915 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 2 5 12 16: 21 53 66 32: 13 33 100 - open/close 854 (time 1787554512.24 total 10.01 last 85.35) - open/close 1515 (time 1787554522.24 total 20.01 last 66.06) - open/close 2345 (time 1787554532.25 total 30.02 last 82.94) - open/close 3035 (time 1787554542.25 total 40.02 last 68.99) - open/close 3862 (time 1787554552.26 total 50.03 last 82.65) - open/close 4641 (time 1787554562.29 total 60.06 last 77.65) - open/close 5471 (time 1787554572.29 total 70.06 last 82.99) - open/close 6328 (time 1787554582.29 total 80.06 last 85.67) - open/close 7126 (time 1787554592.30 total 90.06 last 79.80) - open/close 7973 (time 1787554602.31 total 100.08 last 84.56) - open/close 8785 (time 1787554612.32 total 110.08 last 81.17) - open/close 9623 (time 1787554622.32 total 120.09 last 83.72) total: 10000 open/close in 124.43 seconds: 80.37 ops/second llite.lustre-ffff973dc12cb800.statahead_batch_max=0 llite.lustre-ffff973dc12cb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff973dc12cb800.stats=clear mdc.lustre-MDT0001-mdc-ffff973dc12cb800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.132s user 0m0.309s sys 0m14.288s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff973dc12cb800.statahead_batch_max=32 llite.lustre-ffff973dc12cb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff973dc12cb800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff973dc12cb800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff973dc12cb800.stats=clear mdc.lustre-MDT0001-mdc-ffff973dc12cb800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m42.116s user 0m0.316s sys 0m13.795s batched statahead RPC= hit count=9985 mdc.lustre-MDT0000-mdc-ffff973dc12cb800.batch_stats= snapshot_time: 1787554808.712017295 secs.nsecs start_time: 1787554696.659719484 secs.nsecs elapsed_time: 112.052297811 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-ffff973dc12cb800.batch_stats= snapshot_time: 1787554808.712080509 secs.nsecs start_time: 1787554696.659872961 secs.nsecs elapsed_time: 112.052207548 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff973dc12cb800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff973dc12cb800.batch_stats=0 llite.lustre-ffff973dc12cb800.statahead_max=2048 llite.lustre-ffff973dc12cb800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff973dc12cb800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff973dc12cb800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.83 seconds: 35.30 ops/second llite.lustre-ffff973dc12cb800.statahead_max=0 101 real 0m1.977s user 0m0.006s sys 0m0.307s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff973dc12cb800.statahead_max=2048 llite.lustre-ffff973dc12cb800.statahead_max=2048 101 real 0m0.752s user 0m0.006s sys 0m0.190s '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: 10084 miss_total: 16 swrong=0 ewrong=0 - open/close 882 (time 1787555103.11 total 10.00 last 88.17) total: 900 open/close in 10.28 seconds: 87.54 ops/second llite.lustre-ffff973dc12cb800.statahead_max=0 1001 real 0m21.313s user 0m0.031s sys 0m2.860s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff973dc12cb800.statahead_max=2048 llite.lustre-ffff973dc12cb800.statahead_max=2048 1001 real 0m5.034s user 0m0.029s sys 0m1.552s '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: 11083 miss_total: 17 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff973dc12cb800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 mdc.lustre-MDT0000-mdc-ffff973dc12cb800.batch_stats= snapshot_time: 1787555158.004222315 secs.nsecs start_time: 1787554811.029916960 secs.nsecs elapsed_time: 346.974305355 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 2 22 44 16: 1 11 55 32: 2 22 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff973dc12cb800.batch_stats= snapshot_time: 1787555158.004297035 secs.nsecs start_time: 1787554811.030086427 secs.nsecs elapsed_time: 346.974210608 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 3 33 55 16: 1 11 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 - open/close 807 (time 1787555170.22 total 10.01 last 80.64) - open/close 1671 (time 1787555180.23 total 20.02 last 86.31) - open/close 2570 (time 1787555190.25 total 30.04 last 89.75) - open/close 3431 (time 1787555200.25 total 40.04 last 86.10) - open/close 4344 (time 1787555210.25 total 50.04 last 91.30) - open/close 5194 (time 1787555220.25 total 60.04 last 84.97) - open/close 6070 (time 1787555230.26 total 70.05 last 87.54) - open/close 6937 (time 1787555240.26 total 80.05 last 86.69) - open/close 7872 (time 1787555250.28 total 90.07 last 93.33) - open/close 8646 (time 1787555260.30 total 100.08 last 77.27) - open/close 9519 (time 1787555270.30 total 110.09 last 87.27) total: 10000 open/close in 115.37 seconds: 86.67 ops/second llite.lustre-ffff973dc12cb800.statahead_batch_max=0 llite.lustre-ffff973dc12cb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff973dc12cb800.stats=clear mdc.lustre-MDT0001-mdc-ffff973dc12cb800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.867s user 0m0.300s sys 0m15.099s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff973dc12cb800.statahead_batch_max=256 llite.lustre-ffff973dc12cb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff973dc12cb800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff973dc12cb800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff973dc12cb800.stats=clear mdc.lustre-MDT0001-mdc-ffff973dc12cb800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.342s user 0m0.303s sys 0m14.681s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff973dc12cb800.batch_stats= snapshot_time: 1787555401.273352729 secs.nsecs start_time: 1787555337.980732408 secs.nsecs elapsed_time: 63.292620321 secs.nsecs subreqs per batch batches %% cum %% 1: 62 36 36 2: 19 11 48 4: 14 8 56 8: 8 4 61 16: 6 3 64 32: 15 8 73 64: 7 4 77 128: 2 1 79 256: 35 20 100 mdc.lustre-MDT0001-mdc-ffff973dc12cb800.batch_stats= snapshot_time: 1787555401.273768134 secs.nsecs start_time: 1787555337.980807905 secs.nsecs elapsed_time: 63.292960229 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-ffff973dc12cb800.statahead_batch_max=64 llite.lustre-ffff973dc12cb800.statahead_max=128