== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 15:42:51 (1787859771) llite.lustre-ffff9a18ec50c000.statahead_max=1024 llite.lustre-ffff9a18ec50c000.statahead_batch_max=32 llite.lustre-ffff9a18ec50c000.statahead_min=64 llite.lustre-ffff9a18ec50c000.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.87 seconds: 205.30 ops/second llite.lustre-ffff9a18ec50c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a18ec50c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a18ec50c000.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: 1787859786.454343258 secs.nsecs start_time: 1787859782.782619978 secs.nsecs elapsed_time: 3.671723280 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 3 3 10 4: 9 10 20 8: 9 10 30 16: 1 1 31 32: 60 68 100 snapshot_time: 1787859786.454420734 secs.nsecs start_time: 1787859782.782711477 secs.nsecs elapsed_time: 3.671709257 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: 1787859817.437332940 secs.nsecs start_time: 1787859782.782619978 secs.nsecs elapsed_time: 34.654712962 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 3 3 11 4: 9 10 21 8: 9 10 31 16: 1 1 32 32: 60 67 100 snapshot_time: 1787859817.437405940 secs.nsecs start_time: 1787859782.782711477 secs.nsecs elapsed_time: 34.654694463 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.09 seconds: 196.51 ops/second llite.lustre-ffff9a18ec50c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a18ec50c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a18ec50c000.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: 1787859831.947914142 secs.nsecs start_time: 1787859827.772893410 secs.nsecs elapsed_time: 4.175020732 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 4 4 11 4: 6 6 18 8: 5 5 24 16: 6 6 31 32: 59 68 100 snapshot_time: 1787859831.947976699 secs.nsecs start_time: 1787859827.772972663 secs.nsecs elapsed_time: 4.175004036 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: 1 snapshot_time: 1787859863.025136153 secs.nsecs start_time: 1787859827.772893410 secs.nsecs elapsed_time: 35.252242743 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 4 4 12 4: 6 6 19 8: 5 5 25 16: 6 6 32 32: 59 67 100 snapshot_time: 1787859863.025214238 secs.nsecs start_time: 1787859827.772972663 secs.nsecs elapsed_time: 35.252241575 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787859870 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787859880 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff9a18ec50c000.enable_statahead_fname=1 llite.lustre-ffff9a18ec50c000.statahead_min=8 llite.lustre-ffff9a18ec50c000.statahead_batch_max=64 llite.lustre-ffff9a18ec50c000.statahead_max=128