== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:02:11 (1789329731) llite.lustre-ffff96827a37e800.statahead_max=1024 llite.lustre-ffff96827a37e800.statahead_batch_max=32 llite.lustre-ffff96827a37e800.statahead_min=64 llite.lustre-ffff96827a37e800.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 2.45 seconds: 407.52 ops/second llite.lustre-ffff96827a37e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96827a37e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96827a37e800.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: 1789329740.629505221 secs.nsecs start_time: 1789329737.164073781 secs.nsecs elapsed_time: 3.465431440 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 17 20 23 8: 3 3 26 16: 0 0 26 32: 60 73 100 snapshot_time: 1789329740.629598911 secs.nsecs start_time: 1789329737.164176874 secs.nsecs elapsed_time: 3.465422037 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 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: 1789329771.461586569 secs.nsecs start_time: 1789329737.164073781 secs.nsecs elapsed_time: 34.297512788 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 17 20 24 8: 3 3 27 16: 0 0 27 32: 60 72 100 snapshot_time: 1789329771.461757619 secs.nsecs start_time: 1789329737.164176874 secs.nsecs elapsed_time: 34.297580745 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 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 2.27 seconds: 440.70 ops/second llite.lustre-ffff96827a37e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96827a37e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96827a37e800.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: 1789329779.134248374 secs.nsecs start_time: 1789329776.266613587 secs.nsecs elapsed_time: 2.867634787 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 0 0 7 4: 1 1 8 8: 10 12 21 16: 0 0 21 32: 62 78 100 snapshot_time: 1789329779.134294914 secs.nsecs start_time: 1789329776.266755057 secs.nsecs elapsed_time: 2.867539857 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 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: 1789329810.017028187 secs.nsecs start_time: 1789329776.266613587 secs.nsecs elapsed_time: 33.750414600 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 0 0 8 4: 1 1 10 8: 10 12 22 16: 0 0 22 32: 62 77 100 snapshot_time: 1789329810.017106150 secs.nsecs start_time: 1789329776.266755057 secs.nsecs elapsed_time: 33.750351093 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789329814 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1789329818 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second llite.lustre-ffff96827a37e800.enable_statahead_fname=1 llite.lustre-ffff96827a37e800.statahead_min=8 llite.lustre-ffff96827a37e800.statahead_batch_max=64 llite.lustre-ffff96827a37e800.statahead_max=128