== sanity test 123ad: Verify batching statahead works correctly ========================================================== 20:35:23 (1787445323) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8d654666f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d654666f000.batch_stats=0 llite.lustre-ffff8d654666f000.statahead_max=32 llite.lustre-ffff8d654666f000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8d654666f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d654666f000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.18 seconds: 45.78 ops/second llite.lustre-ffff8d654666f000.statahead_max=0 101 real 0m2.054s user 0m0.003s sys 0m0.301s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8d654666f000.statahead_max=32 llite.lustre-ffff8d654666f000.statahead_max=32 101 real 0m1.015s user 0m0.005s sys 0m0.166s 'ls -l' 100 files with statahead: 1 sec statahead total: 141 statahead wrong: 2 agl total: 135 list_total: 31 fname_total: 97 hit_total: 3901 miss_total: 1536 swrong=2 ewrong=2 - open/close 856 (time 1787445349.38 total 10.00 last 85.58) total: 900 open/close in 10.62 seconds: 84.72 ops/second llite.lustre-ffff8d654666f000.statahead_max=0 1001 real 0m19.000s user 0m0.033s sys 0m2.750s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff8d654666f000.statahead_max=32 llite.lustre-ffff8d654666f000.statahead_max=32 1001 real 0m8.351s user 0m0.027s sys 0m1.340s 'ls -l' 1000 files with statahead: 8 sec statahead total: 142 statahead wrong: 2 agl total: 136 list_total: 32 fname_total: 97 hit_total: 4897 miss_total: 1540 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8d654666f000.statahead_stats= statahead total: 142 statahead wrong: 2 agl total: 136 list_total: 32 fname_total: 97 hit_total: 4897 miss_total: 1540 mdc.lustre-MDT0000-mdc-ffff8d654666f000.batch_stats= snapshot_time: 1787445408.572949931 secs.nsecs start_time: 1787445327.917946422 secs.nsecs elapsed_time: 80.655003509 secs.nsecs subreqs per batch batches %% cum %% 1: 4 10 10 2: 0 0 10 4: 2 5 16 8: 0 0 16 16: 26 70 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff8d654666f000.batch_stats= snapshot_time: 1787445408.573033063 secs.nsecs start_time: 1787445327.918029706 secs.nsecs elapsed_time: 80.655003357 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 3 7 12 16: 13 32 45 32: 22 55 100 - open/close 804 (time 1787445420.91 total 10.02 last 80.25) - open/close 1618 (time 1787445430.92 total 20.03 last 81.34) - open/close 2564 (time 1787445440.92 total 30.03 last 94.56) - open/close 3516 (time 1787445450.93 total 40.04 last 95.12) - open/close 4517 (time 1787445460.94 total 50.05 last 100.00) - open/close 5482 (time 1787445470.95 total 60.05 last 96.46) - open/close 6379 (time 1787445480.95 total 70.05 last 89.70) - open/close 7299 (time 1787445490.95 total 80.05 last 91.99) - open/close 8278 (time 1787445500.96 total 90.06 last 97.83) - open/close 9161 (time 1787445510.96 total 100.07 last 88.24) total: 10000 open/close in 109.04 seconds: 91.71 ops/second llite.lustre-ffff8d654666f000.statahead_batch_max=0 llite.lustre-ffff8d654666f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d654666f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8d654666f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.677s user 0m0.268s sys 0m14.928s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8d654666f000.statahead_batch_max=32 llite.lustre-ffff8d654666f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d654666f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8d654666f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8d654666f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8d654666f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m33.589s user 0m0.280s sys 0m13.773s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff8d654666f000.batch_stats= snapshot_time: 1787445696.173393488 secs.nsecs start_time: 1787445593.027173771 secs.nsecs elapsed_time: 103.146219717 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-ffff8d654666f000.batch_stats= snapshot_time: 1787445696.173450350 secs.nsecs start_time: 1787445593.027317249 secs.nsecs elapsed_time: 103.146133101 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8d654666f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d654666f000.batch_stats=0 llite.lustre-ffff8d654666f000.statahead_max=2048 llite.lustre-ffff8d654666f000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8d654666f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d654666f000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.26 seconds: 44.27 ops/second llite.lustre-ffff8d654666f000.statahead_max=0 101 real 0m1.914s user 0m0.004s sys 0m0.302s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8d654666f000.statahead_max=2048 llite.lustre-ffff8d654666f000.statahead_max=2048 101 real 0m0.849s user 0m0.004s sys 0m0.188s '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: 10078 miss_total: 22 swrong=0 ewrong=0 total: 900 open/close in 9.77 seconds: 92.14 ops/second llite.lustre-ffff8d654666f000.statahead_max=0 1001 real 0m18.461s user 0m0.023s sys 0m2.732s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff8d654666f000.statahead_max=2048 llite.lustre-ffff8d654666f000.statahead_max=2048 1001 real 0m4.990s user 0m0.030s sys 0m1.458s 'ls -l' 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff8d654666f000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 mdc.lustre-MDT0000-mdc-ffff8d654666f000.batch_stats= snapshot_time: 1787446015.224264292 secs.nsecs start_time: 1787445698.133623037 secs.nsecs elapsed_time: 317.090641255 secs.nsecs subreqs per batch batches %% cum %% 1: 1 11 11 2: 0 0 11 4: 2 22 33 8: 2 22 55 16: 1 11 66 32: 0 0 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff8d654666f000.batch_stats= snapshot_time: 1787446015.224351907 secs.nsecs start_time: 1787445698.138331446 secs.nsecs elapsed_time: 317.086020461 secs.nsecs subreqs per batch batches %% cum %% 1: 1 11 11 2: 0 0 11 4: 1 11 22 8: 3 33 55 16: 1 11 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 - open/close 860 (time 1787446027.49 total 10.01 last 85.92) - open/close 1755 (time 1787446037.50 total 20.02 last 89.42) - open/close 2634 (time 1787446047.51 total 30.03 last 87.84) - open/close 3534 (time 1787446057.51 total 40.03 last 90.00) - open/close 4485 (time 1787446067.52 total 50.03 last 95.02) - open/close 5388 (time 1787446077.52 total 60.04 last 90.28) - open/close 6360 (time 1787446087.52 total 70.04 last 97.17) - open/close 7290 (time 1787446097.52 total 80.04 last 92.99) - open/close 7929 (time 1787446107.53 total 90.05 last 63.85) - open/close 8719 (time 1787446117.54 total 100.06 last 78.93) - open/close 9486 (time 1787446127.55 total 110.07 last 76.64) total: 10000 open/close in 115.96 seconds: 86.23 ops/second llite.lustre-ffff8d654666f000.statahead_batch_max=0 llite.lustre-ffff8d654666f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d654666f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8d654666f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.337s user 0m0.305s sys 0m15.551s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8d654666f000.statahead_batch_max=256 llite.lustre-ffff8d654666f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d654666f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8d654666f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8d654666f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8d654666f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.374s user 0m0.269s sys 0m14.329s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8d654666f000.batch_stats= snapshot_time: 1787446251.568598345 secs.nsecs start_time: 1787446193.954155579 secs.nsecs elapsed_time: 57.614442766 secs.nsecs subreqs per batch batches %% cum %% 1: 87 40 40 2: 29 13 54 4: 18 8 62 8: 10 4 67 16: 6 2 70 32: 22 10 80 64: 6 2 83 128: 1 0 83 256: 35 16 100 mdc.lustre-MDT0001-mdc-ffff8d654666f000.batch_stats= snapshot_time: 1787446251.568670470 secs.nsecs start_time: 1787446193.956115268 secs.nsecs elapsed_time: 57.612555202 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-ffff8d654666f000.statahead_batch_max=64 llite.lustre-ffff8d654666f000.statahead_max=128