== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 06:08:22 (1787738902) llite.lustre-ffff93aeae0bf000.statahead_max=1024 llite.lustre-ffff93aeae0bf000.statahead_batch_max=32 llite.lustre-ffff93aeae0bf000.statahead_min=64 llite.lustre-ffff93aeae0bf000.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.26 seconds: 190.06 ops/second llite.lustre-ffff93aeae0bf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93aeae0bf000.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: 1787738914.716340314 secs.nsecs start_time: 1787738911.471779798 secs.nsecs elapsed_time: 3.244560516 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 6 6 14 4: 7 7 21 8: 9 9 31 16: 3 3 35 32: 59 64 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: 1787738945.708391226 secs.nsecs start_time: 1787738911.471779798 secs.nsecs elapsed_time: 34.236611428 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 6 6 15 4: 7 7 22 8: 9 9 32 16: 3 3 35 32: 59 64 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.04 seconds: 165.48 ops/second llite.lustre-ffff93aeae0bf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93aeae0bf000.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: 1787738958.280260706 secs.nsecs start_time: 1787738955.286756164 secs.nsecs elapsed_time: 2.993504542 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 1 1 2 4: 1 1 3 8: 5 6 10 16: 9 11 22 32: 59 77 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: 994 miss_total: 1 snapshot_time: 1787738988.726292109 secs.nsecs start_time: 1787738955.286756164 secs.nsecs elapsed_time: 33.439535945 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 1 1 5 8: 5 6 11 16: 9 11 23 32: 59 76 100 - unlinked 0 (time 1787738995 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787739005 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff93aeae0bf000.enable_statahead_fname=1 llite.lustre-ffff93aeae0bf000.statahead_min=8 llite.lustre-ffff93aeae0bf000.statahead_batch_max=64 llite.lustre-ffff93aeae0bf000.statahead_max=128