== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:00:10 (1786179610) llite.lustre-ffff9b2558f66000.statahead_max=1024 llite.lustre-ffff9b2558f66000.statahead_batch_max=32 llite.lustre-ffff9b2558f66000.statahead_min=64 llite.lustre-ffff9b2558f66000.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.18 seconds: 161.72 ops/second llite.lustre-ffff9b2558f66000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b2558f66000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b2558f66000.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: 1786179627.357390077 secs.nsecs start_time: 1786179622.342629600 secs.nsecs elapsed_time: 5.014760477 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 7 8 10 4: 9 10 21 8: 5 5 27 16: 3 3 30 32: 59 69 100 snapshot_time: 1786179627.357467405 secs.nsecs start_time: 1786179622.343598517 secs.nsecs elapsed_time: 5.013868888 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 '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786179658.284080843 secs.nsecs start_time: 1786179622.342629600 secs.nsecs elapsed_time: 35.941451243 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 7 8 11 4: 9 10 22 8: 5 5 27 16: 3 3 31 32: 59 68 100 snapshot_time: 1786179658.284157635 secs.nsecs start_time: 1786179622.343598517 secs.nsecs elapsed_time: 35.940559118 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.11 seconds: 163.56 ops/second llite.lustre-ffff9b2558f66000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b2558f66000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b2558f66000.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: 1786179673.379805537 secs.nsecs start_time: 1786179669.465970490 secs.nsecs elapsed_time: 3.913835047 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 0 0 7 4: 3 3 11 8: 5 6 17 16: 2 2 20 32: 63 79 100 snapshot_time: 1786179673.379902400 secs.nsecs start_time: 1786179669.466214425 secs.nsecs elapsed_time: 3.913687975 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 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786179704.531257041 secs.nsecs start_time: 1786179669.465970490 secs.nsecs elapsed_time: 35.065286551 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 0 0 8 4: 3 3 12 8: 5 6 18 16: 2 2 21 32: 63 78 100 snapshot_time: 1786179704.531326764 secs.nsecs start_time: 1786179669.466214425 secs.nsecs elapsed_time: 35.065112339 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786179714 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1786179725 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff9b2558f66000.enable_statahead_fname=1 llite.lustre-ffff9b2558f66000.statahead_min=8 llite.lustre-ffff9b2558f66000.statahead_batch_max=64 llite.lustre-ffff9b2558f66000.statahead_max=128