== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 12:29:31 (1790699371) llite.lustre-ffff9dd32ec8b000.statahead_max=1024 llite.lustre-ffff9dd32ec8b000.statahead_batch_max=32 llite.lustre-ffff9dd32ec8b000.statahead_min=64 llite.lustre-ffff9dd32ec8b000.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.68 ops/second llite.lustre-ffff9dd32ec8b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dd32ec8b000.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: 1790699388.246210500 secs.nsecs start_time: 1790699384.063253231 secs.nsecs elapsed_time: 4.182957269 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 6 4: 10 12 18 8: 6 7 25 16: 3 3 28 32: 59 71 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: 1790699419.656998640 secs.nsecs start_time: 1790699384.063253231 secs.nsecs elapsed_time: 35.593745409 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 10 11 19 8: 6 7 26 16: 3 3 29 32: 59 70 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.69 seconds: 149.43 ops/second llite.lustre-ffff9dd32ec8b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dd32ec8b000.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: 1790699434.731044866 secs.nsecs start_time: 1790699431.203133534 secs.nsecs elapsed_time: 3.527911332 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 6 7 14 8: 5 6 20 16: 5 6 27 32: 59 72 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1790699466.475024071 secs.nsecs start_time: 1790699431.203133534 secs.nsecs elapsed_time: 35.271890537 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 8 4: 6 7 15 8: 5 6 21 16: 5 6 28 32: 59 71 100 - unlinked 0 (time 1790699474 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1790699483 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9dd32ec8b000.enable_statahead_fname=1 llite.lustre-ffff9dd32ec8b000.statahead_min=8 llite.lustre-ffff9dd32ec8b000.statahead_batch_max=64 llite.lustre-ffff9dd32ec8b000.statahead_max=128