== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 18:18:21 (1788473901) llite.lustre-ffff8a30e7c04800.statahead_max=1024 llite.lustre-ffff8a30e7c04800.statahead_batch_max=32 llite.lustre-ffff8a30e7c04800.statahead_min=64 llite.lustre-ffff8a30e7c04800.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 8.41 seconds: 118.93 ops/second llite.lustre-ffff8a30e7c04800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a30e7c04800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a30e7c04800.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: 1788473922.320272900 secs.nsecs start_time: 1788473917.727201437 secs.nsecs elapsed_time: 4.593071463 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 7 8 9 4: 8 9 19 8: 2 2 21 16: 5 6 28 32: 59 71 100 snapshot_time: 1788473922.320340427 secs.nsecs start_time: 1788473917.727335432 secs.nsecs elapsed_time: 4.593004995 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: 1788473953.238801874 secs.nsecs start_time: 1788473917.727201437 secs.nsecs elapsed_time: 35.511600437 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 7 8 10 4: 8 9 20 8: 2 2 22 16: 5 6 28 32: 59 71 100 snapshot_time: 1788473953.238870140 secs.nsecs start_time: 1788473917.727335432 secs.nsecs elapsed_time: 35.511534708 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 7.65 seconds: 130.66 ops/second llite.lustre-ffff8a30e7c04800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a30e7c04800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a30e7c04800.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: 1788473971.579505549 secs.nsecs start_time: 1788473966.804131310 secs.nsecs elapsed_time: 4.775374239 secs.nsecs subreqs per batch batches %% cum %% 1: 12 12 12 2: 4 4 17 4: 5 5 22 8: 10 10 32 16: 4 4 37 32: 59 62 100 snapshot_time: 1788473971.579570393 secs.nsecs start_time: 1788473966.808005406 secs.nsecs elapsed_time: 4.771564987 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: 994 miss_total: 1 snapshot_time: 1788474002.806114914 secs.nsecs start_time: 1788473966.804131310 secs.nsecs elapsed_time: 36.001983604 secs.nsecs subreqs per batch batches %% cum %% 1: 13 13 13 2: 4 4 17 4: 5 5 23 8: 10 10 33 16: 4 4 37 32: 59 62 100 snapshot_time: 1788474002.806177954 secs.nsecs start_time: 1788473966.808005406 secs.nsecs elapsed_time: 35.998172548 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788474012 ; total 1 ; last 1) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1788474022 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff8a30e7c04800.enable_statahead_fname=1 llite.lustre-ffff8a30e7c04800.statahead_min=8 llite.lustre-ffff8a30e7c04800.statahead_batch_max=64 llite.lustre-ffff8a30e7c04800.statahead_max=128