== sanity test 123ad: Verify batching statahead works correctly ========================================================== 13:35:00 (1787852100) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff981d7bd53000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff981d7bd53000.batch_stats=0 llite.lustre-ffff981d7bd53000.statahead_max=32 llite.lustre-ffff981d7bd53000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff981d7bd53000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff981d7bd53000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.96 seconds: 33.74 ops/second llite.lustre-ffff981d7bd53000.statahead_max=0 101 real 0m2.164s user 0m0.007s sys 0m0.293s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff981d7bd53000.statahead_max=32 llite.lustre-ffff981d7bd53000.statahead_max=32 101 real 0m1.306s user 0m0.003s sys 0m0.164s 'ls -l' 100 files with statahead: 1 sec statahead total: 115 statahead wrong: 2 agl total: 109 list_total: 30 fname_total: 85 hit_total: 4025 miss_total: 1625 swrong=2 ewrong=2 - open/close 725 (time 1787852130.59 total 10.01 last 72.41) total: 900 open/close in 12.64 seconds: 71.21 ops/second llite.lustre-ffff981d7bd53000.statahead_max=0 1001 real 0m27.576s user 0m0.033s sys 0m2.941s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff981d7bd53000.statahead_max=32 llite.lustre-ffff981d7bd53000.statahead_max=32 1001 real 0m11.624s user 0m0.023s sys 0m1.312s 'ls -l' 1000 files with statahead: 12 sec statahead total: 116 statahead wrong: 2 agl total: 110 list_total: 31 fname_total: 85 hit_total: 5021 miss_total: 1629 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff981d7bd53000.statahead_stats= statahead total: 116 statahead wrong: 2 agl total: 110 list_total: 31 fname_total: 85 hit_total: 5021 miss_total: 1629 mdc.lustre-MDT0000-mdc-ffff981d7bd53000.batch_stats= snapshot_time: 1787852205.675474049 secs.nsecs start_time: 1787852106.051536662 secs.nsecs elapsed_time: 99.623937387 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 4 10 17 16: 20 51 69 32: 12 30 100 mdc.lustre-MDT0001-mdc-ffff981d7bd53000.batch_stats= snapshot_time: 1787852205.675546752 secs.nsecs start_time: 1787852106.051704591 secs.nsecs elapsed_time: 99.623842161 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 3 7 15 16: 17 42 57 32: 17 42 100 - open/close 887 (time 1787852218.28 total 10.01 last 88.59) - open/close 1806 (time 1787852228.29 total 20.02 last 91.79) - open/close 2718 (time 1787852238.30 total 30.04 last 91.04) - open/close 3449 (time 1787852248.31 total 40.04 last 73.10) - open/close 4287 (time 1787852258.31 total 50.05 last 83.75) - open/close 5188 (time 1787852268.31 total 60.05 last 90.09) - open/close 6054 (time 1787852278.32 total 70.06 last 86.52) - open/close 6926 (time 1787852288.32 total 80.06 last 87.19) - open/close 7809 (time 1787852298.33 total 90.06 last 88.25) - open/close 8803 (time 1787852308.33 total 100.07 last 99.39) - open/close 9619 (time 1787852318.34 total 110.07 last 81.53) total: 10000 open/close in 114.46 seconds: 87.37 ops/second llite.lustre-ffff981d7bd53000.statahead_batch_max=0 llite.lustre-ffff981d7bd53000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff981d7bd53000.stats=clear mdc.lustre-MDT0001-mdc-ffff981d7bd53000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.598s user 0m0.287s sys 0m15.172s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff981d7bd53000.statahead_batch_max=32 llite.lustre-ffff981d7bd53000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff981d7bd53000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff981d7bd53000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff981d7bd53000.stats=clear mdc.lustre-MDT0001-mdc-ffff981d7bd53000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m37.568s user 0m0.279s sys 0m13.836s batched statahead RPC= hit count=9977 mdc.lustre-MDT0000-mdc-ffff981d7bd53000.batch_stats= snapshot_time: 1787852503.922635488 secs.nsecs start_time: 1787852395.492191679 secs.nsecs elapsed_time: 108.430443809 secs.nsecs subreqs per batch batches %% cum %% 1: 1 0 0 2: 1 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 1 32: 313 98 100 mdc.lustre-MDT0001-mdc-ffff981d7bd53000.batch_stats= snapshot_time: 1787852503.923050223 secs.nsecs start_time: 1787852395.492344829 secs.nsecs elapsed_time: 108.430705394 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff981d7bd53000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff981d7bd53000.batch_stats=0 llite.lustre-ffff981d7bd53000.statahead_max=2048 llite.lustre-ffff981d7bd53000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff981d7bd53000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff981d7bd53000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.62 seconds: 38.11 ops/second llite.lustre-ffff981d7bd53000.statahead_max=0 101 real 0m1.979s user 0m0.004s sys 0m0.276s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff981d7bd53000.statahead_max=2048 llite.lustre-ffff981d7bd53000.statahead_max=2048 101 real 0m0.875s user 0m0.002s sys 0m0.187s '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 867 (time 1787852811.11 total 10.00 last 86.69) total: 900 open/close in 10.39 seconds: 86.61 ops/second llite.lustre-ffff981d7bd53000.statahead_max=0 1001 real 0m23.364s user 0m0.029s sys 0m2.829s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff981d7bd53000.statahead_max=2048 llite.lustre-ffff981d7bd53000.statahead_max=2048 1001 real 0m5.312s user 0m0.023s sys 0m1.461s '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: 11075 miss_total: 25 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff981d7bd53000.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-ffff981d7bd53000.batch_stats= snapshot_time: 1787852870.234575192 secs.nsecs start_time: 1787852507.384318441 secs.nsecs elapsed_time: 362.850256751 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 16 16 8: 3 50 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff981d7bd53000.batch_stats= snapshot_time: 1787852870.234640231 secs.nsecs start_time: 1787852507.384460796 secs.nsecs elapsed_time: 362.850179435 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 1 11 33 16: 2 22 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 947 (time 1787852882.50 total 10.00 last 94.67) - open/close 1851 (time 1787852892.50 total 20.01 last 90.36) - open/close 2811 (time 1787852902.51 total 30.02 last 95.93) - open/close 3834 (time 1787852912.51 total 40.02 last 102.29) - open/close 4788 (time 1787852922.51 total 50.02 last 95.37) - open/close 5756 (time 1787852932.52 total 60.03 last 96.73) - open/close 6747 (time 1787852942.53 total 70.03 last 99.03) - open/close 7663 (time 1787852952.53 total 80.04 last 91.56) - open/close 8631 (time 1787852962.53 total 90.04 last 96.77) - open/close 9573 (time 1787852972.54 total 100.05 last 94.11) total: 10000 open/close in 104.64 seconds: 95.56 ops/second llite.lustre-ffff981d7bd53000.statahead_batch_max=0 llite.lustre-ffff981d7bd53000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff981d7bd53000.stats=clear mdc.lustre-MDT0001-mdc-ffff981d7bd53000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m50.286s user 0m0.283s sys 0m16.610s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff981d7bd53000.statahead_batch_max=256 llite.lustre-ffff981d7bd53000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff981d7bd53000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff981d7bd53000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff981d7bd53000.stats=clear mdc.lustre-MDT0001-mdc-ffff981d7bd53000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m42.061s user 0m0.236s sys 0m15.957s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff981d7bd53000.batch_stats= snapshot_time: 1787853081.290112894 secs.nsecs start_time: 1787853032.731664208 secs.nsecs elapsed_time: 48.558448686 secs.nsecs subreqs per batch batches %% cum %% 1: 71 42 42 2: 14 8 51 4: 8 4 56 8: 7 4 60 16: 7 4 64 32: 14 8 72 64: 8 4 77 128: 2 1 78 256: 35 21 100 mdc.lustre-MDT0001-mdc-ffff981d7bd53000.batch_stats= snapshot_time: 1787853081.290193163 secs.nsecs start_time: 1787853032.731750619 secs.nsecs elapsed_time: 48.558442544 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-ffff981d7bd53000.statahead_batch_max=64 llite.lustre-ffff981d7bd53000.statahead_max=128