== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:50:10 (1790743810) llite.lustre-ffff8916de7eb800.statahead_max=1024 llite.lustre-ffff8916de7eb800.statahead_batch_max=32 llite.lustre-ffff8916de7eb800.statahead_min=64 llite.lustre-ffff8916de7eb800.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.55 seconds: 180.09 ops/second llite.lustre-ffff8916de7eb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8916de7eb800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8916de7eb800.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: 1790743825.172463952 secs.nsecs start_time: 1790743821.188610921 secs.nsecs elapsed_time: 3.983853031 secs.nsecs subreqs per batch batches %% cum %% 1: 10 10 10 2: 5 5 16 4: 7 7 24 8: 8 8 32 16: 2 2 35 32: 59 64 100 snapshot_time: 1790743825.172742083 secs.nsecs start_time: 1790743821.189314023 secs.nsecs elapsed_time: 3.983428060 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1790743856.083224716 secs.nsecs start_time: 1790743821.188610921 secs.nsecs elapsed_time: 34.894613795 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 5 5 17 4: 7 7 25 8: 8 8 33 16: 2 2 35 32: 59 64 100 snapshot_time: 1790743856.083288246 secs.nsecs start_time: 1790743821.189314023 secs.nsecs elapsed_time: 34.893974223 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 5.95 seconds: 168.16 ops/second llite.lustre-ffff8916de7eb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8916de7eb800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8916de7eb800.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: 1790743870.382250337 secs.nsecs start_time: 1790743866.853526323 secs.nsecs elapsed_time: 3.528724014 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 4 4 15 4: 3 3 19 8: 9 10 29 16: 4 4 33 32: 59 66 100 snapshot_time: 1790743870.382930774 secs.nsecs start_time: 1790743866.853807295 secs.nsecs elapsed_time: 3.529123479 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 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1790743901.422991498 secs.nsecs start_time: 1790743866.853526323 secs.nsecs elapsed_time: 34.569465175 secs.nsecs subreqs per batch batches %% cum %% 1: 11 12 12 2: 4 4 16 4: 3 3 20 8: 9 10 30 16: 4 4 34 32: 59 65 100 snapshot_time: 1790743901.423145031 secs.nsecs start_time: 1790743866.853807295 secs.nsecs elapsed_time: 34.569337736 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1790743909 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1790743918 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8916de7eb800.enable_statahead_fname=1 llite.lustre-ffff8916de7eb800.statahead_min=8 llite.lustre-ffff8916de7eb800.statahead_batch_max=64 llite.lustre-ffff8916de7eb800.statahead_max=128