== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 19:19:15 (1781219955) llite.lustre-ffff9dd048202000.statahead_max=1024 llite.lustre-ffff9dd048202000.statahead_batch_max=32 llite.lustre-ffff9dd048202000.statahead_min=64 llite.lustre-ffff9dd048202000.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.38 seconds: 119.29 ops/second llite.lustre-ffff9dd048202000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dd048202000.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: 1781219975.568123434 secs.nsecs start_time: 1781219970.599393626 secs.nsecs elapsed_time: 4.968729808 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 6 6 12 4: 13 14 26 8: 7 7 34 16: 0 0 34 32: 60 65 100 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: 1781220007.103112437 secs.nsecs start_time: 1781219970.599393626 secs.nsecs elapsed_time: 36.503718811 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 6 6 13 4: 13 14 27 8: 7 7 34 16: 0 0 34 32: 60 65 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 6.07 seconds: 164.65 ops/second llite.lustre-ffff9dd048202000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dd048202000.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: 1781220023.670173177 secs.nsecs start_time: 1781220019.155728360 secs.nsecs elapsed_time: 4.514444817 secs.nsecs subreqs per batch batches % cum % 1: 6 7 7 2: 3 3 10 4: 6 7 17 8: 7 8 25 16: 3 3 29 32: 60 70 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1781220054.419839224 secs.nsecs start_time: 1781220019.155728360 secs.nsecs elapsed_time: 35.264110864 secs.nsecs subreqs per batch batches % cum % 1: 7 8 8 2: 3 3 11 4: 6 6 18 8: 7 8 26 16: 3 3 30 32: 60 69 100 - unlinked 0 (time 1781220064 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1781220076 ; total 0 ; last 0) total: 1000 unlinks in 14 seconds: 71.428574 unlinks/second llite.lustre-ffff9dd048202000.enable_statahead_fname=1 llite.lustre-ffff9dd048202000.statahead_min=8 llite.lustre-ffff9dd048202000.statahead_batch_max=64 llite.lustre-ffff9dd048202000.statahead_max=128