== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:46:32 (1782229592) llite.lustre-ffff9f4c85062800.statahead_max=1024 llite.lustre-ffff9f4c85062800.statahead_batch_max=32 llite.lustre-ffff9f4c85062800.statahead_min=64 llite.lustre-ffff9f4c85062800.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 6.69 seconds: 149.44 ops/second llite.lustre-ffff9f4c85062800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f4c85062800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f4c85062800.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: 1782229608.918986133 secs.nsecs start_time: 1782229604.894869707 secs.nsecs elapsed_time: 4.024116426 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 4 4 8 4: 12 13 22 8: 10 11 33 16: 1 1 34 32: 59 65 100 snapshot_time: 1782229608.919332608 secs.nsecs start_time: 1782229604.897588116 secs.nsecs elapsed_time: 4.021744492 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 '' 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: 1782229639.754877936 secs.nsecs start_time: 1782229604.894869707 secs.nsecs elapsed_time: 34.860008229 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 4 4 9 4: 12 13 23 8: 10 10 34 16: 1 1 35 32: 59 64 100 snapshot_time: 1782229639.754966291 secs.nsecs start_time: 1782229604.897588116 secs.nsecs elapsed_time: 34.857378175 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 4.96 seconds: 201.50 ops/second llite.lustre-ffff9f4c85062800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f4c85062800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f4c85062800.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: 1782229652.548815284 secs.nsecs start_time: 1782229649.273909798 secs.nsecs elapsed_time: 3.274905486 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 4 4 14 4: 1 1 15 8: 11 12 28 16: 6 6 34 32: 58 65 100 snapshot_time: 1782229652.548881635 secs.nsecs start_time: 1782229649.273992780 secs.nsecs elapsed_time: 3.274888855 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: 1782229682.977399620 secs.nsecs start_time: 1782229649.273909798 secs.nsecs elapsed_time: 33.703489822 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 4 4 15 4: 1 1 16 8: 11 12 28 16: 6 6 35 32: 58 64 100 snapshot_time: 1782229682.977497211 secs.nsecs start_time: 1782229649.273992780 secs.nsecs elapsed_time: 33.703504431 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1782229691 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1782229701 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff9f4c85062800.enable_statahead_fname=1 llite.lustre-ffff9f4c85062800.statahead_min=8 llite.lustre-ffff9f4c85062800.statahead_batch_max=64 llite.lustre-ffff9f4c85062800.statahead_max=128