== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 17:25:24 (1717017924) llite.lustre-ffff88012c48b800.statahead_max=1024 llite.lustre-ffff88012c48b800.statahead_batch_max=32 llite.lustre-ffff88012c48b800.statahead_min=64 llite.lustre-ffff88012c48b800.enable_statahead_fname=1 Command: - createmany -m /mnt/lustre/d123i.sanity/f123i.sanity.%06d 1000 - ls /mnt/lustre/d123i.sanity/* > /dev/null total: 1000 create in 2.85 seconds: 351.21 ops/second llite.lustre-ffff88012c48b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012c48b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012c48b800.batch_stats=0 statahead_stats (Pre): statahead total: 0 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 0 hit_total: 0 miss_total: 0 statahead_stats (Post): statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 0 miss_total: 0 snapshot_time: 1717017931.326007101 secs.nsecs start_time: 1717017929.811994312 secs.nsecs elapsed_time: 1.514012789 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 3 3 6 4: 8 10 16 8: 4 5 21 16: 2 2 23 32: 61 76 100 snapshot_time: 1717017931.326916571 secs.nsecs start_time: 1717017929.812114914 secs.nsecs elapsed_time: 1.514801657 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 15s for '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 2 snapshot_time: 1717017962.156734253 secs.nsecs start_time: 1717017929.811994312 secs.nsecs elapsed_time: 32.344739941 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 3 3 7 4: 8 9 17 8: 4 4 22 16: 2 2 24 32: 61 75 100 snapshot_time: 1717017962.158901945 secs.nsecs start_time: 1717017929.812114914 secs.nsecs elapsed_time: 32.346787031 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 Command: - createmany -m /mnt/lustre/d123i.sanity/f123i.sanity 1000 - aheadmany -c stat -N -s 0 -e 1000 -b f123i.sanity -d /mnt/lustre/d123i.sanity total: 1000 create in 3.01 seconds: 332.78 ops/second llite.lustre-ffff88012c48b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012c48b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012c48b800.batch_stats=0 statahead_stats (Pre): statahead total: 0 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 0 hit_total: 0 miss_total: 0 statahead_stats (Post): statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 0 miss_total: 0 snapshot_time: 1717017968.071356774 secs.nsecs start_time: 1717017967.088529232 secs.nsecs elapsed_time: 0.982827542 secs.nsecs subreqs per batch batches % cum % 1: 35 31 31 2: 2 1 33 4: 2 1 35 8: 5 4 39 16: 9 8 47 32: 58 52 100 snapshot_time: 1717017968.071480499 secs.nsecs start_time: 1717017967.089969028 secs.nsecs elapsed_time: 0.981511471 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 15s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1717017998.741098598 secs.nsecs start_time: 1717017967.088529232 secs.nsecs elapsed_time: 31.652569366 secs.nsecs subreqs per batch batches % cum % 1: 36 32 32 2: 2 1 33 4: 2 1 35 8: 5 4 40 16: 9 8 48 32: 58 51 100 snapshot_time: 1717017998.741470630 secs.nsecs start_time: 1717017967.089969028 secs.nsecs elapsed_time: 31.651501602 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1717018001 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1717018005 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second llite.lustre-ffff88012c48b800.enable_statahead_fname=0 llite.lustre-ffff88012c48b800.statahead_min=8 llite.lustre-ffff88012c48b800.statahead_batch_max=64 llite.lustre-ffff88012c48b800.statahead_max=128