== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 02:25:24 (1786947924) llite.lustre-ffff9395b3f59800.statahead_max=1024 llite.lustre-ffff9395b3f59800.statahead_batch_max=32 llite.lustre-ffff9395b3f59800.statahead_min=64 llite.lustre-ffff9395b3f59800.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.47 seconds: 118.04 ops/second llite.lustre-ffff9395b3f59800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9395b3f59800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9395b3f59800.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: 1786947945.666046382 secs.nsecs start_time: 1786947940.381703887 secs.nsecs elapsed_time: 5.284342495 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 6 7 9 4: 6 7 16 8: 6 7 24 16: 3 3 27 32: 60 72 100 snapshot_time: 1786947945.666121881 secs.nsecs start_time: 1786947940.381855833 secs.nsecs elapsed_time: 5.284266048 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: 1786947976.406442434 secs.nsecs start_time: 1786947940.381703887 secs.nsecs elapsed_time: 36.024738547 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 6 7 10 4: 6 7 17 8: 6 7 25 16: 3 3 28 32: 60 71 100 snapshot_time: 1786947976.406508519 secs.nsecs start_time: 1786947940.381855833 secs.nsecs elapsed_time: 36.024652686 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.69 seconds: 149.42 ops/second llite.lustre-ffff9395b3f59800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9395b3f59800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9395b3f59800.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: 1786947993.840711123 secs.nsecs start_time: 1786947989.428246182 secs.nsecs elapsed_time: 4.412464941 secs.nsecs subreqs per batch batches %% cum %% 1: 13 13 13 2: 2 2 15 4: 7 7 22 8: 13 13 35 16: 8 8 43 32: 57 57 100 snapshot_time: 1786947993.840786255 secs.nsecs start_time: 1786947989.428406945 secs.nsecs elapsed_time: 4.412379310 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: 1786948024.493100731 secs.nsecs start_time: 1786947989.428246182 secs.nsecs elapsed_time: 35.064854549 secs.nsecs subreqs per batch batches %% cum %% 1: 14 13 13 2: 2 1 15 4: 7 6 22 8: 13 12 35 16: 8 7 43 32: 57 56 100 snapshot_time: 1786948024.493168617 secs.nsecs start_time: 1786947989.428406945 secs.nsecs elapsed_time: 35.064761672 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786948033 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1786948046 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff9395b3f59800.enable_statahead_fname=1 llite.lustre-ffff9395b3f59800.statahead_min=8 llite.lustre-ffff9395b3f59800.statahead_batch_max=64 llite.lustre-ffff9395b3f59800.statahead_max=128