== sanity test 123ad: Verify batching statahead works correctly ========================================================== 05:39:52 (1787823592) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff905e910eb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff905e910eb000.batch_stats=0 llite.lustre-ffff905e910eb000.statahead_max=32 llite.lustre-ffff905e910eb000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff905e910eb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff905e910eb000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.20 seconds: 45.42 ops/second llite.lustre-ffff905e910eb000.statahead_max=0 101 real 0m2.258s user 0m0.003s sys 0m0.303s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff905e910eb000.statahead_max=32 llite.lustre-ffff905e910eb000.statahead_max=32 101 real 0m0.881s user 0m0.004s sys 0m0.139s 'ls -l' 100 files with statahead: 1 sec statahead total: 123 statahead wrong: 2 agl total: 118 list_total: 31 fname_total: 78 hit_total: 4197 miss_total: 1293 swrong=2 ewrong=2 - open/close 802 (time 1787823618.39 total 10.00 last 80.16) total: 900 open/close in 11.45 seconds: 78.61 ops/second llite.lustre-ffff905e910eb000.statahead_max=0 1001 real 0m20.954s user 0m0.040s sys 0m2.808s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff905e910eb000.statahead_max=32 llite.lustre-ffff905e910eb000.statahead_max=32 1001 real 0m10.283s user 0m0.024s sys 0m1.547s 'ls -l' 1000 files with statahead: 11 sec statahead total: 124 statahead wrong: 2 agl total: 119 list_total: 32 fname_total: 78 hit_total: 5191 miss_total: 1299 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff905e910eb000.statahead_stats= statahead total: 124 statahead wrong: 2 agl total: 119 list_total: 32 fname_total: 78 hit_total: 5191 miss_total: 1299 mdc.lustre-MDT0000-mdc-ffff905e910eb000.batch_stats= snapshot_time: 1787823682.686108962 secs.nsecs start_time: 1787823596.477184419 secs.nsecs elapsed_time: 86.208924543 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 2 5 11 4: 1 2 13 8: 0 0 13 16: 26 72 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff905e910eb000.batch_stats= snapshot_time: 1787823682.686175482 secs.nsecs start_time: 1787823596.477253749 secs.nsecs elapsed_time: 86.208921733 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 4 4: 0 0 4 8: 5 12 17 16: 8 19 36 32: 26 63 100 - open/close 777 (time 1787823694.77 total 10.00 last 77.67) - open/close 1579 (time 1787823704.78 total 20.01 last 80.17) - open/close 2374 (time 1787823714.79 total 30.02 last 79.44) - open/close 3143 (time 1787823724.79 total 40.02 last 76.89) - open/close 3985 (time 1787823734.79 total 50.02 last 84.15) - open/close 4761 (time 1787823744.81 total 60.04 last 77.49) - open/close 5535 (time 1787823754.82 total 70.05 last 77.29) - open/close 6315 (time 1787823764.83 total 80.06 last 77.97) - open/close 7111 (time 1787823774.83 total 90.06 last 79.54) - open/close 7949 (time 1787823784.84 total 100.07 last 83.75) - open/close 8744 (time 1787823794.84 total 110.07 last 79.49) - open/close 9549 (time 1787823804.85 total 120.08 last 80.45) total: 10000 open/close in 125.71 seconds: 79.55 ops/second llite.lustre-ffff905e910eb000.statahead_batch_max=0 llite.lustre-ffff905e910eb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff905e910eb000.stats=clear mdc.lustre-MDT0001-mdc-ffff905e910eb000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.224s user 0m0.292s sys 0m16.264s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff905e910eb000.statahead_batch_max=32 llite.lustre-ffff905e910eb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff905e910eb000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff905e910eb000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff905e910eb000.stats=clear mdc.lustre-MDT0001-mdc-ffff905e910eb000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m38.834s user 0m0.295s sys 0m14.511s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff905e910eb000.batch_stats= snapshot_time: 1787823979.237364629 secs.nsecs start_time: 1787823871.796583489 secs.nsecs elapsed_time: 107.440781140 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-ffff905e910eb000.batch_stats= snapshot_time: 1787823979.237442043 secs.nsecs start_time: 1787823871.796715209 secs.nsecs elapsed_time: 107.440726834 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff905e910eb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff905e910eb000.batch_stats=0 llite.lustre-ffff905e910eb000.statahead_max=2048 llite.lustre-ffff905e910eb000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff905e910eb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff905e910eb000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 3.39 seconds: 29.50 ops/second llite.lustre-ffff905e910eb000.statahead_max=0 101 real 0m2.922s user 0m0.007s sys 0m0.380s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff905e910eb000.statahead_max=2048 llite.lustre-ffff905e910eb000.statahead_max=2048 101 real 0m1.005s user 0m0.004s sys 0m0.166s '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: 10081 miss_total: 19 swrong=0 ewrong=0 - open/close 711 (time 1787824294.37 total 10.02 last 70.99) total: 900 open/close in 13.47 seconds: 66.81 ops/second llite.lustre-ffff905e910eb000.statahead_max=0 1001 real 0m22.499s user 0m0.033s sys 0m3.064s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff905e910eb000.statahead_max=2048 llite.lustre-ffff905e910eb000.statahead_max=2048 1001 real 0m5.833s user 0m0.028s sys 0m1.548s '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: 18 seconds llite.lustre-ffff905e910eb000.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-ffff905e910eb000.batch_stats= snapshot_time: 1787824356.577436618 secs.nsecs start_time: 1787823981.765310564 secs.nsecs elapsed_time: 374.812126054 secs.nsecs subreqs per batch batches %% cum %% 1: 1 16 16 2: 1 16 33 4: 1 16 50 8: 0 0 50 16: 1 16 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff905e910eb000.batch_stats= snapshot_time: 1787824356.577521638 secs.nsecs start_time: 1787823981.770699784 secs.nsecs elapsed_time: 374.806821854 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 22 22 16: 2 22 44 32: 2 22 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 818 (time 1787824369.14 total 10.00 last 81.78) - open/close 1574 (time 1787824379.14 total 20.01 last 75.55) - open/close 2367 (time 1787824389.15 total 30.01 last 79.26) - open/close 3099 (time 1787824399.15 total 40.02 last 73.17) - open/close 3841 (time 1787824409.16 total 50.03 last 74.12) - open/close 4600 (time 1787824419.17 total 60.04 last 75.82) - open/close 5337 (time 1787824429.17 total 70.04 last 73.70) - open/close 6102 (time 1787824439.18 total 80.05 last 76.44) - open/close 6926 (time 1787824449.19 total 90.06 last 82.32) - open/close 7677 (time 1787824459.19 total 100.06 last 75.09) - open/close 8513 (time 1787824469.21 total 110.07 last 83.48) - open/close 9283 (time 1787824479.21 total 120.08 last 76.98) total: 10000 open/close in 129.72 seconds: 77.09 ops/second llite.lustre-ffff905e910eb000.statahead_batch_max=0 llite.lustre-ffff905e910eb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff905e910eb000.stats=clear mdc.lustre-MDT0001-mdc-ffff905e910eb000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.157s user 0m0.316s sys 0m14.674s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff905e910eb000.statahead_batch_max=256 llite.lustre-ffff905e910eb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff905e910eb000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff905e910eb000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff905e910eb000.stats=clear mdc.lustre-MDT0001-mdc-ffff905e910eb000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.514s user 0m0.319s sys 0m15.206s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff905e910eb000.batch_stats= snapshot_time: 1787824628.829319828 secs.nsecs start_time: 1787824560.913020769 secs.nsecs elapsed_time: 67.916299059 secs.nsecs subreqs per batch batches %% cum %% 1: 97 41 41 2: 35 15 56 4: 27 11 68 8: 8 3 71 16: 8 3 75 32: 16 6 81 64: 6 2 84 128: 1 0 84 256: 35 15 100 mdc.lustre-MDT0001-mdc-ffff905e910eb000.batch_stats= snapshot_time: 1787824628.829389468 secs.nsecs start_time: 1787824560.913166620 secs.nsecs elapsed_time: 67.916222848 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-ffff905e910eb000.statahead_batch_max=64 llite.lustre-ffff905e910eb000.statahead_max=128