== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 21:27:41 (1788917261) llite.lustre-ffff8a47c902a000.statahead_max=1024 llite.lustre-ffff8a47c902a000.statahead_batch_max=32 llite.lustre-ffff8a47c902a000.statahead_min=64 llite.lustre-ffff8a47c902a000.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.31 seconds: 432.75 ops/second llite.lustre-ffff8a47c902a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a47c902a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a47c902a000.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: 1788917268.232970830 secs.nsecs start_time: 1788917266.021104787 secs.nsecs elapsed_time: 2.211866043 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 0 0 1 4: 11 13 14 8: 11 13 27 16: 2 2 29 32: 59 70 100 snapshot_time: 1788917268.233068093 secs.nsecs start_time: 1788917266.021198730 secs.nsecs elapsed_time: 2.211869363 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: 994 miss_total: 1 snapshot_time: 1788917299.730372822 secs.nsecs start_time: 1788917266.021104787 secs.nsecs elapsed_time: 33.709268035 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 11 12 15 8: 11 12 28 16: 2 2 30 32: 59 69 100 snapshot_time: 1788917299.730415616 secs.nsecs start_time: 1788917266.021198730 secs.nsecs elapsed_time: 33.709216886 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 1.65 seconds: 606.98 ops/second llite.lustre-ffff8a47c902a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a47c902a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a47c902a000.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: 1788917305.016525413 secs.nsecs start_time: 1788917303.306111136 secs.nsecs elapsed_time: 1.710414277 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 3 3 7 8: 7 8 16 16: 8 10 26 32: 58 73 100 snapshot_time: 1788917305.016586520 secs.nsecs start_time: 1788917303.306181756 secs.nsecs elapsed_time: 1.710404764 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1788917336.458045988 secs.nsecs start_time: 1788917303.306111136 secs.nsecs elapsed_time: 33.151934852 secs.nsecs subreqs per batch batches %% cum %% 1: 4 5 5 2: 0 0 5 4: 3 3 8 8: 7 8 17 16: 8 10 27 32: 58 72 100 snapshot_time: 1788917336.458108772 secs.nsecs start_time: 1788917303.306181756 secs.nsecs elapsed_time: 33.151927016 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788917339 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1788917341 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second llite.lustre-ffff8a47c902a000.enable_statahead_fname=1 llite.lustre-ffff8a47c902a000.statahead_min=8 llite.lustre-ffff8a47c902a000.statahead_batch_max=64 llite.lustre-ffff8a47c902a000.statahead_max=128