== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 13:19:41 (1787851181) llite.lustre-ffff9af610db1800.statahead_max=1024 llite.lustre-ffff9af610db1800.statahead_batch_max=32 llite.lustre-ffff9af610db1800.statahead_min=64 llite.lustre-ffff9af610db1800.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.87 seconds: 170.43 ops/second llite.lustre-ffff9af610db1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9af610db1800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9af610db1800.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: 1787851197.035447278 secs.nsecs start_time: 1787851192.803838046 secs.nsecs elapsed_time: 4.231609232 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 6 7 11 4: 6 7 18 8: 8 9 28 16: 2 2 30 32: 59 69 100 snapshot_time: 1787851197.035525860 secs.nsecs start_time: 1787851192.804017081 secs.nsecs elapsed_time: 4.231508779 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: 1787851227.948916850 secs.nsecs start_time: 1787851192.803838046 secs.nsecs elapsed_time: 35.145078804 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 6 6 12 4: 6 6 19 8: 8 9 29 16: 2 2 31 32: 59 68 100 snapshot_time: 1787851227.948991239 secs.nsecs start_time: 1787851192.804017081 secs.nsecs elapsed_time: 35.144974158 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.52 seconds: 181.06 ops/second llite.lustre-ffff9af610db1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9af610db1800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9af610db1800.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: 1787851243.945120106 secs.nsecs start_time: 1787851240.549020398 secs.nsecs elapsed_time: 3.396099708 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 4 5 5 4: 2 2 7 8: 3 3 11 16: 6 7 19 32: 61 80 100 snapshot_time: 1787851243.945383096 secs.nsecs start_time: 1787851240.549190076 secs.nsecs elapsed_time: 3.396193020 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: 1787851275.060343739 secs.nsecs start_time: 1787851240.549020398 secs.nsecs elapsed_time: 34.511323341 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 4 5 6 4: 2 2 9 8: 3 3 12 16: 6 7 20 32: 61 79 100 snapshot_time: 1787851275.060501397 secs.nsecs start_time: 1787851240.549190076 secs.nsecs elapsed_time: 34.511311321 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787851283 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787851292 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9af610db1800.enable_statahead_fname=1 llite.lustre-ffff9af610db1800.statahead_min=8 llite.lustre-ffff9af610db1800.statahead_batch_max=64 llite.lustre-ffff9af610db1800.statahead_max=128