== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:36:59 (1787801819) llite.lustre-ffff99caa7bf0000.statahead_max=1024 llite.lustre-ffff99caa7bf0000.statahead_batch_max=32 llite.lustre-ffff99caa7bf0000.statahead_min=64 llite.lustre-ffff99caa7bf0000.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 5.87 seconds: 170.46 ops/second llite.lustre-ffff99caa7bf0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99caa7bf0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99caa7bf0000.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: 1787801836.210186536 secs.nsecs start_time: 1787801831.435677963 secs.nsecs elapsed_time: 4.774508573 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 6 7 12 4: 10 11 24 8: 2 2 27 16: 1 1 28 32: 61 71 100 snapshot_time: 1787801836.210271054 secs.nsecs start_time: 1787801831.435759716 secs.nsecs elapsed_time: 4.774511338 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787801867.083981766 secs.nsecs start_time: 1787801831.435677963 secs.nsecs elapsed_time: 35.648303803 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 6 6 13 4: 10 11 25 8: 2 2 27 16: 1 1 29 32: 61 70 100 snapshot_time: 1787801867.084173860 secs.nsecs start_time: 1787801831.435759716 secs.nsecs elapsed_time: 35.648414144 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.92 seconds: 168.83 ops/second llite.lustre-ffff99caa7bf0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99caa7bf0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99caa7bf0000.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: 1787801882.127573285 secs.nsecs start_time: 1787801878.573988235 secs.nsecs elapsed_time: 3.553585050 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 6 7 10 8: 9 10 21 16: 8 9 31 32: 57 68 100 snapshot_time: 1787801882.127674419 secs.nsecs start_time: 1787801878.575407766 secs.nsecs elapsed_time: 3.552266653 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: 1787801913.487549335 secs.nsecs start_time: 1787801878.573988235 secs.nsecs elapsed_time: 34.913561100 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 6 7 11 8: 9 10 22 16: 8 9 32 32: 57 67 100 snapshot_time: 1787801913.488002157 secs.nsecs start_time: 1787801878.575407766 secs.nsecs elapsed_time: 34.912594391 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787801921 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1787801931 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff99caa7bf0000.enable_statahead_fname=1 llite.lustre-ffff99caa7bf0000.statahead_min=8 llite.lustre-ffff99caa7bf0000.statahead_batch_max=64 llite.lustre-ffff99caa7bf0000.statahead_max=128