== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:37:50 (1735101470) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88012a63c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012a63c000.batch_stats=0 llite.lustre-ffff88012a63c000.statahead_max=32 llite.lustre-ffff88012a63c000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88012a63c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012a63c000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 0.73 seconds: 136.24 ops/second llite.lustre-ffff88012a63c000.statahead_max=0 101 real 0m0.692s user 0m0.012s sys 0m0.236s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88012a63c000.statahead_max=32 32 101 real 0m0.389s user 0m0.006s sys 0m0.130s ls -l 100 files with statahead: 1 sec statahead total: 50 statahead wrong: 1 agl total: 50 list_total: 19 fname_total: 31 hit_total: 11449 miss_total: 217 total: 900 open/close in 3.26 seconds: 276.02 ops/second llite.lustre-ffff88012a63c000.statahead_max=0 1001 real 0m8.081s user 0m0.051s sys 0m2.547s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff88012a63c000.statahead_max=32 32 1001 real 0m2.007s user 0m0.028s sys 0m1.037s ls -l 1000 files with statahead: 2 sec statahead total: 51 statahead wrong: 1 agl total: 51 list_total: 20 fname_total: 31 hit_total: 12448 miss_total: 218 - open/close 3190 (time 1735101501.18 total 10.00 last 318.97) - open/close 7568 (time 1735101511.18 total 20.00 last 437.73) total: 9000 open/close in 23.65 seconds: 380.60 ops/second llite.lustre-ffff88012a63c000.statahead_max=0 10001 real 1m19.355s user 0m0.733s sys 0m24.384s ls -l 10000 files without statahead: 79 sec llite.lustre-ffff88012a63c000.statahead_max=32 32 10001 real 0m20.123s user 0m0.357s sys 0m9.977s ls -l 10000 files with statahead: 20 sec statahead total: 52 statahead wrong: 1 agl total: 52 list_total: 21 fname_total: 31 hit_total: 22447 miss_total: 230 ls -l done rm -r /mnt/lustre/d123ad.sanity: 50 seconds llite.lustre-ffff88012a63c000.statahead_stats= statahead total: 52 statahead wrong: 1 agl total: 52 list_total: 21 fname_total: 31 hit_total: 22447 miss_total: 230 mdc.lustre-MDT0000-mdc-ffff88012a63c000.batch_stats= snapshot_time: 1735101669.106795764 secs.nsecs start_time: 1735101471.985787375 secs.nsecs elapsed_time: 197.121008389 secs.nsecs subreqs per batch batches % cum % 1: 4 1 1 2: 2 0 1 4: 1 0 1 8: 9 2 4 16: 227 64 68 32: 110 31 100 mdc.lustre-MDT0001-mdc-ffff88012a63c000.batch_stats= snapshot_time: 1735101669.106898451 secs.nsecs start_time: 1735101471.985872983 secs.nsecs elapsed_time: 197.121025468 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 3 0 0 8: 6 1 2 16: 152 42 45 32: 193 54 100 - open/close 4194 (time 1735101679.99 total 10.00 last 419.27) - open/close 7939 (time 1735101689.99 total 20.00 last 374.47) total: 10000 open/close in 25.39 seconds: 393.91 ops/second llite.lustre-ffff88012a63c000.statahead_batch_max=0 llite.lustre-ffff88012a63c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012a63c000.stats=clear mdc.lustre-MDT0001-mdc-ffff88012a63c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m11.009s user 0m0.248s sys 0m9.693s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012a63c000.statahead_batch_max=32 llite.lustre-ffff88012a63c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012a63c000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88012a63c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012a63c000.stats=clear mdc.lustre-MDT0001-mdc-ffff88012a63c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m23.429s user 0m0.260s sys 0m9.916s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012a63c000.batch_stats= snapshot_time: 1735101734.651699308 secs.nsecs start_time: 1735101708.519276844 secs.nsecs elapsed_time: 26.132422464 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 0 32: 312 99 100 mdc.lustre-MDT0001-mdc-ffff88012a63c000.batch_stats= snapshot_time: 1735101734.651850002 secs.nsecs start_time: 1735101708.519414016 secs.nsecs elapsed_time: 26.132435986 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88012a63c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012a63c000.batch_stats=0 llite.lustre-ffff88012a63c000.statahead_max=2048 llite.lustre-ffff88012a63c000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88012a63c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012a63c000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.71 seconds: 140.89 ops/second llite.lustre-ffff88012a63c000.statahead_max=0 101 real 0m0.639s user 0m0.008s sys 0m0.223s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88012a63c000.statahead_max=2048 2048 101 real 0m0.377s user 0m0.005s sys 0m0.132s 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: 10098 miss_total: 22 total: 900 open/close in 2.66 seconds: 338.84 ops/second llite.lustre-ffff88012a63c000.statahead_max=0 1001 real 0m7.317s user 0m0.054s sys 0m2.383s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff88012a63c000.statahead_max=2048 2048 1001 real 0m1.431s user 0m0.018s sys 0m0.925s ls -l 1000 files with statahead: 1 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 23 - open/close 3848 (time 1735101854.74 total 10.00 last 384.74) - open/close 7356 (time 1735101864.74 total 20.00 last 350.79) total: 9000 open/close in 24.84 seconds: 362.38 ops/second llite.lustre-ffff88012a63c000.statahead_max=0 10001 real 1m5.106s user 0m0.574s sys 0m22.116s ls -l 10000 files without statahead: 66 sec llite.lustre-ffff88012a63c000.statahead_max=2048 2048 10001 real 0m11.133s user 0m0.243s sys 0m9.877s ls -l 10000 files with statahead: 11 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 24 ls -l done rm -r /mnt/lustre/d123ad.sanity: 43 seconds llite.lustre-ffff88012a63c000.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 24 mdc.lustre-MDT0000-mdc-ffff88012a63c000.batch_stats= snapshot_time: 1735101993.385502231 secs.nsecs start_time: 1735101735.168974560 secs.nsecs elapsed_time: 258.216527671 secs.nsecs subreqs per batch batches % cum % 1: 43 47 47 2: 3 3 50 4: 4 4 54 8: 6 6 61 16: 1 1 62 32: 0 0 62 64: 0 0 62 128: 11 12 74 256: 23 25 100 mdc.lustre-MDT0001-mdc-ffff88012a63c000.batch_stats= snapshot_time: 1735101993.385591931 secs.nsecs start_time: 1735101735.169207636 secs.nsecs elapsed_time: 258.216384295 secs.nsecs subreqs per batch batches % cum % 1: 44 44 44 2: 3 3 47 4: 5 5 53 8: 6 6 59 16: 3 3 62 32: 1 1 63 64: 1 1 64 128: 3 3 67 256: 32 32 100 - open/close 5510 (time 1735102004.08 total 10.00 last 550.90) total: 10000 open/close in 19.16 seconds: 521.79 ops/second llite.lustre-ffff88012a63c000.statahead_batch_max=0 llite.lustre-ffff88012a63c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012a63c000.stats=clear mdc.lustre-MDT0001-mdc-ffff88012a63c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m10.378s user 0m0.219s sys 0m9.230s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012a63c000.statahead_batch_max=256 llite.lustre-ffff88012a63c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012a63c000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88012a63c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012a63c000.stats=clear mdc.lustre-MDT0001-mdc-ffff88012a63c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m10.325s user 0m0.232s sys 0m9.001s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012a63c000.batch_stats= snapshot_time: 1735102038.269465212 secs.nsecs start_time: 1735102025.526087808 secs.nsecs elapsed_time: 12.743377404 secs.nsecs subreqs per batch batches % cum % 1: 146 58 58 2: 16 6 64 4: 11 4 68 8: 10 3 72 16: 14 5 78 32: 17 6 85 64: 1 0 85 128: 0 0 85 256: 36 14 100 mdc.lustre-MDT0001-mdc-ffff88012a63c000.batch_stats= snapshot_time: 1735102038.269611128 secs.nsecs start_time: 1735102025.526217083 secs.nsecs elapsed_time: 12.743394045 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff88012a63c000.statahead_batch_max=64 llite.lustre-ffff88012a63c000.statahead_max=128