== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:07:45 (1739509665) llite.lustre-ffff880095542000.statahead_max=1024 llite.lustre-ffff880095542000.statahead_batch_max=32 llite.lustre-ffff880095542000.statahead_min=64 llite.lustre-ffff880095542000.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.63 seconds: 379.74 ops/second llite.lustre-ffff880095542000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880095542000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff880095542000.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: 1739509673.746063947 secs.nsecs start_time: 1739509671.671867616 secs.nsecs elapsed_time: 2.074196331 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 1 1 6 4: 8 9 15 8: 6 7 23 16: 4 4 28 32: 59 71 100 snapshot_time: 1739509673.746235290 secs.nsecs start_time: 1739509671.672796704 secs.nsecs elapsed_time: 2.073438586 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 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 2 snapshot_time: 1739509704.828563423 secs.nsecs start_time: 1739509671.671867616 secs.nsecs elapsed_time: 33.156695807 secs.nsecs subreqs per batch batches % cum % 1: 5 6 6 2: 1 1 7 4: 8 9 16 8: 6 7 24 16: 4 4 28 32: 59 71 100 snapshot_time: 1739509704.833504503 secs.nsecs start_time: 1739509671.672796704 secs.nsecs elapsed_time: 33.160707799 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 2.77 seconds: 361.59 ops/second llite.lustre-ffff880095542000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880095542000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff880095542000.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: 1739509711.246491431 secs.nsecs start_time: 1739509709.994253334 secs.nsecs elapsed_time: 1.252238097 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 1 1 2 4: 3 3 6 8: 7 9 15 16: 6 7 23 32: 58 76 100 snapshot_time: 1739509711.248909992 secs.nsecs start_time: 1739509709.994377957 secs.nsecs elapsed_time: 1.254532035 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: 1739509742.392997976 secs.nsecs start_time: 1739509709.994253334 secs.nsecs elapsed_time: 32.398744642 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 1 1 3 4: 3 3 7 8: 7 9 16 16: 6 7 24 32: 58 75 100 snapshot_time: 1739509742.393179534 secs.nsecs start_time: 1739509709.994377957 secs.nsecs elapsed_time: 32.398801577 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1739509745 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second - unlinked 0 (time 1739509751 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second llite.lustre-ffff880095542000.enable_statahead_fname=1 llite.lustre-ffff880095542000.statahead_min=8 llite.lustre-ffff880095542000.statahead_batch_max=64 llite.lustre-ffff880095542000.statahead_max=128