== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:41:38 (1789486898) llite.lustre-ffff89e6482fe000.statahead_max=1024 llite.lustre-ffff89e6482fe000.statahead_batch_max=32 llite.lustre-ffff89e6482fe000.statahead_min=64 llite.lustre-ffff89e6482fe000.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.22 seconds: 191.61 ops/second llite.lustre-ffff89e6482fe000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89e6482fe000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89e6482fe000.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: 1789486913.479547740 secs.nsecs start_time: 1789486910.190007854 secs.nsecs elapsed_time: 3.289539886 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 4 5 6 4: 8 10 16 8: 5 6 22 16: 2 2 25 32: 60 75 100 snapshot_time: 1789486913.479632009 secs.nsecs start_time: 1789486910.190193542 secs.nsecs elapsed_time: 3.289438467 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1789486944.601916479 secs.nsecs start_time: 1789486910.190007854 secs.nsecs elapsed_time: 34.411908625 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 4 4 7 4: 8 9 17 8: 5 6 23 16: 2 2 25 32: 60 74 100 snapshot_time: 1789486944.602077446 secs.nsecs start_time: 1789486910.190193542 secs.nsecs elapsed_time: 34.411883904 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.62 seconds: 177.97 ops/second llite.lustre-ffff89e6482fe000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89e6482fe000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff89e6482fe000.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: 1789486959.311164678 secs.nsecs start_time: 1789486955.801101205 secs.nsecs elapsed_time: 3.510063473 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 5 5 14 4: 5 5 20 8: 6 6 26 16: 6 6 33 32: 59 66 100 snapshot_time: 1789486959.311236730 secs.nsecs start_time: 1789486955.801244561 secs.nsecs elapsed_time: 3.509992169 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: 1789486989.802980475 secs.nsecs start_time: 1789486955.801101205 secs.nsecs elapsed_time: 34.001879270 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 5 5 15 4: 5 5 21 8: 6 6 27 16: 6 6 34 32: 59 65 100 snapshot_time: 1789486989.803046579 secs.nsecs start_time: 1789486955.801244561 secs.nsecs elapsed_time: 34.001802018 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789486997 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1789487006 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff89e6482fe000.enable_statahead_fname=1 llite.lustre-ffff89e6482fe000.statahead_min=8 llite.lustre-ffff89e6482fe000.statahead_batch_max=64 llite.lustre-ffff89e6482fe000.statahead_max=128