== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 15:55:52 (1790884552) llite.lustre-ffff8cf446667000.statahead_max=1024 llite.lustre-ffff8cf446667000.statahead_batch_max=32 llite.lustre-ffff8cf446667000.statahead_min=64 llite.lustre-ffff8cf446667000.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.66 seconds: 602.01 ops/second llite.lustre-ffff8cf446667000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cf446667000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8cf446667000.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: 1790884558.879618800 secs.nsecs start_time: 1790884556.804060020 secs.nsecs elapsed_time: 2.075558780 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 18 20 25 8: 3 3 29 16: 1 1 30 32: 60 69 100 snapshot_time: 1790884558.879676188 secs.nsecs start_time: 1790884556.804139118 secs.nsecs elapsed_time: 2.075537070 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: 1790884589.521963177 secs.nsecs start_time: 1790884556.804060020 secs.nsecs elapsed_time: 32.717903157 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 1 1 5 4: 18 20 26 8: 3 3 29 16: 1 1 31 32: 60 68 100 snapshot_time: 1790884589.522030494 secs.nsecs start_time: 1790884556.804139118 secs.nsecs elapsed_time: 32.717891376 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 2.04 seconds: 490.36 ops/second llite.lustre-ffff8cf446667000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cf446667000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8cf446667000.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: 1790884595.591590905 secs.nsecs start_time: 1790884593.639822713 secs.nsecs elapsed_time: 1.951768192 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 6 4: 7 7 14 8: 18 20 34 16: 1 1 35 32: 58 64 100 snapshot_time: 1790884595.591648056 secs.nsecs start_time: 1790884593.639943009 secs.nsecs elapsed_time: 1.951705047 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: 1790884626.214599490 secs.nsecs start_time: 1790884593.639822713 secs.nsecs elapsed_time: 32.574776777 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 7 4: 7 7 15 8: 18 19 35 16: 1 1 36 32: 58 63 100 snapshot_time: 1790884626.214677494 secs.nsecs start_time: 1790884593.639943009 secs.nsecs elapsed_time: 32.574734485 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1790884629 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1790884633 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second llite.lustre-ffff8cf446667000.enable_statahead_fname=1 llite.lustre-ffff8cf446667000.statahead_min=8 llite.lustre-ffff8cf446667000.statahead_batch_max=64 llite.lustre-ffff8cf446667000.statahead_max=128