== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:35:07 (1788842107) llite.lustre-ffff8eea0f59f000.statahead_max=1024 llite.lustre-ffff8eea0f59f000.statahead_batch_max=32 llite.lustre-ffff8eea0f59f000.statahead_min=64 llite.lustre-ffff8eea0f59f000.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.73 seconds: 174.55 ops/second llite.lustre-ffff8eea0f59f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eea0f59f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eea0f59f000.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: 1788842121.592511259 secs.nsecs start_time: 1788842118.243119794 secs.nsecs elapsed_time: 3.349391465 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 4 4 11 4: 9 10 22 8: 3 3 26 16: 1 1 27 32: 61 72 100 snapshot_time: 1788842121.592575761 secs.nsecs start_time: 1788842118.243276672 secs.nsecs elapsed_time: 3.349299089 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: 1788842152.758533581 secs.nsecs start_time: 1788842118.243119794 secs.nsecs elapsed_time: 34.515413787 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 4 4 12 4: 9 10 23 8: 3 3 27 16: 1 1 28 32: 61 71 100 snapshot_time: 1788842152.758597339 secs.nsecs start_time: 1788842118.243276672 secs.nsecs elapsed_time: 34.515320667 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 4.64 seconds: 215.63 ops/second llite.lustre-ffff8eea0f59f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eea0f59f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eea0f59f000.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: 1788842165.059747305 secs.nsecs start_time: 1788842161.652359606 secs.nsecs elapsed_time: 3.407387699 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 4 4: 6 8 12 8: 2 2 14 16: 2 2 17 32: 61 82 100 snapshot_time: 1788842165.059815837 secs.nsecs start_time: 1788842161.652507326 secs.nsecs elapsed_time: 3.407308511 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: 994 miss_total: 1 snapshot_time: 1788842195.876702938 secs.nsecs start_time: 1788842161.652359606 secs.nsecs elapsed_time: 34.224343332 secs.nsecs subreqs per batch batches %% cum %% 1: 3 4 4 2: 1 1 5 4: 6 8 13 8: 2 2 16 16: 2 2 18 32: 61 81 100 snapshot_time: 1788842195.876765062 secs.nsecs start_time: 1788842161.652507326 secs.nsecs elapsed_time: 34.224257736 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788842203 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1788842211 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff8eea0f59f000.enable_statahead_fname=1 llite.lustre-ffff8eea0f59f000.statahead_min=8 llite.lustre-ffff8eea0f59f000.statahead_batch_max=64 llite.lustre-ffff8eea0f59f000.statahead_max=128