== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 18:41:24 (1787870484) llite.lustre-ffff9d84fc2e5800.statahead_max=1024 llite.lustre-ffff9d84fc2e5800.statahead_batch_max=32 llite.lustre-ffff9d84fc2e5800.statahead_min=64 llite.lustre-ffff9d84fc2e5800.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.17 seconds: 193.36 ops/second llite.lustre-ffff9d84fc2e5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d84fc2e5800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d84fc2e5800.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: 1787870497.240202415 secs.nsecs start_time: 1787870494.380332521 secs.nsecs elapsed_time: 2.859869894 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 2 2 10 4: 8 9 20 8: 5 5 25 16: 2 2 28 32: 61 71 100 snapshot_time: 1787870497.240424037 secs.nsecs start_time: 1787870494.380565876 secs.nsecs elapsed_time: 2.859858161 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: 1787870527.700279499 secs.nsecs start_time: 1787870494.380332521 secs.nsecs elapsed_time: 33.319946978 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 2 2 11 4: 8 9 20 8: 5 5 26 16: 2 2 29 32: 61 70 100 snapshot_time: 1787870527.701575982 secs.nsecs start_time: 1787870494.380565876 secs.nsecs elapsed_time: 33.321010106 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.42 seconds: 184.60 ops/second llite.lustre-ffff9d84fc2e5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d84fc2e5800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d84fc2e5800.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: 1787870541.467645990 secs.nsecs start_time: 1787870538.189485003 secs.nsecs elapsed_time: 3.278160987 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 7 4: 4 4 12 8: 6 7 19 16: 4 4 24 32: 61 75 100 snapshot_time: 1787870541.468098845 secs.nsecs start_time: 1787870538.189673621 secs.nsecs elapsed_time: 3.278425224 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: 1787870572.453049498 secs.nsecs start_time: 1787870538.189485003 secs.nsecs elapsed_time: 34.263564495 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 2 2 8 4: 4 4 13 8: 6 7 20 16: 4 4 25 32: 61 74 100 snapshot_time: 1787870572.453105943 secs.nsecs start_time: 1787870538.189673621 secs.nsecs elapsed_time: 34.263432322 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787870579 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1787870588 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff9d84fc2e5800.enable_statahead_fname=1 llite.lustre-ffff9d84fc2e5800.statahead_min=8 llite.lustre-ffff9d84fc2e5800.statahead_batch_max=64 llite.lustre-ffff9d84fc2e5800.statahead_max=128