== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:54:18 (1779105258) llite.lustre-ffff9e3576ad9000.statahead_max=1024 llite.lustre-ffff9e3576ad9000.statahead_batch_max=32 llite.lustre-ffff9e3576ad9000.statahead_min=64 llite.lustre-ffff9e3576ad9000.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.32 seconds: 136.53 ops/second llite.lustre-ffff9e3576ad9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e3576ad9000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e3576ad9000.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: 1779105278.825997179 secs.nsecs start_time: 1779105272.642211790 secs.nsecs elapsed_time: 6.183785389 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 9 10 12 4: 9 10 22 8: 2 2 25 16: 1 1 26 32: 61 73 100 snapshot_time: 1779105278.826071634 secs.nsecs start_time: 1779105272.642313825 secs.nsecs elapsed_time: 6.183757809 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: 1779105309.973210891 secs.nsecs start_time: 1779105272.642211790 secs.nsecs elapsed_time: 37.330999101 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 9 10 13 4: 9 10 23 8: 2 2 26 16: 1 1 27 32: 61 72 100 snapshot_time: 1779105309.973291190 secs.nsecs start_time: 1779105272.642313825 secs.nsecs elapsed_time: 37.330977365 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.84 seconds: 171.26 ops/second llite.lustre-ffff9e3576ad9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e3576ad9000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e3576ad9000.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: 1779105326.222662326 secs.nsecs start_time: 1779105322.020459734 secs.nsecs elapsed_time: 4.202202592 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 2 2 3 4: 6 7 10 8: 9 10 21 16: 9 10 32 32: 57 67 100 snapshot_time: 1779105326.222791797 secs.nsecs start_time: 1779105322.020608254 secs.nsecs elapsed_time: 4.202183543 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 '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1779105356.495447070 secs.nsecs start_time: 1779105322.020459734 secs.nsecs elapsed_time: 34.474987336 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 2 2 4 4: 6 7 11 8: 9 10 22 16: 9 10 32 32: 57 67 100 snapshot_time: 1779105356.495522826 secs.nsecs start_time: 1779105322.020608254 secs.nsecs elapsed_time: 34.474914572 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1779105365 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second - unlinked 0 (time 1779105382 ; total 0 ; last 0) total: 1000 unlinks in 16 seconds: 62.500000 unlinks/second llite.lustre-ffff9e3576ad9000.enable_statahead_fname=1 llite.lustre-ffff9e3576ad9000.statahead_min=8 llite.lustre-ffff9e3576ad9000.statahead_batch_max=64 llite.lustre-ffff9e3576ad9000.statahead_max=128