== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 02:37:00 (1788676620) llite.lustre-ffff8ba687f57000.statahead_max=1024 llite.lustre-ffff8ba687f57000.statahead_batch_max=32 llite.lustre-ffff8ba687f57000.statahead_min=64 llite.lustre-ffff8ba687f57000.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 6.46 seconds: 154.69 ops/second llite.lustre-ffff8ba687f57000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ba687f57000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ba687f57000.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: 1788676638.773079243 secs.nsecs start_time: 1788676633.979344441 secs.nsecs elapsed_time: 4.793734802 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 6 6 13 4: 3 3 17 8: 10 11 28 16: 3 3 32 32: 59 67 100 snapshot_time: 1788676638.773416010 secs.nsecs start_time: 1788676633.979486375 secs.nsecs elapsed_time: 4.793929635 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: 1788676669.173211984 secs.nsecs start_time: 1788676633.979344441 secs.nsecs elapsed_time: 35.193867543 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 6 6 14 4: 3 3 18 8: 10 11 29 16: 3 3 32 32: 59 67 100 snapshot_time: 1788676669.173607191 secs.nsecs start_time: 1788676633.979486375 secs.nsecs elapsed_time: 35.194120816 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.14 seconds: 194.39 ops/second llite.lustre-ffff8ba687f57000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ba687f57000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ba687f57000.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: 1788676684.729290167 secs.nsecs start_time: 1788676680.084353288 secs.nsecs elapsed_time: 4.644936879 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 3 3 9 4: 2 2 12 8: 5 6 18 16: 6 7 25 32: 60 74 100 snapshot_time: 1788676684.729451540 secs.nsecs start_time: 1788676680.084620193 secs.nsecs elapsed_time: 4.644831347 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: 1788676715.167472779 secs.nsecs start_time: 1788676680.084353288 secs.nsecs elapsed_time: 35.083119491 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 3 3 10 4: 2 2 13 8: 5 6 19 16: 6 7 26 32: 60 73 100 snapshot_time: 1788676715.167554428 secs.nsecs start_time: 1788676680.084620193 secs.nsecs elapsed_time: 35.082934235 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788676723 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1788676734 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8ba687f57000.enable_statahead_fname=1 llite.lustre-ffff8ba687f57000.statahead_min=8 llite.lustre-ffff8ba687f57000.statahead_batch_max=64 llite.lustre-ffff8ba687f57000.statahead_max=128