== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 22:19:03 (1789093143) llite.lustre-ffff8bced4347000.statahead_max=1024 llite.lustre-ffff8bced4347000.statahead_batch_max=32 llite.lustre-ffff8bced4347000.statahead_min=64 llite.lustre-ffff8bced4347000.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.77 seconds: 209.60 ops/second llite.lustre-ffff8bced4347000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bced4347000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bced4347000.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: 1789093157.699053349 secs.nsecs start_time: 1789093154.239308243 secs.nsecs elapsed_time: 3.459745106 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 2 2 3 4: 11 13 17 8: 6 7 24 16: 3 3 28 32: 59 71 100 snapshot_time: 1789093157.699132998 secs.nsecs start_time: 1789093154.239382547 secs.nsecs elapsed_time: 3.459750451 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: 1789093188.328494082 secs.nsecs start_time: 1789093154.239308243 secs.nsecs elapsed_time: 34.089185839 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 2 2 4 4: 11 13 18 8: 6 7 25 16: 3 3 28 32: 59 71 100 snapshot_time: 1789093188.328553525 secs.nsecs start_time: 1789093154.239382547 secs.nsecs elapsed_time: 34.089170978 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.32 ops/second llite.lustre-ffff8bced4347000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bced4347000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bced4347000.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: 1789093201.452396341 secs.nsecs start_time: 1789093198.301557929 secs.nsecs elapsed_time: 3.150838412 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 4 4 10 4: 4 4 14 8: 11 12 27 16: 5 5 32 32: 59 67 100 snapshot_time: 1789093201.452466466 secs.nsecs start_time: 1789093198.301651232 secs.nsecs elapsed_time: 3.150815234 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: 1789093232.229865818 secs.nsecs start_time: 1789093198.301557929 secs.nsecs elapsed_time: 33.928307889 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 4 4 11 4: 4 4 15 8: 11 12 28 16: 5 5 33 32: 59 66 100 snapshot_time: 1789093232.229924571 secs.nsecs start_time: 1789093198.301651232 secs.nsecs elapsed_time: 33.928273339 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789093239 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1789093248 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff8bced4347000.enable_statahead_fname=1 llite.lustre-ffff8bced4347000.statahead_min=8 llite.lustre-ffff8bced4347000.statahead_batch_max=64 llite.lustre-ffff8bced4347000.statahead_max=128