== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 06:03:13 (1784196193) llite.lustre-ffff8de20998e800.statahead_max=1024 llite.lustre-ffff8de20998e800.statahead_batch_max=32 llite.lustre-ffff8de20998e800.statahead_min=64 llite.lustre-ffff8de20998e800.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 4.94 seconds: 202.36 ops/second llite.lustre-ffff8de20998e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8de20998e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8de20998e800.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: 1784196208.456918847 secs.nsecs start_time: 1784196204.115536327 secs.nsecs elapsed_time: 4.341382520 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 6 4: 11 13 19 8: 5 6 25 16: 3 3 28 32: 59 71 100 snapshot_time: 1784196208.456992885 secs.nsecs start_time: 1784196204.115657696 secs.nsecs elapsed_time: 4.341335189 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: 993 miss_total: 2 snapshot_time: 1784196239.511275469 secs.nsecs start_time: 1784196204.115536327 secs.nsecs elapsed_time: 35.395739142 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 11 13 20 8: 5 5 26 16: 3 3 29 32: 59 70 100 snapshot_time: 1784196239.511359164 secs.nsecs start_time: 1784196204.115657696 secs.nsecs elapsed_time: 35.395701468 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 6.35 seconds: 157.57 ops/second llite.lustre-ffff8de20998e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8de20998e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8de20998e800.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: 1784196253.582578279 secs.nsecs start_time: 1784196250.664323467 secs.nsecs elapsed_time: 2.918254812 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 6 6 18 4: 7 7 26 8: 3 3 29 16: 5 5 34 32: 60 65 100 snapshot_time: 1784196253.582647044 secs.nsecs start_time: 1784196250.665069086 secs.nsecs elapsed_time: 2.917577958 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1784196284.170897282 secs.nsecs start_time: 1784196250.664323467 secs.nsecs elapsed_time: 33.506573815 secs.nsecs subreqs per batch batches %% cum %% 1: 12 12 12 2: 6 6 19 4: 7 7 26 8: 3 3 30 16: 5 5 35 32: 60 64 100 snapshot_time: 1784196284.171086976 secs.nsecs start_time: 1784196250.665069086 secs.nsecs elapsed_time: 33.506017890 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1784196291 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1784196300 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff8de20998e800.enable_statahead_fname=1 llite.lustre-ffff8de20998e800.statahead_min=8 llite.lustre-ffff8de20998e800.statahead_batch_max=64 llite.lustre-ffff8de20998e800.statahead_max=128