== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 19:14:43 (1779318883) llite.lustre-ffff8b7b453a5000.statahead_max=1024 llite.lustre-ffff8b7b453a5000.statahead_batch_max=32 llite.lustre-ffff8b7b453a5000.statahead_min=64 llite.lustre-ffff8b7b453a5000.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 8.19 seconds: 122.10 ops/second llite.lustre-ffff8b7b453a5000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b7b453a5000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b7b453a5000.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: 1779318903.560250980 secs.nsecs start_time: 1779318899.137336299 secs.nsecs elapsed_time: 4.422914681 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 5 6 8 4: 13 15 24 8: 2 2 26 16: 1 1 27 32: 60 72 100 snapshot_time: 1779318903.560313746 secs.nsecs start_time: 1779318899.137526928 secs.nsecs elapsed_time: 4.422786818 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 '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1779318934.264565703 secs.nsecs start_time: 1779318899.137336299 secs.nsecs elapsed_time: 35.127229404 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 5 5 9 4: 13 15 25 8: 2 2 27 16: 1 1 28 32: 60 71 100 snapshot_time: 1779318934.264670448 secs.nsecs start_time: 1779318899.137526928 secs.nsecs elapsed_time: 35.127143520 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 9.31 seconds: 107.38 ops/second llite.lustre-ffff8b7b453a5000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b7b453a5000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b7b453a5000.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: 1779318957.117500913 secs.nsecs start_time: 1779318952.184147204 secs.nsecs elapsed_time: 4.933353709 secs.nsecs subreqs per batch batches % cum % 1: 7 8 8 2: 5 6 14 4: 2 2 16 8: 3 3 20 16: 6 7 27 32: 60 72 100 snapshot_time: 1779318957.117584488 secs.nsecs start_time: 1779318952.184223616 secs.nsecs elapsed_time: 4.933360872 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: 995 miss_total: 0 snapshot_time: 1779318987.727796678 secs.nsecs start_time: 1779318952.184147204 secs.nsecs elapsed_time: 35.543649474 secs.nsecs subreqs per batch batches % cum % 1: 8 9 9 2: 5 5 15 4: 2 2 17 8: 3 3 21 16: 6 7 28 32: 60 71 100 snapshot_time: 1779318987.727858173 secs.nsecs start_time: 1779318952.184223616 secs.nsecs elapsed_time: 35.543634557 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1779318998 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1779319008 ; total 0 ; last 0) total: 1000 unlinks in 18 seconds: 55.555557 unlinks/second llite.lustre-ffff8b7b453a5000.enable_statahead_fname=1 llite.lustre-ffff8b7b453a5000.statahead_min=8 llite.lustre-ffff8b7b453a5000.statahead_batch_max=64 llite.lustre-ffff8b7b453a5000.statahead_max=128