== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 06:12:13 (1789553533) llite.lustre-ffff989dad926800.statahead_max=1024 llite.lustre-ffff989dad926800.statahead_batch_max=32 llite.lustre-ffff989dad926800.statahead_min=64 llite.lustre-ffff989dad926800.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.19 seconds: 238.43 ops/second llite.lustre-ffff989dad926800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff989dad926800.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: 1789553544.138878127 secs.nsecs start_time: 1789553541.513336927 secs.nsecs elapsed_time: 2.625541200 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 3 3 12 4: 6 6 19 8: 5 5 25 16: 4 4 30 32: 60 69 100 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: 1789553575.405149892 secs.nsecs start_time: 1789553541.513336927 secs.nsecs elapsed_time: 33.891812965 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 3 3 13 4: 6 6 20 8: 5 5 26 16: 4 4 31 32: 60 68 100 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.39 seconds: 227.73 ops/second llite.lustre-ffff989dad926800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff989dad926800.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: 1789553585.074322343 secs.nsecs start_time: 1789553582.911013072 secs.nsecs elapsed_time: 2.163309271 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 3 3 5 4: 2 2 7 8: 5 6 14 16: 9 11 25 32: 58 74 100 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: 1789553615.680255616 secs.nsecs start_time: 1789553582.911013072 secs.nsecs elapsed_time: 32.769242544 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 6 4: 2 2 8 8: 5 6 15 16: 9 11 26 32: 58 73 100 - unlinked 0 (time 1789553620 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second - unlinked 0 (time 1789553626 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second llite.lustre-ffff989dad926800.enable_statahead_fname=1 llite.lustre-ffff989dad926800.statahead_min=8 llite.lustre-ffff989dad926800.statahead_batch_max=64 llite.lustre-ffff989dad926800.statahead_max=128