== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 06:15:43 (1784283343) llite.lustre-ffff8ceaca98f800.statahead_max=1024 llite.lustre-ffff8ceaca98f800.statahead_batch_max=32 llite.lustre-ffff8ceaca98f800.statahead_min=64 llite.lustre-ffff8ceaca98f800.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 1.20 seconds: 832.01 ops/second llite.lustre-ffff8ceaca98f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ceaca98f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ceaca98f800.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: 1784283349.526571502 secs.nsecs start_time: 1784283347.299020812 secs.nsecs elapsed_time: 2.227550690 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 1 1 2 4: 16 18 21 8: 6 7 28 16: 1 1 29 32: 60 70 100 snapshot_time: 1784283349.526635322 secs.nsecs start_time: 1784283347.299100550 secs.nsecs elapsed_time: 2.227534772 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: 1784283380.841313214 secs.nsecs start_time: 1784283347.299020812 secs.nsecs elapsed_time: 33.542292402 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 16 18 22 8: 6 6 29 16: 1 1 30 32: 60 69 100 snapshot_time: 1784283380.841350757 secs.nsecs start_time: 1784283347.299100550 secs.nsecs elapsed_time: 33.542250207 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 0.98 seconds: 1023.81 ops/second llite.lustre-ffff8ceaca98f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ceaca98f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ceaca98f800.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: 1784283385.347578414 secs.nsecs start_time: 1784283383.491633921 secs.nsecs elapsed_time: 1.855944493 secs.nsecs subreqs per batch batches %% cum %% 1: 38 29 29 2: 3 2 32 4: 9 7 39 8: 21 16 55 16: 2 1 57 32: 55 42 100 snapshot_time: 1784283385.347617264 secs.nsecs start_time: 1784283383.491721889 secs.nsecs elapsed_time: 1.855895375 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1784283416.530836139 secs.nsecs start_time: 1784283383.491633921 secs.nsecs elapsed_time: 33.039202218 secs.nsecs subreqs per batch batches %% cum %% 1: 39 30 30 2: 3 2 32 4: 9 6 39 8: 21 16 55 16: 2 1 57 32: 55 42 100 snapshot_time: 1784283416.530905129 secs.nsecs start_time: 1784283383.491721889 secs.nsecs elapsed_time: 33.039183240 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1784283419 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1784283421 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff8ceaca98f800.enable_statahead_fname=1 llite.lustre-ffff8ceaca98f800.statahead_min=8 llite.lustre-ffff8ceaca98f800.statahead_batch_max=64 llite.lustre-ffff8ceaca98f800.statahead_max=128