== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 03:20:43 (1734682843) llite.lustre-ffff8800a7004000.statahead_max=1024 llite.lustre-ffff8800a7004000.statahead_batch_max=32 llite.lustre-ffff8800a7004000.statahead_min=64 llite.lustre-ffff8800a7004000.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 3.33 seconds: 300.24 ops/second llite.lustre-ffff8800a7004000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a7004000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800a7004000.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: 1734682851.318641085 secs.nsecs start_time: 1734682849.464988861 secs.nsecs elapsed_time: 1.853652224 secs.nsecs subreqs per batch batches % cum % 1: 8 9 9 2: 4 4 13 4: 7 7 21 8: 6 6 28 16: 5 5 34 32: 58 65 100 snapshot_time: 1734682851.320677061 secs.nsecs start_time: 1734682849.465126855 secs.nsecs elapsed_time: 1.855550206 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: 1734682882.203905675 secs.nsecs start_time: 1734682849.464988861 secs.nsecs elapsed_time: 32.738916814 secs.nsecs subreqs per batch batches % cum % 1: 9 10 10 2: 4 4 14 4: 7 7 22 8: 6 6 29 16: 5 5 34 32: 58 65 100 snapshot_time: 1734682882.204094513 secs.nsecs start_time: 1734682849.465126855 secs.nsecs elapsed_time: 32.738967658 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 2.76 seconds: 362.46 ops/second llite.lustre-ffff8800a7004000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a7004000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800a7004000.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: 1734682887.861352887 secs.nsecs start_time: 1734682886.951456976 secs.nsecs elapsed_time: 0.909895911 secs.nsecs subreqs per batch batches % cum % 1: 6 7 7 2: 1 1 8 4: 2 2 10 8: 10 12 22 16: 4 4 27 32: 60 72 100 snapshot_time: 1734682887.861499175 secs.nsecs start_time: 1734682886.952919000 secs.nsecs elapsed_time: 0.908580175 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: 1734682918.890368340 secs.nsecs start_time: 1734682886.951456976 secs.nsecs elapsed_time: 31.938911364 secs.nsecs subreqs per batch batches % cum % 1: 7 8 8 2: 1 1 9 4: 2 2 11 8: 10 11 23 16: 4 4 28 32: 60 71 100 snapshot_time: 1734682918.891180785 secs.nsecs start_time: 1734682886.952919000 secs.nsecs elapsed_time: 31.938261785 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1734682922 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1734682927 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second llite.lustre-ffff8800a7004000.enable_statahead_fname=1 llite.lustre-ffff8800a7004000.statahead_min=8 llite.lustre-ffff8800a7004000.statahead_batch_max=64 llite.lustre-ffff8800a7004000.statahead_max=128