== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 20:34:32 (1787704472) llite.lustre-ffff9f90ac7fe800.statahead_max=1024 llite.lustre-ffff9f90ac7fe800.statahead_batch_max=32 llite.lustre-ffff9f90ac7fe800.statahead_min=64 llite.lustre-ffff9f90ac7fe800.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 4.91 seconds: 203.81 ops/second llite.lustre-ffff9f90ac7fe800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f90ac7fe800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f90ac7fe800.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: 1787704485.697845425 secs.nsecs start_time: 1787704481.930171154 secs.nsecs elapsed_time: 3.767674271 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 8 8 15 4: 7 7 23 8: 6 6 30 16: 2 2 32 32: 60 67 100 snapshot_time: 1787704485.697900545 secs.nsecs start_time: 1787704481.930599333 secs.nsecs elapsed_time: 3.767301212 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: 1787704516.369682899 secs.nsecs start_time: 1787704481.930171154 secs.nsecs elapsed_time: 34.439511745 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 8 8 16 4: 7 7 24 8: 6 6 31 16: 2 2 33 32: 60 66 100 snapshot_time: 1787704516.369743817 secs.nsecs start_time: 1787704481.930599333 secs.nsecs elapsed_time: 34.439144484 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.23 seconds: 191.20 ops/second llite.lustre-ffff9f90ac7fe800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f90ac7fe800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f90ac7fe800.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: 1787704528.293586083 secs.nsecs start_time: 1787704525.536027902 secs.nsecs elapsed_time: 2.757558181 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 3 3 8 4: 13 13 22 8: 8 8 31 16: 7 7 38 32: 57 61 100 snapshot_time: 1787704528.293798476 secs.nsecs start_time: 1787704525.536161177 secs.nsecs elapsed_time: 2.757637299 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: 1787704560.022170831 secs.nsecs start_time: 1787704525.536027902 secs.nsecs elapsed_time: 34.486142929 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 3 3 9 4: 13 13 23 8: 8 8 31 16: 7 7 39 32: 57 60 100 snapshot_time: 1787704560.022272912 secs.nsecs start_time: 1787704525.536161177 secs.nsecs elapsed_time: 34.486111735 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787704566 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1787704574 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff9f90ac7fe800.enable_statahead_fname=1 llite.lustre-ffff9f90ac7fe800.statahead_min=8 llite.lustre-ffff9f90ac7fe800.statahead_batch_max=64 llite.lustre-ffff9f90ac7fe800.statahead_max=128