== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:15:44 (1787580944) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88ad102a7000.batch_stats=0 llite.lustre-ffff88ad102a7000.statahead_max=32 llite.lustre-ffff88ad102a7000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88ad102a7000.batch_stats=0 total: 100 open/close in 2.53 seconds: 39.58 ops/second llite.lustre-ffff88ad102a7000.statahead_max=0 101 real 0m2.223s user 0m0.003s sys 0m0.334s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff88ad102a7000.statahead_max=32 llite.lustre-ffff88ad102a7000.statahead_max=32 101 real 0m1.156s user 0m0.005s sys 0m0.173s 'ls -l' 100 files with statahead: 2 sec statahead total: 159 statahead wrong: 2 agl total: 152 list_total: 30 fname_total: 126 hit_total: 3791 miss_total: 1477 swrong=2 ewrong=2 - open/close 677 (time 1787580972.48 total 10.00 last 67.69) total: 900 open/close in 13.38 seconds: 67.26 ops/second llite.lustre-ffff88ad102a7000.statahead_max=0 1001 real 0m26.494s user 0m0.044s sys 0m3.229s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff88ad102a7000.statahead_max=32 llite.lustre-ffff88ad102a7000.statahead_max=32 1001 real 0m11.835s user 0m0.040s sys 0m1.472s 'ls -l' 1000 files with statahead: 12 sec statahead total: 160 statahead wrong: 2 agl total: 153 list_total: 31 fname_total: 126 hit_total: 4789 miss_total: 1479 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff88ad102a7000.statahead_stats= statahead total: 160 statahead wrong: 2 agl total: 153 list_total: 31 fname_total: 126 hit_total: 4789 miss_total: 1479 mdc.lustre-MDT0000-mdc-ffff88ad102a7000.batch_stats= snapshot_time: 1787581051.995932549 secs.nsecs start_time: 1787580949.577082244 secs.nsecs elapsed_time: 102.418850305 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 800 (time 1787581064.51 total 10.00 last 79.99) - open/close 1560 (time 1787581074.52 total 20.01 last 75.96) - open/close 2378 (time 1787581084.52 total 30.01 last 81.76) - open/close 3169 (time 1787581094.53 total 40.01 last 79.08) - open/close 3867 (time 1787581104.58 total 50.07 last 69.43) - open/close 4525 (time 1787581114.59 total 60.08 last 65.70) - open/close 5013 (time 1787581124.60 total 70.09 last 48.78) - open/close 5509 (time 1787581134.61 total 80.10 last 49.52) - open/close 5984 (time 1787581144.63 total 90.11 last 47.45) - open/close 6552 (time 1787581154.63 total 100.12 last 56.78) - open/close 7076 (time 1787581164.63 total 110.12 last 52.40) - open/close 7691 (time 1787581174.66 total 120.15 last 61.33) - open/close 8460 (time 1787581184.66 total 130.15 last 76.86) - open/close 9190 (time 1787581194.67 total 140.16 last 72.97) - open/close 9830 (time 1787581204.68 total 150.17 last 63.94) total: 10000 open/close in 152.68 seconds: 65.50 ops/second llite.lustre-ffff88ad102a7000.statahead_batch_max=0 llite.lustre-ffff88ad102a7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88ad102a7000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.872s user 0m0.333s sys 0m14.455s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88ad102a7000.statahead_batch_max=32 llite.lustre-ffff88ad102a7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88ad102a7000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88ad102a7000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m52.653s user 0m0.339s sys 0m13.978s batched statahead RPC= hit count=9977 mdc.lustre-MDT0000-mdc-ffff88ad102a7000.batch_stats= snapshot_time: 1787581399.450440699 secs.nsecs start_time: 1787581276.772352420 secs.nsecs elapsed_time: 122.678088279 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88ad102a7000.batch_stats=0 llite.lustre-ffff88ad102a7000.statahead_max=2048 llite.lustre-ffff88ad102a7000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88ad102a7000.batch_stats=0 total: 100 open/close in 2.81 seconds: 35.53 ops/second llite.lustre-ffff88ad102a7000.statahead_max=0 101 real 0m2.022s user 0m0.005s sys 0m0.287s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff88ad102a7000.statahead_max=2048 llite.lustre-ffff88ad102a7000.statahead_max=2048 101 real 0m0.691s user 0m0.002s sys 0m0.171s '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 811 (time 1787581708.79 total 10.00 last 81.06) total: 900 open/close in 11.04 seconds: 81.55 ops/second llite.lustre-ffff88ad102a7000.statahead_max=0 1001 real 0m19.868s user 0m0.033s sys 0m2.992s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff88ad102a7000.statahead_max=2048 llite.lustre-ffff88ad102a7000.statahead_max=2048 1001 real 0m7.211s user 0m0.022s sys 0m1.222s '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: 11075 miss_total: 25 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff88ad102a7000.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-ffff88ad102a7000.batch_stats= snapshot_time: 1787581775.307528968 secs.nsecs start_time: 1787581403.140275375 secs.nsecs elapsed_time: 372.167253593 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 16 16 16: 2 16 33 32: 2 16 50 64: 1 8 58 128: 1 8 66 256: 4 33 100 - open/close 744 (time 1787581788.33 total 10.01 last 74.36) - open/close 1501 (time 1787581798.34 total 20.01 last 75.67) - open/close 2075 (time 1787581808.34 total 30.02 last 57.36) - open/close 2846 (time 1787581818.35 total 40.02 last 77.08) - open/close 3634 (time 1787581828.36 total 50.03 last 78.72) - open/close 4519 (time 1787581838.36 total 60.03 last 88.48) - open/close 5391 (time 1787581848.36 total 70.03 last 87.18) - open/close 6001 (time 1787581858.38 total 80.05 last 60.92) - open/close 6701 (time 1787581868.39 total 90.06 last 69.89) - open/close 7259 (time 1787581878.39 total 100.07 last 55.79) - open/close 8001 (time 1787581888.40 total 110.07 last 74.16) - open/close 8797 (time 1787581898.41 total 120.08 last 79.53) - open/close 9537 (time 1787581908.42 total 130.09 last 73.93) total: 10000 open/close in 135.38 seconds: 73.87 ops/second llite.lustre-ffff88ad102a7000.statahead_batch_max=0 llite.lustre-ffff88ad102a7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88ad102a7000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.886s user 0m0.336s sys 0m13.451s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88ad102a7000.statahead_batch_max=256 llite.lustre-ffff88ad102a7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88ad102a7000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88ad102a7000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.084s user 0m0.298s sys 0m13.489s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88ad102a7000.batch_stats= snapshot_time: 1787582051.648638145 secs.nsecs start_time: 1787581985.214675751 secs.nsecs elapsed_time: 66.433962394 secs.nsecs subreqs per batch batches %% cum %% 1: 91 37 37 2: 38 15 53 4: 29 12 65 8: 9 3 69 16: 18 7 77 32: 16 6 83 64: 4 1 85 128: 0 0 85 256: 35 14 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-ffff88ad102a7000.statahead_batch_max=64 llite.lustre-ffff88ad102a7000.statahead_max=128