== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 19:43:29 (1787874209) llite.lustre-ffff9b9a311bb000.statahead_max=1024 llite.lustre-ffff9b9a311bb000.statahead_batch_max=32 llite.lustre-ffff9b9a311bb000.statahead_min=64 llite.lustre-ffff9b9a311bb000.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.54 seconds: 180.59 ops/second llite.lustre-ffff9b9a311bb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9a311bb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b9a311bb000.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: 1787874224.618667744 secs.nsecs start_time: 1787874220.854585948 secs.nsecs elapsed_time: 3.764081796 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 3 3 4 4: 11 13 18 8: 3 3 22 16: 3 3 25 32: 60 74 100 snapshot_time: 1787874224.618739096 secs.nsecs start_time: 1787874220.854680168 secs.nsecs elapsed_time: 3.764058928 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: 1787874255.143346179 secs.nsecs start_time: 1787874220.854585948 secs.nsecs elapsed_time: 34.288760231 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 6 4: 11 13 19 8: 3 3 23 16: 3 3 26 32: 60 73 100 snapshot_time: 1787874255.143438021 secs.nsecs start_time: 1787874220.854680168 secs.nsecs elapsed_time: 34.288757853 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 6.54 seconds: 152.82 ops/second llite.lustre-ffff9b9a311bb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9a311bb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b9a311bb000.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: 1787874270.632337100 secs.nsecs start_time: 1787874267.086298738 secs.nsecs elapsed_time: 3.546038362 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 6 4: 7 7 14 8: 8 9 23 16: 11 12 36 32: 56 63 100 snapshot_time: 1787874270.632400109 secs.nsecs start_time: 1787874267.086419521 secs.nsecs elapsed_time: 3.545980588 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: 1787874301.976932651 secs.nsecs start_time: 1787874267.086298738 secs.nsecs elapsed_time: 34.890633913 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 2 2 7 4: 7 7 15 8: 8 8 24 16: 11 12 37 32: 56 62 100 snapshot_time: 1787874301.977053307 secs.nsecs start_time: 1787874267.086419521 secs.nsecs elapsed_time: 34.890633786 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787874309 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787874318 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9b9a311bb000.enable_statahead_fname=1 llite.lustre-ffff9b9a311bb000.statahead_min=8 llite.lustre-ffff9b9a311bb000.statahead_batch_max=64 llite.lustre-ffff9b9a311bb000.statahead_max=128