== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 22:23:50 (1789611830) llite.lustre-ffff9040ebe77800.statahead_max=1024 llite.lustre-ffff9040ebe77800.statahead_batch_max=32 llite.lustre-ffff9040ebe77800.statahead_min=64 llite.lustre-ffff9040ebe77800.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.72 seconds: 174.76 ops/second llite.lustre-ffff9040ebe77800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9040ebe77800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9040ebe77800.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: 1789611847.403927987 secs.nsecs start_time: 1789611842.985364121 secs.nsecs elapsed_time: 4.418563866 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 5 5 11 4: 10 11 23 8: 4 4 28 16: 1 1 29 32: 60 70 100 snapshot_time: 1789611847.404087737 secs.nsecs start_time: 1789611842.985517246 secs.nsecs elapsed_time: 4.418570491 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: 993 miss_total: 2 snapshot_time: 1789611878.440674647 secs.nsecs start_time: 1789611842.985364121 secs.nsecs elapsed_time: 35.455310526 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 5 5 12 4: 10 11 24 8: 4 4 29 16: 1 1 30 32: 60 69 100 snapshot_time: 1789611878.440740378 secs.nsecs start_time: 1789611842.985517246 secs.nsecs elapsed_time: 35.455223132 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.55 seconds: 180.17 ops/second llite.lustre-ffff9040ebe77800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9040ebe77800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9040ebe77800.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: 1789611893.025984894 secs.nsecs start_time: 1789611889.139537643 secs.nsecs elapsed_time: 3.886447251 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 1 1 6 4: 1 1 7 8: 10 12 19 16: 4 4 24 32: 61 75 100 snapshot_time: 1789611893.026052194 secs.nsecs start_time: 1789611889.139683703 secs.nsecs elapsed_time: 3.886368491 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: 1789611923.385064579 secs.nsecs start_time: 1789611889.139537643 secs.nsecs elapsed_time: 34.245526936 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 1 1 7 4: 1 1 8 8: 10 12 20 16: 4 4 25 32: 61 74 100 snapshot_time: 1789611923.385151262 secs.nsecs start_time: 1789611889.139683703 secs.nsecs elapsed_time: 34.245467559 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789611931 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1789611943 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9040ebe77800.enable_statahead_fname=1 llite.lustre-ffff9040ebe77800.statahead_min=8 llite.lustre-ffff9040ebe77800.statahead_batch_max=64 llite.lustre-ffff9040ebe77800.statahead_max=128