== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:05:22 (1780337122) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.batch_stats=0 llite.lustre-ffff8edc43f4c000.statahead_max=32 llite.lustre-ffff8edc43f4c000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.52 seconds: 39.75 ops/second llite.lustre-ffff8edc43f4c000.statahead_max=0 101 real 0m2.100s user 0m0.011s sys 0m0.319s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8edc43f4c000.statahead_max=32 llite.lustre-ffff8edc43f4c000.statahead_max=32 101 real 0m1.066s user 0m0.007s sys 0m0.181s 'ls -l' 100 files with statahead: 1 sec statahead total: 119 statahead wrong: 2 agl total: 114 list_total: 31 fname_total: 81 hit_total: 3816 miss_total: 1536 swrong=2 ewrong=2 - open/close 848 (time 1780337150.28 total 10.01 last 84.73) total: 900 open/close in 10.63 seconds: 84.64 ops/second llite.lustre-ffff8edc43f4c000.statahead_max=0 1001 real 0m22.453s user 0m0.031s sys 0m3.030s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff8edc43f4c000.statahead_max=32 llite.lustre-ffff8edc43f4c000.statahead_max=32 1001 real 0m8.432s user 0m0.030s sys 0m1.458s 'ls -l' 1000 files with statahead: 9 sec statahead total: 120 statahead wrong: 2 agl total: 115 list_total: 32 fname_total: 81 hit_total: 4811 miss_total: 1541 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff8edc43f4c000.statahead_stats= statahead total: 120 statahead wrong: 2 agl total: 115 list_total: 32 fname_total: 81 hit_total: 4811 miss_total: 1541 mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.batch_stats= snapshot_time: 1780337213.920850742 secs.nsecs start_time: 1780337127.586037512 secs.nsecs elapsed_time: 86.334813230 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 2 5 12 16: 23 58 71 32: 11 28 100 mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.batch_stats= snapshot_time: 1780337213.920911399 secs.nsecs start_time: 1780337127.586395948 secs.nsecs elapsed_time: 86.334515451 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 0 0 2 4: 3 7 10 8: 4 10 20 16: 15 37 57 32: 17 42 100 - open/close 773 (time 1780337226.20 total 10.03 last 77.11) - open/close 1514 (time 1780337236.20 total 20.03 last 74.07) - open/close 2407 (time 1780337246.20 total 30.03 last 89.25) - open/close 3099 (time 1780337256.22 total 40.05 last 69.12) - open/close 3813 (time 1780337266.22 total 50.05 last 71.39) - open/close 4607 (time 1780337276.22 total 60.05 last 79.35) - open/close 5395 (time 1780337286.26 total 70.09 last 78.52) - open/close 6251 (time 1780337296.26 total 80.09 last 85.58) - open/close 7132 (time 1780337306.27 total 90.10 last 87.99) - open/close 7961 (time 1780337316.28 total 100.11 last 82.83) - open/close 8738 (time 1780337326.30 total 110.13 last 77.58) - open/close 9502 (time 1780337336.31 total 120.14 last 76.34) total: 10000 open/close in 126.81 seconds: 78.86 ops/second llite.lustre-ffff8edc43f4c000.statahead_batch_max=0 llite.lustre-ffff8edc43f4c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.stats=clear mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m12.544s user 0m0.347s sys 0m16.735s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8edc43f4c000.statahead_batch_max=32 llite.lustre-ffff8edc43f4c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.stats=clear mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m33.006s user 0m0.300s sys 0m15.304s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.batch_stats= snapshot_time: 1780337533.435708585 secs.nsecs start_time: 1780337425.599614441 secs.nsecs elapsed_time: 107.836094144 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 mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.batch_stats= snapshot_time: 1780337533.435765206 secs.nsecs start_time: 1780337425.599737853 secs.nsecs elapsed_time: 107.836027353 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.batch_stats=0 llite.lustre-ffff8edc43f4c000.statahead_max=2048 llite.lustre-ffff8edc43f4c000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.44 seconds: 40.92 ops/second llite.lustre-ffff8edc43f4c000.statahead_max=0 101 real 0m2.142s user 0m0.003s sys 0m0.330s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8edc43f4c000.statahead_max=2048 llite.lustre-ffff8edc43f4c000.statahead_max=2048 101 real 0m0.811s user 0m0.007s sys 0m0.192s 'ls -l' 100 files with statahead: 0 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10081 miss_total: 19 swrong=0 ewrong=0 total: 900 open/close in 9.86 seconds: 91.24 ops/second llite.lustre-ffff8edc43f4c000.statahead_max=0 1001 real 0m20.814s user 0m0.038s sys 0m3.061s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff8edc43f4c000.statahead_max=2048 llite.lustre-ffff8edc43f4c000.statahead_max=2048 1001 real 0m6.056s user 0m0.023s sys 0m1.501s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff8edc43f4c000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11080 miss_total: 20 mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.batch_stats= snapshot_time: 1780337882.045674845 secs.nsecs start_time: 1780337535.533317715 secs.nsecs elapsed_time: 346.512357130 secs.nsecs subreqs per batch batches % cum % 1: 2 25 25 2: 1 12 37 4: 1 12 50 8: 2 25 75 16: 0 0 75 32: 0 0 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.batch_stats= snapshot_time: 1780337882.045741713 secs.nsecs start_time: 1780337535.533475464 secs.nsecs elapsed_time: 346.512266249 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 1 10 10 8: 2 20 30 16: 3 30 60 32: 1 10 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 618 (time 1780337894.64 total 10.00 last 61.79) - open/close 1340 (time 1780337904.65 total 20.02 last 72.07) - open/close 2212 (time 1780337914.66 total 30.02 last 87.16) - open/close 3077 (time 1780337924.66 total 40.03 last 86.45) - open/close 4067 (time 1780337934.67 total 50.03 last 99.00) - open/close 4950 (time 1780337944.67 total 60.03 last 88.27) - open/close 5894 (time 1780337954.69 total 70.05 last 94.24) - open/close 6792 (time 1780337964.69 total 80.05 last 89.78) - open/close 7695 (time 1780337974.70 total 90.06 last 90.23) - open/close 8632 (time 1780337984.70 total 100.07 last 93.65) - open/close 9519 (time 1780337994.71 total 110.07 last 88.66) total: 10000 open/close in 115.50 seconds: 86.58 ops/second llite.lustre-ffff8edc43f4c000.statahead_batch_max=0 llite.lustre-ffff8edc43f4c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.stats=clear mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.292s user 0m0.308s sys 0m18.239s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8edc43f4c000.statahead_batch_max=256 llite.lustre-ffff8edc43f4c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.stats=clear mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.742s user 0m0.299s sys 0m16.775s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8edc43f4c000.batch_stats= snapshot_time: 1780338125.858964747 secs.nsecs start_time: 1780338059.739197282 secs.nsecs elapsed_time: 66.119767465 secs.nsecs subreqs per batch batches % cum % 1: 207 49 49 2: 61 14 64 4: 58 13 78 8: 24 5 84 16: 15 3 87 32: 14 3 91 64: 3 0 91 128: 0 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff8edc43f4c000.batch_stats= snapshot_time: 1780338125.859031878 secs.nsecs start_time: 1780338059.739264724 secs.nsecs elapsed_time: 66.119767154 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-ffff8edc43f4c000.statahead_batch_max=64 llite.lustre-ffff8edc43f4c000.statahead_max=128