== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:07:51 (1787803671) llite.lustre-ffff9578fe33f000.statahead_max=1024 llite.lustre-ffff9578fe33f000.statahead_batch_max=32 llite.lustre-ffff9578fe33f000.statahead_min=64 llite.lustre-ffff9578fe33f000.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 7.49 seconds: 133.57 ops/second llite.lustre-ffff9578fe33f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9578fe33f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9578fe33f000.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: 1787803692.656641775 secs.nsecs start_time: 1787803686.375237578 secs.nsecs elapsed_time: 6.281404197 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 5 5 7 4: 9 10 17 8: 4 4 22 16: 5 5 28 32: 60 71 100 snapshot_time: 1787803692.656707880 secs.nsecs start_time: 1787803686.375319464 secs.nsecs elapsed_time: 6.281388416 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: 1787803723.658087297 secs.nsecs start_time: 1787803686.375237578 secs.nsecs elapsed_time: 37.282849719 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 5 5 8 4: 9 10 18 8: 4 4 23 16: 5 5 29 32: 60 70 100 snapshot_time: 1787803723.658154383 secs.nsecs start_time: 1787803686.375319464 secs.nsecs elapsed_time: 37.282834919 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.22 seconds: 191.48 ops/second llite.lustre-ffff9578fe33f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9578fe33f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9578fe33f000.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: 1787803738.932841753 secs.nsecs start_time: 1787803734.592106925 secs.nsecs elapsed_time: 4.340734828 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 3 3 3 4: 5 6 9 8: 7 8 18 16: 9 11 29 32: 57 70 100 snapshot_time: 1787803738.932914306 secs.nsecs start_time: 1787803734.592294127 secs.nsecs elapsed_time: 4.340620179 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: 994 miss_total: 1 snapshot_time: 1787803769.663617842 secs.nsecs start_time: 1787803734.592106925 secs.nsecs elapsed_time: 35.071510917 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 3 3 4 4: 5 6 10 8: 7 8 19 16: 9 10 30 32: 57 69 100 snapshot_time: 1787803769.663839558 secs.nsecs start_time: 1787803734.592294127 secs.nsecs elapsed_time: 35.071545431 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787803778 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787803788 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff9578fe33f000.enable_statahead_fname=1 llite.lustre-ffff9578fe33f000.statahead_min=8 llite.lustre-ffff9578fe33f000.statahead_batch_max=64 llite.lustre-ffff9578fe33f000.statahead_max=128