== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 19:48:16 (1786837696) llite.lustre-ffff914bf43e5800.statahead_max=1024 llite.lustre-ffff914bf43e5800.statahead_batch_max=32 llite.lustre-ffff914bf43e5800.statahead_min=64 llite.lustre-ffff914bf43e5800.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.72 seconds: 582.49 ops/second llite.lustre-ffff914bf43e5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff914bf43e5800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff914bf43e5800.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: 1786837702.255746944 secs.nsecs start_time: 1786837700.188838905 secs.nsecs elapsed_time: 2.066908039 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 5 4: 18 20 26 8: 3 3 30 16: 0 0 30 32: 60 69 100 snapshot_time: 1786837702.255805442 secs.nsecs start_time: 1786837700.188921493 secs.nsecs elapsed_time: 2.066883949 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: 1786837733.475623302 secs.nsecs start_time: 1786837700.188838905 secs.nsecs elapsed_time: 33.286784397 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 6 4: 18 20 27 8: 3 3 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1786837733.475670752 secs.nsecs start_time: 1786837700.188921493 secs.nsecs elapsed_time: 33.286749259 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 1.21 seconds: 827.12 ops/second llite.lustre-ffff914bf43e5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff914bf43e5800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff914bf43e5800.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: 1786837738.787444457 secs.nsecs start_time: 1786837736.410821997 secs.nsecs elapsed_time: 2.376622460 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 1 1 8 4: 2 2 10 8: 23 25 35 16: 1 1 36 32: 58 63 100 snapshot_time: 1786837738.787491978 secs.nsecs start_time: 1786837736.410879404 secs.nsecs elapsed_time: 2.376612574 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: 1786837770.001088450 secs.nsecs start_time: 1786837736.410821997 secs.nsecs elapsed_time: 33.590266453 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 1 1 9 4: 2 2 11 8: 23 24 36 16: 1 1 37 32: 58 62 100 snapshot_time: 1786837770.001139876 secs.nsecs start_time: 1786837736.410879404 secs.nsecs elapsed_time: 33.590260472 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786837772 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1786837774 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff914bf43e5800.enable_statahead_fname=1 llite.lustre-ffff914bf43e5800.statahead_min=8 llite.lustre-ffff914bf43e5800.statahead_batch_max=64 llite.lustre-ffff914bf43e5800.statahead_max=128