== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:20:38 (1788754838) llite.lustre-ffff8a15ca010800.statahead_max=1024 llite.lustre-ffff8a15ca010800.statahead_batch_max=32 llite.lustre-ffff8a15ca010800.statahead_min=64 llite.lustre-ffff8a15ca010800.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.58 seconds: 179.32 ops/second llite.lustre-ffff8a15ca010800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a15ca010800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a15ca010800.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: 1788754853.875852143 secs.nsecs start_time: 1788754849.862997897 secs.nsecs elapsed_time: 4.012854246 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 3 3 9 4: 4 4 14 8: 8 9 23 16: 6 7 30 32: 59 69 100 snapshot_time: 1788754853.875914263 secs.nsecs start_time: 1788754849.863067884 secs.nsecs elapsed_time: 4.012846379 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: 1788754885.092298059 secs.nsecs start_time: 1788754849.862997897 secs.nsecs elapsed_time: 35.229300162 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 3 3 10 4: 4 4 15 8: 8 9 24 16: 6 6 31 32: 59 68 100 snapshot_time: 1788754885.092364754 secs.nsecs start_time: 1788754849.863067884 secs.nsecs elapsed_time: 35.229296870 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.28 seconds: 189.37 ops/second llite.lustre-ffff8a15ca010800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a15ca010800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a15ca010800.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: 1788754898.920398175 secs.nsecs start_time: 1788754895.096883646 secs.nsecs elapsed_time: 3.823514529 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 6 7 14 8: 10 11 25 16: 3 3 29 32: 60 70 100 snapshot_time: 1788754898.921282076 secs.nsecs start_time: 1788754895.096951141 secs.nsecs elapsed_time: 3.824330935 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1788754929.988387110 secs.nsecs start_time: 1788754895.096883646 secs.nsecs elapsed_time: 34.891503464 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 8 4: 6 6 15 8: 10 11 26 16: 3 3 30 32: 60 69 100 snapshot_time: 1788754929.989107605 secs.nsecs start_time: 1788754895.096951141 secs.nsecs elapsed_time: 34.892156464 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788754937 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1788754945 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff8a15ca010800.enable_statahead_fname=1 llite.lustre-ffff8a15ca010800.statahead_min=8 llite.lustre-ffff8a15ca010800.statahead_batch_max=64 llite.lustre-ffff8a15ca010800.statahead_max=128