== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 22:14:02 (1787796842) llite.lustre-ffff999d196a1800.statahead_max=1024 llite.lustre-ffff999d196a1800.statahead_batch_max=32 llite.lustre-ffff999d196a1800.statahead_min=64 llite.lustre-ffff999d196a1800.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 6.20 seconds: 161.28 ops/second llite.lustre-ffff999d196a1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff999d196a1800.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: 1787796858.514019270 secs.nsecs start_time: 1787796854.370028568 secs.nsecs elapsed_time: 4.143990702 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 4 4 8 4: 9 10 19 8: 4 4 24 16: 4 4 28 32: 59 71 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: 1787796889.997891688 secs.nsecs start_time: 1787796854.370028568 secs.nsecs elapsed_time: 35.627863120 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 4 4 9 4: 9 10 20 8: 4 4 25 16: 4 4 29 32: 59 70 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.86 seconds: 145.75 ops/second llite.lustre-ffff999d196a1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff999d196a1800.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: 1787796905.817908105 secs.nsecs start_time: 1787796902.246851488 secs.nsecs elapsed_time: 3.571056617 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 2 2 6 4: 2 2 8 8: 6 7 16 16: 7 8 25 32: 60 75 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s 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: 1787796936.897847550 secs.nsecs start_time: 1787796902.246851488 secs.nsecs elapsed_time: 34.650996062 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 7 4: 2 2 9 8: 6 7 17 16: 7 8 25 32: 60 74 100 - unlinked 0 (time 1787796946 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787796958 ; total 0 ; last 0) total: 1000 unlinks in 14 seconds: 71.428574 unlinks/second llite.lustre-ffff999d196a1800.enable_statahead_fname=1 llite.lustre-ffff999d196a1800.statahead_min=8 llite.lustre-ffff999d196a1800.statahead_batch_max=64 llite.lustre-ffff999d196a1800.statahead_max=128