== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 01:48:10 (1788846490) llite.lustre-ffff918be45f2800.statahead_max=1024 llite.lustre-ffff918be45f2800.statahead_batch_max=32 llite.lustre-ffff918be45f2800.statahead_min=64 llite.lustre-ffff918be45f2800.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.43 seconds: 134.50 ops/second llite.lustre-ffff918be45f2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff918be45f2800.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: 1788846508.228526978 secs.nsecs start_time: 1788846504.234775000 secs.nsecs elapsed_time: 3.993751978 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 6 6 14 4: 10 10 25 8: 6 6 31 16: 3 3 35 32: 59 64 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: 1788846538.627182594 secs.nsecs start_time: 1788846504.234775000 secs.nsecs elapsed_time: 34.392407594 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 6 6 15 4: 10 10 26 8: 6 6 32 16: 3 3 35 32: 59 64 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 7.29 seconds: 137.23 ops/second llite.lustre-ffff918be45f2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff918be45f2800.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: 1788846556.168755380 secs.nsecs start_time: 1788846552.517957035 secs.nsecs elapsed_time: 3.650798345 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 1 1 2 4: 4 5 7 8: 4 5 12 16: 6 7 20 32: 61 79 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1788846587.368719020 secs.nsecs start_time: 1788846552.517957035 secs.nsecs elapsed_time: 34.850761985 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 4 5 8 8: 4 5 14 16: 6 7 21 32: 61 78 100 - unlinked 0 (time 1788846598 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second - unlinked 0 (time 1788846616 ; total 0 ; last 0) total: 1000 unlinks in 16 seconds: 62.500000 unlinks/second llite.lustre-ffff918be45f2800.enable_statahead_fname=1 llite.lustre-ffff918be45f2800.statahead_min=8 llite.lustre-ffff918be45f2800.statahead_batch_max=64 llite.lustre-ffff918be45f2800.statahead_max=128