== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 06:19:05 (1788517145) llite.lustre-ffff8a58c529e000.statahead_max=1024 llite.lustre-ffff8a58c529e000.statahead_batch_max=32 llite.lustre-ffff8a58c529e000.statahead_min=64 llite.lustre-ffff8a58c529e000.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 9.98 seconds: 100.24 ops/second llite.lustre-ffff8a58c529e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a58c529e000.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: 1788517169.031199912 secs.nsecs start_time: 1788517164.320644089 secs.nsecs elapsed_time: 4.710555823 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 5 6 10 4: 5 6 16 8: 3 3 20 16: 4 5 25 32: 60 75 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1788517200.312749797 secs.nsecs start_time: 1788517164.320644089 secs.nsecs elapsed_time: 35.992105708 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 5 6 11 4: 5 6 17 8: 3 3 20 16: 4 4 25 32: 60 74 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 6.91 seconds: 144.79 ops/second llite.lustre-ffff8a58c529e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a58c529e000.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: 1788517215.730386618 secs.nsecs start_time: 1788517212.240603271 secs.nsecs elapsed_time: 3.489783347 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 5 6 10 8: 7 8 18 16: 4 5 24 32: 60 75 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1788517247.160531098 secs.nsecs start_time: 1788517212.240603271 secs.nsecs elapsed_time: 34.919927827 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 5 4: 5 6 11 8: 7 8 20 16: 4 5 25 32: 60 75 100 - unlinked 0 (time 1788517257 ; total 1 ; last 1) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second - unlinked 0 (time 1788517270 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff8a58c529e000.enable_statahead_fname=1 llite.lustre-ffff8a58c529e000.statahead_min=8 llite.lustre-ffff8a58c529e000.statahead_batch_max=64 llite.lustre-ffff8a58c529e000.statahead_max=128