== sanity test 123ad: Verify batching statahead works correctly ========================================================== 22:55:29 (1787799329) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9579d1149000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9579d1149000.batch_stats=0 llite.lustre-ffff9579d1149000.statahead_max=32 llite.lustre-ffff9579d1149000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9579d1149000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9579d1149000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.06 seconds: 48.63 ops/second llite.lustre-ffff9579d1149000.statahead_max=0 101 real 0m2.323s user 0m0.006s sys 0m0.317s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9579d1149000.statahead_max=32 llite.lustre-ffff9579d1149000.statahead_max=32 101 real 0m0.957s user 0m0.004s sys 0m0.167s 'ls -l' 100 files with statahead: 1 sec statahead total: 159 statahead wrong: 2 agl total: 153 list_total: 31 fname_total: 128 hit_total: 3807 miss_total: 1749 swrong=2 ewrong=2 total: 900 open/close in 10.00 seconds: 90.01 ops/second llite.lustre-ffff9579d1149000.statahead_max=0 1001 real 0m26.790s user 0m0.041s sys 0m2.877s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff9579d1149000.statahead_max=32 llite.lustre-ffff9579d1149000.statahead_max=32 1001 real 0m9.520s user 0m0.030s sys 0m1.390s 'ls -l' 1000 files with statahead: 10 sec statahead total: 160 statahead wrong: 2 agl total: 154 list_total: 32 fname_total: 128 hit_total: 4805 miss_total: 1751 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff9579d1149000.statahead_stats= statahead total: 160 statahead wrong: 2 agl total: 154 list_total: 32 fname_total: 128 hit_total: 4805 miss_total: 1751 mdc.lustre-MDT0000-mdc-ffff9579d1149000.batch_stats= snapshot_time: 1787799429.347987342 secs.nsecs start_time: 1787799334.091284074 secs.nsecs elapsed_time: 95.256703268 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 3 7 15 4: 0 0 15 8: 3 7 23 16: 21 55 78 32: 8 21 100 mdc.lustre-MDT0001-mdc-ffff9579d1149000.batch_stats= snapshot_time: 1787799429.348055086 secs.nsecs start_time: 1787799334.093901328 secs.nsecs elapsed_time: 95.254153758 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 2 5 12 16: 16 40 52 32: 19 47 100 - open/close 721 (time 1787799442.13 total 10.00 last 72.07) - open/close 1631 (time 1787799452.14 total 20.01 last 90.93) - open/close 2579 (time 1787799462.16 total 30.03 last 94.63) - open/close 3215 (time 1787799472.16 total 40.03 last 63.60) - open/close 4090 (time 1787799482.16 total 50.04 last 87.42) - open/close 4976 (time 1787799492.17 total 60.04 last 88.59) - open/close 5831 (time 1787799502.18 total 70.05 last 85.37) - open/close 6771 (time 1787799512.19 total 80.06 last 93.96) - open/close 7447 (time 1787799522.19 total 90.07 last 67.56) - open/close 8309 (time 1787799532.20 total 100.08 last 86.08) - open/close 9172 (time 1787799542.21 total 110.09 last 86.23) total: 10000 open/close in 119.02 seconds: 84.02 ops/second llite.lustre-ffff9579d1149000.statahead_batch_max=0 llite.lustre-ffff9579d1149000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9579d1149000.stats=clear mdc.lustre-MDT0001-mdc-ffff9579d1149000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.425s user 0m0.311s sys 0m14.484s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9579d1149000.statahead_batch_max=32 llite.lustre-ffff9579d1149000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9579d1149000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9579d1149000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9579d1149000.stats=clear mdc.lustre-MDT0001-mdc-ffff9579d1149000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m40.355s user 0m0.300s sys 0m13.558s batched statahead RPC= hit count=9976 mdc.lustre-MDT0000-mdc-ffff9579d1149000.batch_stats= snapshot_time: 1787799729.222544989 secs.nsecs start_time: 1787799618.497824706 secs.nsecs elapsed_time: 110.724720283 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-ffff9579d1149000.batch_stats= snapshot_time: 1787799729.222618258 secs.nsecs start_time: 1787799618.497967072 secs.nsecs elapsed_time: 110.724651186 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9579d1149000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9579d1149000.batch_stats=0 llite.lustre-ffff9579d1149000.statahead_max=2048 llite.lustre-ffff9579d1149000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9579d1149000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9579d1149000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.14 seconds: 46.78 ops/second llite.lustre-ffff9579d1149000.statahead_max=0 101 real 0m2.024s user 0m0.004s sys 0m0.285s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9579d1149000.statahead_max=2048 llite.lustre-ffff9579d1149000.statahead_max=2048 101 real 0m0.790s user 0m0.005s sys 0m0.166s '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: 10075 miss_total: 25 swrong=0 ewrong=0 total: 900 open/close in 8.84 seconds: 101.82 ops/second llite.lustre-ffff9579d1149000.statahead_max=0 1001 real 0m18.655s user 0m0.031s sys 0m2.881s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff9579d1149000.statahead_max=2048 llite.lustre-ffff9579d1149000.statahead_max=2048 1001 real 0m8.049s user 0m0.029s sys 0m1.376s '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: 11074 miss_total: 26 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff9579d1149000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11074 miss_total: 26 mdc.lustre-MDT0000-mdc-ffff9579d1149000.batch_stats= snapshot_time: 1787800072.200076996 secs.nsecs start_time: 1787799731.721892717 secs.nsecs elapsed_time: 340.478184279 secs.nsecs subreqs per batch batches %% cum %% 1: 1 11 11 2: 3 33 44 4: 0 0 44 8: 2 22 66 16: 1 11 77 32: 0 0 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff9579d1149000.batch_stats= snapshot_time: 1787800072.200144289 secs.nsecs start_time: 1787799731.722049100 secs.nsecs elapsed_time: 340.478095189 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 9 9 8: 3 27 36 16: 3 27 63 32: 1 9 72 64: 1 9 81 128: 0 0 81 256: 2 18 100 - open/close 907 (time 1787800085.13 total 10.00 last 90.69) - open/close 1826 (time 1787800095.13 total 20.00 last 91.89) - open/close 2738 (time 1787800105.15 total 30.02 last 91.07) - open/close 3645 (time 1787800115.15 total 40.02 last 90.67) - open/close 4134 (time 1787800125.17 total 50.04 last 48.81) - open/close 4840 (time 1787800135.18 total 60.05 last 70.51) - open/close 5696 (time 1787800145.19 total 70.06 last 85.54) - open/close 6600 (time 1787800155.19 total 80.06 last 90.37) - open/close 7591 (time 1787800165.19 total 90.06 last 99.09) - open/close 8676 (time 1787800175.20 total 100.07 last 108.43) - open/close 9582 (time 1787800185.21 total 110.08 last 90.53) total: 10000 open/close in 113.98 seconds: 87.74 ops/second llite.lustre-ffff9579d1149000.statahead_batch_max=0 llite.lustre-ffff9579d1149000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9579d1149000.stats=clear mdc.lustre-MDT0001-mdc-ffff9579d1149000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.802s user 0m0.336s sys 0m14.807s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9579d1149000.statahead_batch_max=256 llite.lustre-ffff9579d1149000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9579d1149000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9579d1149000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9579d1149000.stats=clear mdc.lustre-MDT0001-mdc-ffff9579d1149000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.605s user 0m0.278s sys 0m14.164s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9579d1149000.batch_stats= snapshot_time: 1787800316.379549158 secs.nsecs start_time: 1787800255.080760950 secs.nsecs elapsed_time: 61.298788208 secs.nsecs subreqs per batch batches %% cum %% 1: 108 41 41 2: 46 17 59 4: 25 9 68 8: 10 3 72 16: 10 3 76 32: 19 7 83 64: 7 2 86 128: 1 0 86 256: 34 13 100 mdc.lustre-MDT0001-mdc-ffff9579d1149000.batch_stats= snapshot_time: 1787800316.379630984 secs.nsecs start_time: 1787800255.080888787 secs.nsecs elapsed_time: 61.298742197 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-ffff9579d1149000.statahead_batch_max=64 llite.lustre-ffff9579d1149000.statahead_max=128