== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 09:19:16 (1775049556) llite.lustre-ffff8cad10ccb000.statahead_max=1024 llite.lustre-ffff8cad10ccb000.statahead_batch_max=32 llite.lustre-ffff8cad10ccb000.statahead_min=64 llite.lustre-ffff8cad10ccb000.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 2.16 seconds: 462.14 ops/second llite.lustre-ffff8cad10ccb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cad10ccb000.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: 1775049563.113076010 secs.nsecs start_time: 1775049561.146702580 secs.nsecs elapsed_time: 1.966373430 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 4 4 4 4: 20 23 27 8: 1 1 29 16: 1 1 30 32: 60 69 100 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: 1775049593.710698122 secs.nsecs start_time: 1775049561.146702580 secs.nsecs elapsed_time: 32.563995542 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 4 4 5 4: 20 22 28 8: 1 1 29 16: 1 1 31 32: 60 68 100 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 1.09 seconds: 915.45 ops/second llite.lustre-ffff8cad10ccb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cad10ccb000.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: 1775049599.084367768 secs.nsecs start_time: 1775049596.949086471 secs.nsecs elapsed_time: 2.135281297 secs.nsecs subreqs per batch batches % cum % 1: 23 21 21 2: 4 3 25 4: 4 3 28 8: 18 16 45 16: 1 0 46 32: 58 53 100 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: 1775049629.712127410 secs.nsecs start_time: 1775049596.949086471 secs.nsecs elapsed_time: 32.763040939 secs.nsecs subreqs per batch batches % cum % 1: 24 22 22 2: 4 3 25 4: 4 3 29 8: 18 16 45 16: 1 0 46 32: 58 53 100 - unlinked 0 (time 1775049632 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1775049637 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second llite.lustre-ffff8cad10ccb000.enable_statahead_fname=1 llite.lustre-ffff8cad10ccb000.statahead_min=8 llite.lustre-ffff8cad10ccb000.statahead_batch_max=64 llite.lustre-ffff8cad10ccb000.statahead_max=128