== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 12:01:10 (1722787270) llite.lustre-ffff8800ae470000.statahead_max=1024 llite.lustre-ffff8800ae470000.statahead_batch_max=32 llite.lustre-ffff8800ae470000.statahead_min=64 llite.lustre-ffff8800ae470000.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 1.00 seconds: 1005.01 ops/second llite.lustre-ffff8800ae470000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800ae470000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800ae470000.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: 1722787273.207344653 secs.nsecs start_time: 1722787272.434265446 secs.nsecs elapsed_time: 0.773079207 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 2 2 6 4: 14 16 22 8: 7 8 31 16: 1 1 32 32: 59 67 100 snapshot_time: 1722787273.207463926 secs.nsecs start_time: 1722787272.434352697 secs.nsecs elapsed_time: 0.773111229 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: 1 snapshot_time: 1722787304.083155414 secs.nsecs start_time: 1722787272.434265446 secs.nsecs elapsed_time: 31.648889968 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 2 2 7 4: 14 15 23 8: 7 7 31 16: 1 1 32 32: 59 67 100 snapshot_time: 1722787304.083261861 secs.nsecs start_time: 1722787272.434352697 secs.nsecs elapsed_time: 31.648909164 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 0.85 seconds: 1178.16 ops/second llite.lustre-ffff8800ae470000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800ae470000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800ae470000.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: 1722787306.409857412 secs.nsecs start_time: 1722787305.922663094 secs.nsecs elapsed_time: 0.487194318 secs.nsecs subreqs per batch batches % cum % 1: 30 27 27 2: 1 0 28 4: 0 0 28 8: 16 14 43 16: 4 3 47 32: 57 52 100 snapshot_time: 1722787306.409998889 secs.nsecs start_time: 1722787305.922777984 secs.nsecs elapsed_time: 0.487220905 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: 995 miss_total: 0 snapshot_time: 1722787337.253628236 secs.nsecs start_time: 1722787305.922663094 secs.nsecs elapsed_time: 31.330965142 secs.nsecs subreqs per batch batches % cum % 1: 31 28 28 2: 1 0 29 4: 0 0 29 8: 16 14 44 16: 4 3 47 32: 57 52 100 snapshot_time: 1722787337.253785396 secs.nsecs start_time: 1722787305.922777984 secs.nsecs elapsed_time: 31.331007412 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1722787339 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1722787340 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff8800ae470000.enable_statahead_fname=0 llite.lustre-ffff8800ae470000.statahead_min=8 llite.lustre-ffff8800ae470000.statahead_batch_max=64 llite.lustre-ffff8800ae470000.statahead_max=128