== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:34:37 (1787585677) llite.lustre-ffff88ac31a82800.statahead_max=1024 llite.lustre-ffff88ac31a82800.statahead_batch_max=32 llite.lustre-ffff88ac31a82800.statahead_min=64 llite.lustre-ffff88ac31a82800.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 5.79 seconds: 172.71 ops/second llite.lustre-ffff88ac31a82800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88ac31a82800.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: 1787585692.986136928 secs.nsecs start_time: 1787585689.498940624 secs.nsecs elapsed_time: 3.487196304 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 3 3 13 4: 10 11 24 8: 5 5 30 16: 3 3 33 32: 59 66 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: 993 miss_total: 2 snapshot_time: 1787585723.555422377 secs.nsecs start_time: 1787585689.498940624 secs.nsecs elapsed_time: 34.056481753 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 3 3 14 4: 10 11 25 8: 5 5 31 16: 3 3 34 32: 59 65 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 8.63 seconds: 115.87 ops/second llite.lustre-ffff88ac31a82800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88ac31a82800.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: 1787585744.486570092 secs.nsecs start_time: 1787585740.695007833 secs.nsecs elapsed_time: 3.791562259 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 2 2 6 4: 3 3 9 8: 11 13 22 16: 6 7 30 32: 58 69 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1787585775.252369598 secs.nsecs start_time: 1787585740.695007833 secs.nsecs elapsed_time: 34.557361765 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 7 4: 3 3 10 8: 11 13 23 16: 6 7 30 32: 58 69 100 - unlinked 0 (time 1787585784 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1787585797 ; total 1 ; last 1) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff88ac31a82800.enable_statahead_fname=1 llite.lustre-ffff88ac31a82800.statahead_min=8 llite.lustre-ffff88ac31a82800.statahead_batch_max=64 llite.lustre-ffff88ac31a82800.statahead_max=128