== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:25:28 (1785788728) llite.lustre-ffff8bd93f7b4800.statahead_max=1024 llite.lustre-ffff8bd93f7b4800.statahead_batch_max=32 llite.lustre-ffff8bd93f7b4800.statahead_min=64 llite.lustre-ffff8bd93f7b4800.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 8.97 seconds: 111.46 ops/second llite.lustre-ffff8bd93f7b4800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bd93f7b4800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bd93f7b4800.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: 1785788753.774548183 secs.nsecs start_time: 1785788746.720483368 secs.nsecs elapsed_time: 7.054064815 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 6 6 13 4: 8 9 23 8: 5 5 29 16: 2 2 31 32: 59 68 100 snapshot_time: 1785788753.774627166 secs.nsecs start_time: 1785788746.720585081 secs.nsecs elapsed_time: 7.054042085 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: 1785788784.373989297 secs.nsecs start_time: 1785788746.720483368 secs.nsecs elapsed_time: 37.653505929 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 6 6 14 4: 8 9 24 8: 5 5 29 16: 2 2 32 32: 59 67 100 snapshot_time: 1785788784.375280221 secs.nsecs start_time: 1785788746.720585081 secs.nsecs elapsed_time: 37.654695140 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 9.09 seconds: 109.98 ops/second llite.lustre-ffff8bd93f7b4800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bd93f7b4800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bd93f7b4800.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: 1785788809.643778031 secs.nsecs start_time: 1785788802.963572842 secs.nsecs elapsed_time: 6.680205189 secs.nsecs subreqs per batch batches %% cum %% 1: 9 9 9 2: 4 4 13 4: 9 9 22 8: 11 11 34 16: 5 5 39 32: 58 60 100 snapshot_time: 1785788809.643842421 secs.nsecs start_time: 1785788802.963757920 secs.nsecs elapsed_time: 6.680084501 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: 1785788840.557708009 secs.nsecs start_time: 1785788802.963572842 secs.nsecs elapsed_time: 37.594135167 secs.nsecs subreqs per batch batches %% cum %% 1: 10 10 10 2: 4 4 14 4: 9 9 23 8: 11 11 35 16: 5 5 40 32: 58 59 100 snapshot_time: 1785788840.557778999 secs.nsecs start_time: 1785788802.963757920 secs.nsecs elapsed_time: 37.594021079 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1785788851 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1785788865 ; total 0 ; last 0) total: 1000 unlinks in 14 seconds: 71.428574 unlinks/second llite.lustre-ffff8bd93f7b4800.enable_statahead_fname=1 llite.lustre-ffff8bd93f7b4800.statahead_min=8 llite.lustre-ffff8bd93f7b4800.statahead_batch_max=64 llite.lustre-ffff8bd93f7b4800.statahead_max=128