== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 03:15:27 (1789715727) llite.lustre-ffff96a68fe19000.statahead_max=1024 llite.lustre-ffff96a68fe19000.statahead_batch_max=32 llite.lustre-ffff96a68fe19000.statahead_min=64 llite.lustre-ffff96a68fe19000.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.77 seconds: 128.71 ops/second llite.lustre-ffff96a68fe19000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96a68fe19000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96a68fe19000.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: 1789715751.392832797 secs.nsecs start_time: 1789715747.215849218 secs.nsecs elapsed_time: 4.176983579 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 6 7 14 8: 7 8 22 16: 4 4 27 32: 60 72 100 snapshot_time: 1789715751.392896118 secs.nsecs start_time: 1789715747.215919093 secs.nsecs elapsed_time: 4.176977025 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1789715782.023833995 secs.nsecs start_time: 1789715747.215849218 secs.nsecs elapsed_time: 34.807984777 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 8 4: 6 7 15 8: 7 8 23 16: 4 4 28 32: 60 71 100 snapshot_time: 1789715782.024030875 secs.nsecs start_time: 1789715747.215919093 secs.nsecs elapsed_time: 34.808111782 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 4.46 seconds: 223.98 ops/second llite.lustre-ffff96a68fe19000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96a68fe19000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96a68fe19000.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: 1789715793.136041855 secs.nsecs start_time: 1789715790.497924995 secs.nsecs elapsed_time: 2.638116860 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 0 0 6 4: 3 3 9 8: 7 8 18 16: 6 7 25 32: 60 74 100 snapshot_time: 1789715793.136103788 secs.nsecs start_time: 1789715790.498035507 secs.nsecs elapsed_time: 2.638068281 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: 1789715824.007831440 secs.nsecs start_time: 1789715790.497924995 secs.nsecs elapsed_time: 33.509906445 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 0 0 7 4: 3 3 10 8: 7 8 19 16: 6 7 26 32: 60 73 100 snapshot_time: 1789715824.007883609 secs.nsecs start_time: 1789715790.498035507 secs.nsecs elapsed_time: 33.509848102 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789715829 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second - unlinked 0 (time 1789715836 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second llite.lustre-ffff96a68fe19000.enable_statahead_fname=1 llite.lustre-ffff96a68fe19000.statahead_min=8 llite.lustre-ffff96a68fe19000.statahead_batch_max=64 llite.lustre-ffff96a68fe19000.statahead_max=128