== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:53:21 (1789358001) llite.lustre-ffff9829992af000.statahead_max=1024 llite.lustre-ffff9829992af000.statahead_batch_max=32 llite.lustre-ffff9829992af000.statahead_min=64 llite.lustre-ffff9829992af000.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 2.04 seconds: 490.05 ops/second llite.lustre-ffff9829992af000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9829992af000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9829992af000.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: 1789358008.315195192 secs.nsecs start_time: 1789358005.937280157 secs.nsecs elapsed_time: 2.377915035 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 5 4: 16 19 25 8: 2 2 27 16: 0 0 27 32: 61 72 100 snapshot_time: 1789358008.315258046 secs.nsecs start_time: 1789358005.937348561 secs.nsecs elapsed_time: 2.377909485 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: 1789358038.807220851 secs.nsecs start_time: 1789358005.937280157 secs.nsecs elapsed_time: 32.869940694 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 16 18 25 8: 2 2 28 16: 0 0 28 32: 61 71 100 snapshot_time: 1789358038.807265029 secs.nsecs start_time: 1789358005.937348561 secs.nsecs elapsed_time: 32.869916468 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 2.74 seconds: 364.87 ops/second llite.lustre-ffff9829992af000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9829992af000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9829992af000.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: 1789358045.510215443 secs.nsecs start_time: 1789358043.638402223 secs.nsecs elapsed_time: 1.871813220 secs.nsecs subreqs per batch batches %% cum %% 1: 27 25 25 2: 1 0 26 4: 5 4 30 8: 10 9 40 16: 8 7 47 32: 56 52 100 snapshot_time: 1789358045.510275903 secs.nsecs start_time: 1789358043.638973211 secs.nsecs elapsed_time: 1.871302692 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: 1789358075.946909355 secs.nsecs start_time: 1789358043.638402223 secs.nsecs elapsed_time: 32.308507132 secs.nsecs subreqs per batch batches %% cum %% 1: 28 25 25 2: 1 0 26 4: 5 4 31 8: 10 9 40 16: 8 7 48 32: 56 51 100 snapshot_time: 1789358075.947051366 secs.nsecs start_time: 1789358043.638973211 secs.nsecs elapsed_time: 32.308078155 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789358079 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1789358082 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff9829992af000.enable_statahead_fname=1 llite.lustre-ffff9829992af000.statahead_min=8 llite.lustre-ffff9829992af000.statahead_batch_max=64 llite.lustre-ffff9829992af000.statahead_max=128