== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:59:18 (1788523158) llite.lustre-ffff9db434a0b000.statahead_max=1024 llite.lustre-ffff9db434a0b000.statahead_batch_max=32 llite.lustre-ffff9db434a0b000.statahead_min=64 llite.lustre-ffff9db434a0b000.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.91 seconds: 169.16 ops/second llite.lustre-ffff9db434a0b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9db434a0b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9db434a0b000.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: 1788523173.786298151 secs.nsecs start_time: 1788523169.775328059 secs.nsecs elapsed_time: 4.010970092 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 3 3 11 4: 8 9 20 8: 7 7 28 16: 4 4 32 32: 59 67 100 snapshot_time: 1788523173.786367259 secs.nsecs start_time: 1788523169.775448168 secs.nsecs elapsed_time: 4.010919091 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1788523204.480274945 secs.nsecs start_time: 1788523169.775328059 secs.nsecs elapsed_time: 34.704946886 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 3 3 12 4: 8 8 21 8: 7 7 29 16: 4 4 33 32: 59 66 100 snapshot_time: 1788523204.483775034 secs.nsecs start_time: 1788523169.775448168 secs.nsecs elapsed_time: 34.708326866 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.69 seconds: 175.70 ops/second llite.lustre-ffff9db434a0b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9db434a0b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9db434a0b000.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: 1788523218.137578525 secs.nsecs start_time: 1788523214.738342075 secs.nsecs elapsed_time: 3.399236450 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 4 4 12 4: 9 10 22 8: 6 6 29 16: 3 3 32 32: 59 67 100 snapshot_time: 1788523218.137658185 secs.nsecs start_time: 1788523214.739594948 secs.nsecs elapsed_time: 3.398063237 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: 995 miss_total: 0 snapshot_time: 1788523248.413423722 secs.nsecs start_time: 1788523214.738342075 secs.nsecs elapsed_time: 33.675081647 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 4 4 13 4: 9 10 23 8: 6 6 30 16: 3 3 33 32: 59 66 100 snapshot_time: 1788523248.413486165 secs.nsecs start_time: 1788523214.739594948 secs.nsecs elapsed_time: 33.673891217 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788523254 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1788523263 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff9db434a0b000.enable_statahead_fname=1 llite.lustre-ffff9db434a0b000.statahead_min=8 llite.lustre-ffff9db434a0b000.statahead_batch_max=64 llite.lustre-ffff9db434a0b000.statahead_max=128