== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 09:10:18 (1787404218) llite.lustre-ffff8f32077eb000.statahead_max=1024 llite.lustre-ffff8f32077eb000.statahead_batch_max=32 llite.lustre-ffff8f32077eb000.statahead_min=64 llite.lustre-ffff8f32077eb000.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 5.46 seconds: 183.29 ops/second llite.lustre-ffff8f32077eb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f32077eb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8f32077eb000.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: 1787404231.957438368 secs.nsecs start_time: 1787404228.311175700 secs.nsecs elapsed_time: 3.646262668 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 7 7 14 4: 9 10 24 8: 8 8 33 16: 0 0 33 32: 60 66 100 snapshot_time: 1787404231.957501808 secs.nsecs start_time: 1787404228.311681479 secs.nsecs elapsed_time: 3.645820329 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1787404263.584413848 secs.nsecs start_time: 1787404228.311175700 secs.nsecs elapsed_time: 35.273238148 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 7 7 15 4: 9 9 25 8: 8 8 34 16: 0 0 34 32: 60 65 100 snapshot_time: 1787404263.584496510 secs.nsecs start_time: 1787404228.311681479 secs.nsecs elapsed_time: 35.272815031 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 5.47 seconds: 182.77 ops/second llite.lustre-ffff8f32077eb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f32077eb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8f32077eb000.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: 1787404277.981330896 secs.nsecs start_time: 1787404274.095814451 secs.nsecs elapsed_time: 3.885516445 secs.nsecs subreqs per batch batches %% cum %% 1: 12 12 12 2: 2 2 14 4: 5 5 19 8: 15 15 34 16: 5 5 39 32: 59 60 100 snapshot_time: 1787404277.981482462 secs.nsecs start_time: 1787404274.095909975 secs.nsecs elapsed_time: 3.885572487 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: 994 miss_total: 1 snapshot_time: 1787404308.460565078 secs.nsecs start_time: 1787404274.095814451 secs.nsecs elapsed_time: 34.364750627 secs.nsecs subreqs per batch batches %% cum %% 1: 13 13 13 2: 2 2 15 4: 5 5 20 8: 15 15 35 16: 5 5 40 32: 59 59 100 snapshot_time: 1787404308.460628604 secs.nsecs start_time: 1787404274.095909975 secs.nsecs elapsed_time: 34.364718629 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787404316 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1787404324 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8f32077eb000.enable_statahead_fname=1 llite.lustre-ffff8f32077eb000.statahead_min=8 llite.lustre-ffff8f32077eb000.statahead_batch_max=64 llite.lustre-ffff8f32077eb000.statahead_max=128