== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:35:55 (1768134955) llite.lustre-ffff90ab44c4b000.statahead_max=1024 llite.lustre-ffff90ab44c4b000.statahead_batch_max=32 llite.lustre-ffff90ab44c4b000.statahead_min=64 llite.lustre-ffff90ab44c4b000.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.49 seconds: 401.75 ops/second llite.lustre-ffff90ab44c4b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff90ab44c4b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff90ab44c4b000.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: 1768134964.117298513 secs.nsecs start_time: 1768134960.829810189 secs.nsecs elapsed_time: 3.287488324 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 21 25 25 8: 0 0 25 16: 3 3 28 32: 59 71 100 snapshot_time: 1768134964.117330966 secs.nsecs start_time: 1768134960.829903229 secs.nsecs elapsed_time: 3.287427737 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1768134994.909757833 secs.nsecs start_time: 1768134960.829810189 secs.nsecs elapsed_time: 34.079947644 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 0 0 1 4: 21 25 26 8: 0 0 26 16: 3 3 29 32: 59 70 100 snapshot_time: 1768134994.909842636 secs.nsecs start_time: 1768134960.829903229 secs.nsecs elapsed_time: 34.079939407 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.47 seconds: 404.10 ops/second llite.lustre-ffff90ab44c4b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff90ab44c4b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff90ab44c4b000.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: 1768135002.810272373 secs.nsecs start_time: 1768135000.004605988 secs.nsecs elapsed_time: 2.805666385 secs.nsecs subreqs per batch batches % cum % 1: 10 10 10 2: 0 0 10 4: 3 3 14 8: 18 19 34 16: 2 2 36 32: 58 63 100 snapshot_time: 1768135002.810308466 secs.nsecs start_time: 1768135000.004698518 secs.nsecs elapsed_time: 2.805609948 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: 1768135033.636137462 secs.nsecs start_time: 1768135000.004605988 secs.nsecs elapsed_time: 33.631531474 secs.nsecs subreqs per batch batches % cum % 1: 11 11 11 2: 0 0 11 4: 3 3 15 8: 18 19 34 16: 2 2 36 32: 58 63 100 snapshot_time: 1768135033.636219112 secs.nsecs start_time: 1768135000.004698518 secs.nsecs elapsed_time: 33.631520594 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1768135037 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1768135042 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff90ab44c4b000.enable_statahead_fname=1 llite.lustre-ffff90ab44c4b000.statahead_min=8 llite.lustre-ffff90ab44c4b000.statahead_batch_max=64 llite.lustre-ffff90ab44c4b000.statahead_max=128