== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 19:06:25 (1786835185) llite.lustre-ffff953505d83000.statahead_max=1024 llite.lustre-ffff953505d83000.statahead_batch_max=32 llite.lustre-ffff953505d83000.statahead_min=64 llite.lustre-ffff953505d83000.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.04 seconds: 247.45 ops/second llite.lustre-ffff953505d83000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff953505d83000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff953505d83000.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: 1786835196.650006829 secs.nsecs start_time: 1786835193.523185830 secs.nsecs elapsed_time: 3.126820999 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 7 4: 15 16 24 8: 3 3 28 16: 5 5 33 32: 59 66 100 snapshot_time: 1786835196.650050962 secs.nsecs start_time: 1786835193.523432859 secs.nsecs elapsed_time: 3.126618103 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: 1786835227.882959578 secs.nsecs start_time: 1786835193.523185830 secs.nsecs elapsed_time: 34.359773748 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 3 3 8 4: 15 16 25 8: 3 3 28 16: 5 5 34 32: 59 65 100 snapshot_time: 1786835227.883028413 secs.nsecs start_time: 1786835193.523432859 secs.nsecs elapsed_time: 34.359595554 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 4.31 seconds: 232.06 ops/second llite.lustre-ffff953505d83000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff953505d83000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff953505d83000.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: 1786835240.338647749 secs.nsecs start_time: 1786835236.959841995 secs.nsecs elapsed_time: 3.378805754 secs.nsecs subreqs per batch batches %% cum %% 1: 16 16 16 2: 4 4 20 4: 3 3 23 8: 10 10 33 16: 8 8 41 32: 57 58 100 snapshot_time: 1786835240.338707727 secs.nsecs start_time: 1786835236.959971533 secs.nsecs elapsed_time: 3.378736194 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: 1786835271.497746155 secs.nsecs start_time: 1786835236.959841995 secs.nsecs elapsed_time: 34.537904160 secs.nsecs subreqs per batch batches %% cum %% 1: 17 17 17 2: 4 4 21 4: 3 3 24 8: 10 10 34 16: 8 8 42 32: 57 57 100 snapshot_time: 1786835271.497834920 secs.nsecs start_time: 1786835236.959971533 secs.nsecs elapsed_time: 34.537863387 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786835276 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second - unlinked 0 (time 1786835282 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second llite.lustre-ffff953505d83000.enable_statahead_fname=1 llite.lustre-ffff953505d83000.statahead_min=8 llite.lustre-ffff953505d83000.statahead_batch_max=64 llite.lustre-ffff953505d83000.statahead_max=128