== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:30:22 (1790101822) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffffa0524b681800.batch_stats=0 llite.lustre-ffffa0524b681800.statahead_max=32 llite.lustre-ffffa0524b681800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffffa0524b681800.batch_stats=0 total: 100 open/close in 3.03 seconds: 33.06 ops/second llite.lustre-ffffa0524b681800.statahead_max=0 101 real 0m2.681s user 0m0.009s sys 0m0.351s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffffa0524b681800.statahead_max=32 llite.lustre-ffffa0524b681800.statahead_max=32 101 real 0m1.419s user 0m0.002s sys 0m0.182s 'ls -l' 100 files with statahead: 1 sec statahead total: 92 statahead wrong: 2 agl total: 88 list_total: 29 fname_total: 63 hit_total: 4079 miss_total: 1502 swrong=2 ewrong=2 - open/close 542 (time 1790101852.45 total 10.01 last 54.16) total: 900 open/close in 16.33 seconds: 55.11 ops/second llite.lustre-ffffa0524b681800.statahead_max=0 1001 real 0m25.709s user 0m0.035s sys 0m3.084s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffffa0524b681800.statahead_max=32 llite.lustre-ffffa0524b681800.statahead_max=32 1001 real 0m9.171s user 0m0.031s sys 0m1.534s 'ls -l' 1000 files with statahead: 9 sec statahead total: 93 statahead wrong: 2 agl total: 89 list_total: 30 fname_total: 63 hit_total: 5075 miss_total: 1506 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffffa0524b681800.statahead_stats= statahead total: 93 statahead wrong: 2 agl total: 89 list_total: 30 fname_total: 63 hit_total: 5075 miss_total: 1506 mdc.lustre-MDT0000-mdc-ffffa0524b681800.batch_stats= snapshot_time: 1790101928.199621120 secs.nsecs start_time: 1790101828.380802690 secs.nsecs elapsed_time: 99.818818430 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 569 (time 1790101941.12 total 10.01 last 56.87) - open/close 1157 (time 1790101951.14 total 20.03 last 58.68) - open/close 1778 (time 1790101961.15 total 30.04 last 62.00) - open/close 2350 (time 1790101971.15 total 40.04 last 57.20) - open/close 2954 (time 1790101981.16 total 50.05 last 60.36) - open/close 3566 (time 1790101991.17 total 60.06 last 61.15) - open/close 4172 (time 1790102001.20 total 70.09 last 60.42) - open/close 4779 (time 1790102011.20 total 80.09 last 60.69) - open/close 5397 (time 1790102021.22 total 90.10 last 61.71) - open/close 5989 (time 1790102031.22 total 100.11 last 59.15) - open/close 6609 (time 1790102041.23 total 110.12 last 61.95) - open/close 7207 (time 1790102051.24 total 120.13 last 59.75) - open/close 7796 (time 1790102061.26 total 130.15 last 58.78) - open/close 8405 (time 1790102071.27 total 140.15 last 60.87) - open/close 9038 (time 1790102081.28 total 150.17 last 63.19) - open/close 9627 (time 1790102091.30 total 160.18 last 58.82) total: 10000 open/close in 166.31 seconds: 60.13 ops/second llite.lustre-ffffa0524b681800.statahead_batch_max=0 llite.lustre-ffffa0524b681800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0524b681800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.530s user 0m0.351s sys 0m15.347s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffffa0524b681800.statahead_batch_max=32 llite.lustre-ffffa0524b681800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0524b681800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffffa0524b681800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m45.064s user 0m0.315s sys 0m13.951s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffffa0524b681800.batch_stats= snapshot_time: 1790102286.892762474 secs.nsecs start_time: 1790102171.546076726 secs.nsecs elapsed_time: 115.346685748 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-ffffa0524b681800.batch_stats=0 llite.lustre-ffffa0524b681800.statahead_max=2048 llite.lustre-ffffa0524b681800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffffa0524b681800.batch_stats=0 total: 100 open/close in 2.91 seconds: 34.38 ops/second llite.lustre-ffffa0524b681800.statahead_max=0 101 real 0m2.879s user 0m0.006s sys 0m0.325s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffffa0524b681800.statahead_max=2048 llite.lustre-ffffa0524b681800.statahead_max=2048 101 real 0m0.946s user 0m0.004s sys 0m0.167s '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 632 (time 1790102655.25 total 10.00 last 63.19) total: 900 open/close in 14.48 seconds: 62.15 ops/second llite.lustre-ffffa0524b681800.statahead_max=0 1001 real 0m25.387s user 0m0.052s sys 0m3.377s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffffa0524b681800.statahead_max=2048 llite.lustre-ffffa0524b681800.statahead_max=2048 1001 real 0m7.350s user 0m0.029s sys 0m1.441s 'ls -l' 1000 files with statahead: 8 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: 23 seconds llite.lustre-ffffa0524b681800.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-ffffa0524b681800.batch_stats= snapshot_time: 1790102728.838131494 secs.nsecs start_time: 1790102289.899504049 secs.nsecs elapsed_time: 438.938627445 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 22 22 16: 2 22 44 32: 0 0 44 64: 0 0 44 128: 1 11 55 256: 4 44 100 - open/close 636 (time 1790102741.90 total 10.02 last 63.45) - open/close 1280 (time 1790102751.91 total 20.03 last 64.35) - open/close 1883 (time 1790102761.91 total 30.03 last 60.30) - open/close 2465 (time 1790102771.91 total 40.04 last 58.18) - open/close 3008 (time 1790102781.92 total 50.04 last 54.25) - open/close 3620 (time 1790102791.94 total 60.06 last 61.12) - open/close 4164 (time 1790102801.94 total 70.06 last 54.40) - open/close 4702 (time 1790102811.96 total 80.08 last 53.67) - open/close 5238 (time 1790102821.97 total 90.09 last 53.56) - open/close 5795 (time 1790102831.97 total 100.09 last 55.69) - open/close 6275 (time 1790102841.97 total 110.09 last 47.99) - open/close 6688 (time 1790102851.99 total 120.11 last 41.21) - open/close 7214 (time 1790102862.00 total 130.12 last 52.57) - open/close 7773 (time 1790102872.01 total 140.13 last 55.86) - open/close 8340 (time 1790102882.02 total 150.14 last 56.63) - open/close 8877 (time 1790102892.04 total 160.16 last 53.58) - open/close 9414 (time 1790102902.05 total 170.17 last 53.63) total: 10000 open/close in 180.09 seconds: 55.53 ops/second llite.lustre-ffffa0524b681800.statahead_batch_max=0 llite.lustre-ffffa0524b681800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0524b681800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m12.197s user 0m0.355s sys 0m15.609s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffffa0524b681800.statahead_batch_max=256 llite.lustre-ffffa0524b681800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0524b681800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffffa0524b681800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.550s user 0m0.294s sys 0m14.631s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffffa0524b681800.batch_stats= snapshot_time: 1790103058.966813488 secs.nsecs start_time: 1790102994.006941219 secs.nsecs elapsed_time: 64.959872269 secs.nsecs subreqs per batch batches %% cum %% 1: 145 47 47 2: 45 14 62 4: 34 11 73 8: 13 4 78 16: 8 2 80 32: 17 5 86 64: 5 1 88 128: 2 0 88 256: 34 11 100 unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 1 seconds: 0.000000 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-ffffa0524b681800.statahead_batch_max=64 llite.lustre-ffffa0524b681800.statahead_max=128