== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:31:29 (1787664689) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9cc66e832000.batch_stats=0 llite.lustre-ffff9cc66e832000.statahead_max=32 llite.lustre-ffff9cc66e832000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9cc66e832000.batch_stats=0 total: 100 open/close in 2.57 seconds: 38.97 ops/second llite.lustre-ffff9cc66e832000.statahead_max=0 101 real 0m2.519s user 0m0.004s sys 0m0.335s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9cc66e832000.statahead_max=32 llite.lustre-ffff9cc66e832000.statahead_max=32 101 real 0m1.139s user 0m0.009s sys 0m0.163s 'ls -l' 100 files with statahead: 1 sec statahead total: 132 statahead wrong: 2 agl total: 126 list_total: 29 fname_total: 103 hit_total: 3826 miss_total: 1463 swrong=2 ewrong=2 - open/close 785 (time 1787664717.60 total 10.00 last 78.48) total: 900 open/close in 11.46 seconds: 78.52 ops/second llite.lustre-ffff9cc66e832000.statahead_max=0 1001 real 0m18.690s user 0m0.032s sys 0m3.132s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff9cc66e832000.statahead_max=32 llite.lustre-ffff9cc66e832000.statahead_max=32 1001 real 0m9.794s user 0m0.026s sys 0m1.525s 'ls -l' 1000 files with statahead: 10 sec statahead total: 133 statahead wrong: 2 agl total: 127 list_total: 30 fname_total: 103 hit_total: 4822 miss_total: 1467 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff9cc66e832000.statahead_stats= statahead total: 133 statahead wrong: 2 agl total: 127 list_total: 30 fname_total: 103 hit_total: 4822 miss_total: 1467 mdc.lustre-MDT0000-mdc-ffff9cc66e832000.batch_stats= snapshot_time: 1787664780.979434329 secs.nsecs start_time: 1787664694.855016989 secs.nsecs elapsed_time: 86.124417340 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 717 (time 1787664793.87 total 10.01 last 71.62) - open/close 1455 (time 1787664803.89 total 20.03 last 73.64) - open/close 2147 (time 1787664813.91 total 30.05 last 69.08) - open/close 2917 (time 1787664823.91 total 40.05 last 76.97) - open/close 3793 (time 1787664833.92 total 50.06 last 87.53) - open/close 4484 (time 1787664843.93 total 60.07 last 69.04) - open/close 5279 (time 1787664853.95 total 70.09 last 79.39) - open/close 6031 (time 1787664863.95 total 80.09 last 75.19) - open/close 6845 (time 1787664873.95 total 90.09 last 81.36) - open/close 7628 (time 1787664883.96 total 100.10 last 78.26) - open/close 8386 (time 1787664893.97 total 110.11 last 75.72) - open/close 9166 (time 1787664903.97 total 120.11 last 77.96) - open/close 9975 (time 1787664913.98 total 130.12 last 80.84) total: 10000 open/close in 130.38 seconds: 76.70 ops/second llite.lustre-ffff9cc66e832000.statahead_batch_max=0 llite.lustre-ffff9cc66e832000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cc66e832000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.660s user 0m0.338s sys 0m15.546s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9cc66e832000.statahead_batch_max=32 llite.lustre-ffff9cc66e832000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cc66e832000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9cc66e832000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m48.196s user 0m0.352s sys 0m15.295s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff9cc66e832000.batch_stats= snapshot_time: 1787665122.507095212 secs.nsecs start_time: 1787664994.430686336 secs.nsecs elapsed_time: 128.076408876 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-ffff9cc66e832000.batch_stats=0 llite.lustre-ffff9cc66e832000.statahead_max=2048 llite.lustre-ffff9cc66e832000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9cc66e832000.batch_stats=0 total: 100 open/close in 3.39 seconds: 29.47 ops/second llite.lustre-ffff9cc66e832000.statahead_max=0 101 real 0m2.292s user 0m0.002s sys 0m0.338s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9cc66e832000.statahead_max=2048 llite.lustre-ffff9cc66e832000.statahead_max=2048 101 real 0m1.202s user 0m0.006s sys 0m0.194s 'ls -l' 100 files with statahead: 2 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10083 miss_total: 17 swrong=0 ewrong=0 - open/close 689 (time 1787665425.89 total 10.01 last 68.86) total: 900 open/close in 12.78 seconds: 70.41 ops/second llite.lustre-ffff9cc66e832000.statahead_max=0 1001 real 0m22.582s user 0m0.042s sys 0m3.207s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff9cc66e832000.statahead_max=2048 llite.lustre-ffff9cc66e832000.statahead_max=2048 1001 real 0m7.966s user 0m0.040s sys 0m1.548s '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: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9cc66e832000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 mdc.lustre-MDT0000-mdc-ffff9cc66e832000.batch_stats= snapshot_time: 1787665496.475513220 secs.nsecs start_time: 1787665125.192123089 secs.nsecs elapsed_time: 371.283390131 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 1 10 50 64: 0 0 50 128: 1 10 60 256: 4 40 100 - open/close 697 (time 1787665509.27 total 10.01 last 69.63) - open/close 1323 (time 1787665519.30 total 20.04 last 62.39) - open/close 2057 (time 1787665529.31 total 30.05 last 73.38) - open/close 2762 (time 1787665539.32 total 40.06 last 70.43) - open/close 3506 (time 1787665549.32 total 50.06 last 74.36) - open/close 4267 (time 1787665559.34 total 60.07 last 76.01) - open/close 5008 (time 1787665569.34 total 70.07 last 74.10) - open/close 5737 (time 1787665579.34 total 80.08 last 72.86) - open/close 6481 (time 1787665589.35 total 90.09 last 74.35) - open/close 7265 (time 1787665599.35 total 100.09 last 78.36) - open/close 8140 (time 1787665609.35 total 110.09 last 87.50) - open/close 8956 (time 1787665619.38 total 120.12 last 81.38) - open/close 9732 (time 1787665629.38 total 130.12 last 77.59) total: 10000 open/close in 133.91 seconds: 74.68 ops/second llite.lustre-ffff9cc66e832000.statahead_batch_max=0 llite.lustre-ffff9cc66e832000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cc66e832000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.708s user 0m0.313s sys 0m15.893s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9cc66e832000.statahead_batch_max=256 llite.lustre-ffff9cc66e832000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cc66e832000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9cc66e832000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.265s user 0m0.310s sys 0m15.958s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9cc66e832000.batch_stats= snapshot_time: 1787665783.373189368 secs.nsecs start_time: 1787665710.154328157 secs.nsecs elapsed_time: 73.218861211 secs.nsecs subreqs per batch batches %% cum %% 1: 132 50 50 2: 33 12 62 4: 23 8 71 8: 11 4 75 16: 14 5 81 32: 10 3 85 64: 2 0 85 128: 1 0 86 256: 36 13 100 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-ffff9cc66e832000.statahead_batch_max=64 llite.lustre-ffff9cc66e832000.statahead_max=128