== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 22:36:36 (1788662196) llite.lustre-ffff9c87379ee800.statahead_max=1024 llite.lustre-ffff9c87379ee800.statahead_batch_max=32 llite.lustre-ffff9c87379ee800.statahead_min=64 llite.lustre-ffff9c87379ee800.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.38 seconds: 185.99 ops/second llite.lustre-ffff9c87379ee800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c87379ee800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c87379ee800.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: 1788662211.682100182 secs.nsecs start_time: 1788662207.612510087 secs.nsecs elapsed_time: 4.069590095 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 1 1 11 4: 8 9 20 8: 9 10 30 16: 1 1 31 32: 60 68 100 snapshot_time: 1788662211.682163641 secs.nsecs start_time: 1788662207.612593839 secs.nsecs elapsed_time: 4.069569802 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: 1788662242.944311692 secs.nsecs start_time: 1788662207.612510087 secs.nsecs elapsed_time: 35.331801605 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 1 1 12 4: 8 8 21 8: 9 10 31 16: 1 1 32 32: 60 67 100 snapshot_time: 1788662242.944375747 secs.nsecs start_time: 1788662207.612593839 secs.nsecs elapsed_time: 35.331781908 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.57 seconds: 179.40 ops/second llite.lustre-ffff9c87379ee800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c87379ee800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c87379ee800.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: 1788662255.502884853 secs.nsecs start_time: 1788662252.471618905 secs.nsecs elapsed_time: 3.031265948 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 4 4 7 8: 12 14 21 16: 4 4 26 32: 60 73 100 snapshot_time: 1788662255.502947072 secs.nsecs start_time: 1788662252.471686818 secs.nsecs elapsed_time: 3.031260254 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1788662286.096426609 secs.nsecs start_time: 1788662252.471618905 secs.nsecs elapsed_time: 33.624807704 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 4 4 8 8: 12 14 22 16: 4 4 27 32: 60 72 100 snapshot_time: 1788662286.096490299 secs.nsecs start_time: 1788662252.471686818 secs.nsecs elapsed_time: 33.624803481 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788662293 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1788662303 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff9c87379ee800.enable_statahead_fname=1 llite.lustre-ffff9c87379ee800.statahead_min=8 llite.lustre-ffff9c87379ee800.statahead_batch_max=64 llite.lustre-ffff9c87379ee800.statahead_max=128