== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 10:22:58 (1790950978) llite.lustre-ffff96b560988000.statahead_max=1024 llite.lustre-ffff96b560988000.statahead_batch_max=32 llite.lustre-ffff96b560988000.statahead_min=64 llite.lustre-ffff96b560988000.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 6.62 seconds: 151.15 ops/second llite.lustre-ffff96b560988000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96b560988000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96b560988000.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: 0 list_total: 0 fname_total: 1 hit_total: 0 miss_total: 0 snapshot_time: 1790950997.644199233 secs.nsecs start_time: 1790950992.869909486 secs.nsecs elapsed_time: 4.774289747 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 8 8 17 4: 8 8 26 8: 7 7 34 16: 1 1 35 32: 59 64 100 snapshot_time: 1790950997.644257989 secs.nsecs start_time: 1790950992.869991620 secs.nsecs elapsed_time: 4.774266369 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1790951028.612900857 secs.nsecs start_time: 1790950992.869909486 secs.nsecs elapsed_time: 35.742991371 secs.nsecs subreqs per batch batches %% cum %% 1: 9 9 9 2: 8 8 18 4: 8 8 27 8: 7 7 34 16: 1 1 35 32: 59 64 100 snapshot_time: 1790951028.612974702 secs.nsecs start_time: 1790950992.869991620 secs.nsecs elapsed_time: 35.742983082 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 5.74 seconds: 174.27 ops/second llite.lustre-ffff96b560988000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96b560988000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96b560988000.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: 1790951043.408235247 secs.nsecs start_time: 1790951039.859281179 secs.nsecs elapsed_time: 3.548954068 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 1 1 10 4: 6 6 16 8: 8 8 25 16: 8 8 34 32: 58 65 100 snapshot_time: 1790951043.408304059 secs.nsecs start_time: 1790951039.860139734 secs.nsecs elapsed_time: 3.548164325 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 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: 1790951074.390250783 secs.nsecs start_time: 1790951039.859281179 secs.nsecs elapsed_time: 34.530969604 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 1 1 11 4: 6 6 17 8: 8 8 26 16: 8 8 35 32: 58 64 100 snapshot_time: 1790951074.390309278 secs.nsecs start_time: 1790951039.860139734 secs.nsecs elapsed_time: 34.530169544 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1790951082 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1790951092 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff96b560988000.enable_statahead_fname=1 llite.lustre-ffff96b560988000.statahead_min=8 llite.lustre-ffff96b560988000.statahead_batch_max=64 llite.lustre-ffff96b560988000.statahead_max=128