== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:34:07 (1787578447) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8e4304d74000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8e4304d74000.batch_stats=0 llite.lustre-ffff8e4304d74000.statahead_max=32 llite.lustre-ffff8e4304d74000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8e4304d74000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8e4304d74000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 3.09 seconds: 32.36 ops/second llite.lustre-ffff8e4304d74000.statahead_max=0 101 real 0m2.649s user 0m0.003s sys 0m0.296s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8e4304d74000.statahead_max=32 llite.lustre-ffff8e4304d74000.statahead_max=32 101 real 0m1.450s user 0m0.006s sys 0m0.173s 'ls -l' 100 files with statahead: 2 sec statahead total: 123 statahead wrong: 2 agl total: 117 list_total: 30 fname_total: 80 hit_total: 3708 miss_total: 1646 swrong=2 ewrong=2 - open/close 681 (time 1787578477.20 total 10.00 last 68.07) total: 900 open/close in 13.10 seconds: 68.69 ops/second llite.lustre-ffff8e4304d74000.statahead_max=0 1001 real 0m24.295s user 0m0.029s sys 0m2.955s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff8e4304d74000.statahead_max=32 llite.lustre-ffff8e4304d74000.statahead_max=32 1001 real 0m9.155s user 0m0.025s sys 0m1.375s 'ls -l' 1000 files with statahead: 9 sec statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 31 fname_total: 80 hit_total: 4702 miss_total: 1652 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 25 seconds llite.lustre-ffff8e4304d74000.statahead_stats= statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 31 fname_total: 80 hit_total: 4702 miss_total: 1652 mdc.lustre-MDT0000-mdc-ffff8e4304d74000.batch_stats= snapshot_time: 1787578553.519220621 secs.nsecs start_time: 1787578452.707637390 secs.nsecs elapsed_time: 100.811583231 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 2 5 13 4: 1 2 15 8: 1 2 18 16: 26 68 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff8e4304d74000.batch_stats= snapshot_time: 1787578553.519320126 secs.nsecs start_time: 1787578452.707786127 secs.nsecs elapsed_time: 100.811533999 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 1 2 7 8: 3 7 15 16: 9 22 37 32: 25 62 100 - open/close 482 (time 1787578567.71 total 10.01 last 48.17) - open/close 996 (time 1787578577.74 total 20.04 last 51.23) - open/close 1494 (time 1787578587.76 total 30.05 last 49.73) - open/close 2135 (time 1787578597.77 total 40.06 last 64.03) - open/close 2764 (time 1787578607.78 total 50.08 last 62.82) - open/close 3349 (time 1787578617.79 total 60.08 last 58.47) - open/close 3910 (time 1787578627.79 total 70.08 last 56.09) - open/close 4476 (time 1787578637.81 total 80.10 last 56.48) - open/close 5088 (time 1787578647.81 total 90.11 last 61.19) - open/close 5668 (time 1787578657.82 total 100.11 last 57.95) - open/close 6294 (time 1787578667.83 total 110.12 last 62.55) - open/close 6859 (time 1787578677.83 total 120.12 last 56.50) - open/close 7411 (time 1787578687.84 total 130.14 last 55.10) - open/close 7899 (time 1787578697.85 total 140.15 last 48.75) - open/close 8426 (time 1787578707.86 total 150.15 last 52.68) - open/close 9074 (time 1787578717.86 total 160.16 last 64.77) - open/close 9712 (time 1787578727.87 total 170.17 last 63.77) total: 10000 open/close in 176.30 seconds: 56.72 ops/second llite.lustre-ffff8e4304d74000.statahead_batch_max=0 llite.lustre-ffff8e4304d74000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e4304d74000.stats=clear mdc.lustre-MDT0001-mdc-ffff8e4304d74000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m25.975s user 0m0.324s sys 0m16.448s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8e4304d74000.statahead_batch_max=32 llite.lustre-ffff8e4304d74000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e4304d74000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8e4304d74000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8e4304d74000.stats=clear mdc.lustre-MDT0001-mdc-ffff8e4304d74000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m47.862s user 0m0.300s sys 0m14.580s batched statahead RPC= hit count=9977 mdc.lustre-MDT0000-mdc-ffff8e4304d74000.batch_stats= snapshot_time: 1787578952.109582466 secs.nsecs start_time: 1787578832.371614490 secs.nsecs elapsed_time: 119.737967976 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff8e4304d74000.batch_stats= snapshot_time: 1787578952.109639729 secs.nsecs start_time: 1787578832.371756717 secs.nsecs elapsed_time: 119.737883012 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8e4304d74000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8e4304d74000.batch_stats=0 llite.lustre-ffff8e4304d74000.statahead_max=2048 llite.lustre-ffff8e4304d74000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8e4304d74000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8e4304d74000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.46 seconds: 28.89 ops/second llite.lustre-ffff8e4304d74000.statahead_max=0 101 real 0m1.919s user 0m0.003s sys 0m0.324s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8e4304d74000.statahead_max=2048 llite.lustre-ffff8e4304d74000.statahead_max=2048 101 real 0m0.835s user 0m0.005s sys 0m0.231s '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: 10076 miss_total: 24 swrong=0 ewrong=0 - open/close 647 (time 1787579311.87 total 10.00 last 64.67) total: 900 open/close in 13.76 seconds: 65.41 ops/second llite.lustre-ffff8e4304d74000.statahead_max=0 1001 real 0m22.026s user 0m0.028s sys 0m2.926s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff8e4304d74000.statahead_max=2048 llite.lustre-ffff8e4304d74000.statahead_max=2048 1001 real 0m5.643s user 0m0.028s sys 0m1.443s '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: 11075 miss_total: 25 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff8e4304d74000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11075 miss_total: 25 mdc.lustre-MDT0000-mdc-ffff8e4304d74000.batch_stats= snapshot_time: 1787579378.615008860 secs.nsecs start_time: 1787578954.592014331 secs.nsecs elapsed_time: 424.022994529 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 12 12 8: 3 37 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff8e4304d74000.batch_stats= snapshot_time: 1787579378.615067906 secs.nsecs start_time: 1787578954.592161362 secs.nsecs elapsed_time: 424.022906544 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 37 37 8: 2 25 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 562 (time 1787579391.35 total 10.01 last 56.13) - open/close 1083 (time 1787579401.36 total 20.01 last 52.09) - open/close 1792 (time 1787579411.36 total 30.02 last 70.84) - open/close 2410 (time 1787579421.38 total 40.04 last 61.72) - open/close 3109 (time 1787579431.39 total 50.05 last 69.83) - open/close 3877 (time 1787579441.39 total 60.05 last 76.80) - open/close 4569 (time 1787579451.39 total 70.05 last 69.19) - open/close 5198 (time 1787579461.40 total 80.06 last 62.85) - open/close 5831 (time 1787579471.40 total 90.06 last 63.30) - open/close 6460 (time 1787579481.40 total 100.06 last 62.89) - open/close 7194 (time 1787579491.40 total 110.06 last 73.36) - open/close 7882 (time 1787579501.41 total 120.07 last 68.73) - open/close 8517 (time 1787579511.42 total 130.08 last 63.44) - open/close 8991 (time 1787579521.43 total 140.09 last 47.35) - open/close 9687 (time 1787579531.44 total 150.10 last 69.54) total: 10000 open/close in 155.43 seconds: 64.34 ops/second llite.lustre-ffff8e4304d74000.statahead_batch_max=0 llite.lustre-ffff8e4304d74000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e4304d74000.stats=clear mdc.lustre-MDT0001-mdc-ffff8e4304d74000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m19.722s user 0m0.334s sys 0m16.545s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8e4304d74000.statahead_batch_max=256 llite.lustre-ffff8e4304d74000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e4304d74000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8e4304d74000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8e4304d74000.stats=clear mdc.lustre-MDT0001-mdc-ffff8e4304d74000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.046s user 0m0.299s sys 0m14.741s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8e4304d74000.batch_stats= snapshot_time: 1787579694.216029472 secs.nsecs start_time: 1787579623.652122853 secs.nsecs elapsed_time: 70.563906619 secs.nsecs subreqs per batch batches %% cum %% 1: 44 32 32 2: 13 9 41 4: 7 5 47 8: 4 2 50 16: 10 7 57 32: 14 10 67 64: 7 5 72 128: 2 1 74 256: 35 25 100 mdc.lustre-MDT0001-mdc-ffff8e4304d74000.batch_stats= snapshot_time: 1787579694.216097026 secs.nsecs start_time: 1787579623.652283025 secs.nsecs elapsed_time: 70.563814001 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-ffff8e4304d74000.statahead_batch_max=64 llite.lustre-ffff8e4304d74000.statahead_max=128