== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:44:37 (1789137877) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8b034bfab000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b034bfab000.batch_stats=0 llite.lustre-ffff8b034bfab000.statahead_max=32 llite.lustre-ffff8b034bfab000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8b034bfab000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b034bfab000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.34 seconds: 42.81 ops/second llite.lustre-ffff8b034bfab000.statahead_max=0 101 real 0m2.222s user 0m0.002s sys 0m0.298s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8b034bfab000.statahead_max=32 llite.lustre-ffff8b034bfab000.statahead_max=32 101 real 0m0.827s user 0m0.003s sys 0m0.169s 'ls -l' 100 files with statahead: 1 sec statahead total: 480 statahead wrong: 1 agl total: 175 list_total: 31 fname_total: 449 hit_total: 4342 miss_total: 1311 swrong=1 ewrong=1 total: 900 open/close in 9.90 seconds: 90.88 ops/second llite.lustre-ffff8b034bfab000.statahead_max=0 1001 real 0m19.584s user 0m0.035s sys 0m2.848s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff8b034bfab000.statahead_max=32 llite.lustre-ffff8b034bfab000.statahead_max=32 1001 real 0m8.747s user 0m0.031s sys 0m1.361s 'ls -l' 1000 files with statahead: 9 sec statahead total: 481 statahead wrong: 1 agl total: 176 list_total: 32 fname_total: 449 hit_total: 5339 miss_total: 1314 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff8b034bfab000.statahead_stats= statahead total: 481 statahead wrong: 1 agl total: 176 list_total: 32 fname_total: 449 hit_total: 5339 miss_total: 1314 mdc.lustre-MDT0000-mdc-ffff8b034bfab000.batch_stats= snapshot_time: 1789137959.512547992 secs.nsecs start_time: 1789137881.483878458 secs.nsecs elapsed_time: 78.028669534 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 1 2 10 4: 3 7 18 8: 0 0 18 16: 25 65 84 32: 6 15 100 mdc.lustre-MDT0001-mdc-ffff8b034bfab000.batch_stats= snapshot_time: 1789137959.512604714 secs.nsecs start_time: 1789137881.484177862 secs.nsecs elapsed_time: 78.028426852 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 2 2 8: 5 12 15 16: 11 28 43 32: 22 56 100 - open/close 923 (time 1789137972.42 total 10.00 last 92.26) - open/close 1681 (time 1789137982.42 total 20.00 last 75.80) - open/close 2547 (time 1789137992.43 total 30.01 last 86.55) - open/close 3470 (time 1789138002.43 total 40.01 last 92.28) - open/close 4419 (time 1789138012.44 total 50.02 last 94.86) - open/close 5343 (time 1789138022.44 total 60.02 last 92.38) - open/close 6233 (time 1789138032.45 total 70.03 last 88.93) - open/close 7155 (time 1789138042.46 total 80.04 last 92.08) - open/close 7997 (time 1789138052.47 total 90.05 last 84.12) - open/close 8896 (time 1789138062.47 total 100.05 last 89.89) - open/close 9832 (time 1789138072.48 total 110.06 last 93.48) total: 10000 open/close in 111.85 seconds: 89.41 ops/second llite.lustre-ffff8b034bfab000.statahead_batch_max=0 llite.lustre-ffff8b034bfab000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b034bfab000.stats=clear mdc.lustre-MDT0001-mdc-ffff8b034bfab000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.199s user 0m0.296s sys 0m15.988s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8b034bfab000.statahead_batch_max=32 llite.lustre-ffff8b034bfab000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b034bfab000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8b034bfab000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8b034bfab000.stats=clear mdc.lustre-MDT0001-mdc-ffff8b034bfab000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m46.044s user 0m0.284s sys 0m13.734s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff8b034bfab000.batch_stats= snapshot_time: 1789138252.414438639 secs.nsecs start_time: 1789138135.946766449 secs.nsecs elapsed_time: 116.467672190 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 0 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff8b034bfab000.batch_stats= snapshot_time: 1789138252.414502449 secs.nsecs start_time: 1789138135.946887731 secs.nsecs elapsed_time: 116.467614718 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8b034bfab000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b034bfab000.batch_stats=0 llite.lustre-ffff8b034bfab000.statahead_max=2048 llite.lustre-ffff8b034bfab000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8b034bfab000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b034bfab000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.50 seconds: 40.03 ops/second llite.lustre-ffff8b034bfab000.statahead_max=0 101 real 0m2.392s user 0m0.006s sys 0m0.308s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8b034bfab000.statahead_max=2048 llite.lustre-ffff8b034bfab000.statahead_max=2048 101 real 0m1.034s user 0m0.005s sys 0m0.178s '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 820 (time 1789138538.85 total 10.01 last 81.95) total: 900 open/close in 11.08 seconds: 81.24 ops/second llite.lustre-ffff8b034bfab000.statahead_max=0 1001 real 0m19.452s user 0m0.032s sys 0m2.869s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff8b034bfab000.statahead_max=2048 llite.lustre-ffff8b034bfab000.statahead_max=2048 1001 real 0m7.523s user 0m0.031s sys 0m1.321s '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: 21 seconds llite.lustre-ffff8b034bfab000.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-ffff8b034bfab000.batch_stats= snapshot_time: 1789138600.146178765 secs.nsecs start_time: 1789138255.004682520 secs.nsecs elapsed_time: 345.141496245 secs.nsecs subreqs per batch batches %% cum %% 1: 1 16 16 2: 2 33 50 4: 1 16 66 8: 0 0 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff8b034bfab000.batch_stats= snapshot_time: 1789138600.146248997 secs.nsecs start_time: 1789138255.011890444 secs.nsecs elapsed_time: 345.134358553 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 37 37 16: 0 0 37 32: 1 12 50 64: 2 25 75 128: 0 0 75 256: 2 25 100 - open/close 805 (time 1789138612.56 total 10.00 last 80.46) - open/close 1715 (time 1789138622.56 total 20.01 last 90.95) - open/close 2653 (time 1789138632.57 total 30.01 last 93.77) - open/close 3601 (time 1789138642.57 total 40.01 last 94.79) - open/close 4506 (time 1789138652.58 total 50.03 last 90.35) - open/close 5399 (time 1789138662.59 total 60.04 last 89.20) - open/close 6346 (time 1789138672.60 total 70.04 last 94.68) - open/close 7271 (time 1789138682.60 total 80.05 last 92.48) - open/close 7942 (time 1789138692.60 total 90.05 last 67.07) - open/close 8737 (time 1789138702.61 total 100.06 last 79.45) - open/close 9569 (time 1789138712.61 total 110.06 last 83.20) total: 10000 open/close in 115.30 seconds: 86.73 ops/second llite.lustre-ffff8b034bfab000.statahead_batch_max=0 llite.lustre-ffff8b034bfab000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b034bfab000.stats=clear mdc.lustre-MDT0001-mdc-ffff8b034bfab000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.207s user 0m0.315s sys 0m15.311s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8b034bfab000.statahead_batch_max=256 llite.lustre-ffff8b034bfab000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b034bfab000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8b034bfab000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8b034bfab000.stats=clear mdc.lustre-MDT0001-mdc-ffff8b034bfab000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.259s user 0m0.277s sys 0m15.229s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8b034bfab000.batch_stats= snapshot_time: 1789138853.876406058 secs.nsecs start_time: 1789138791.130849228 secs.nsecs elapsed_time: 62.745556830 secs.nsecs subreqs per batch batches %% cum %% 1: 103 44 44 2: 31 13 58 4: 22 9 67 8: 9 3 71 16: 3 1 73 32: 16 6 80 64: 11 4 84 128: 1 0 85 256: 34 14 100 mdc.lustre-MDT0001-mdc-ffff8b034bfab000.batch_stats= snapshot_time: 1789138853.876465995 secs.nsecs start_time: 1789138791.130933245 secs.nsecs elapsed_time: 62.745532750 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-ffff8b034bfab000.statahead_batch_max=64 llite.lustre-ffff8b034bfab000.statahead_max=128