== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 20:43:40 (1789692220) llite.lustre-ffff9d32d8c25000.statahead_max=1024 llite.lustre-ffff9d32d8c25000.statahead_batch_max=32 llite.lustre-ffff9d32d8c25000.statahead_min=64 llite.lustre-ffff9d32d8c25000.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.16 seconds: 240.44 ops/second llite.lustre-ffff9d32d8c25000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d32d8c25000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d32d8c25000.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: 1789692232.325378422 secs.nsecs start_time: 1789692229.553125056 secs.nsecs elapsed_time: 2.772253366 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 4 4 11 4: 11 12 23 8: 6 6 30 16: 3 3 33 32: 59 66 100 snapshot_time: 1789692232.325435757 secs.nsecs start_time: 1789692229.553215796 secs.nsecs elapsed_time: 2.772219961 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: 1789692263.203813017 secs.nsecs start_time: 1789692229.553125056 secs.nsecs elapsed_time: 33.650687961 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 4 4 12 4: 11 12 24 8: 6 6 31 16: 3 3 34 32: 59 65 100 snapshot_time: 1789692263.203957660 secs.nsecs start_time: 1789692229.553215796 secs.nsecs elapsed_time: 33.650741864 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 3.81 seconds: 262.47 ops/second llite.lustre-ffff9d32d8c25000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d32d8c25000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d32d8c25000.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: 1789692272.091464526 secs.nsecs start_time: 1789692269.850247035 secs.nsecs elapsed_time: 2.241217491 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 2 2 6 8: 5 6 12 16: 6 7 20 32: 61 79 100 snapshot_time: 1789692272.091510206 secs.nsecs start_time: 1789692269.850725610 secs.nsecs elapsed_time: 2.240784596 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: 1789692302.905026815 secs.nsecs start_time: 1789692269.850247035 secs.nsecs elapsed_time: 33.054779780 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 5 4: 2 2 7 8: 5 6 14 16: 6 7 21 32: 61 78 100 snapshot_time: 1789692302.905095012 secs.nsecs start_time: 1789692269.850725610 secs.nsecs elapsed_time: 33.054369402 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789692309 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1789692321 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff9d32d8c25000.enable_statahead_fname=1 llite.lustre-ffff9d32d8c25000.statahead_min=8 llite.lustre-ffff9d32d8c25000.statahead_batch_max=64 llite.lustre-ffff9d32d8c25000.statahead_max=128