== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 18:25:56 (1788733556) llite.lustre-ffff95bfc5638800.statahead_max=1024 llite.lustre-ffff95bfc5638800.statahead_batch_max=32 llite.lustre-ffff95bfc5638800.statahead_min=64 llite.lustre-ffff95bfc5638800.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.04 seconds: 966.05 ops/second llite.lustre-ffff95bfc5638800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95bfc5638800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95bfc5638800.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: 1788733561.381304135 secs.nsecs start_time: 1788733559.312034357 secs.nsecs elapsed_time: 2.069269778 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 17 19 22 8: 7 8 30 16: 0 0 30 32: 60 69 100 snapshot_time: 1788733561.381345269 secs.nsecs start_time: 1788733559.312091450 secs.nsecs elapsed_time: 2.069253819 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: 1788733592.592218649 secs.nsecs start_time: 1788733559.312034357 secs.nsecs elapsed_time: 33.280184292 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 17 19 22 8: 7 8 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1788733592.592269148 secs.nsecs start_time: 1788733559.312091450 secs.nsecs elapsed_time: 33.280177698 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 1.04 seconds: 959.87 ops/second llite.lustre-ffff95bfc5638800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95bfc5638800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95bfc5638800.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: 1788733597.579206500 secs.nsecs start_time: 1788733595.331136853 secs.nsecs elapsed_time: 2.248069647 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 1 1 10 4: 0 0 10 8: 18 20 31 16: 1 1 32 32: 59 67 100 snapshot_time: 1788733597.579253688 secs.nsecs start_time: 1788733595.331216150 secs.nsecs elapsed_time: 2.248037538 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: 1788733628.734806601 secs.nsecs start_time: 1788733595.331136853 secs.nsecs elapsed_time: 33.403669748 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 1 1 11 4: 0 0 11 8: 18 20 31 16: 1 1 32 32: 59 67 100 snapshot_time: 1788733628.734857521 secs.nsecs start_time: 1788733595.331216150 secs.nsecs elapsed_time: 33.403641371 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788733631 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1788733633 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff95bfc5638800.enable_statahead_fname=1 llite.lustre-ffff95bfc5638800.statahead_min=8 llite.lustre-ffff95bfc5638800.statahead_batch_max=64 llite.lustre-ffff95bfc5638800.statahead_max=128