== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:05:37 (1785402337) llite.lustre-ffff9e3c438a2800.statahead_max=1024 llite.lustre-ffff9e3c438a2800.statahead_batch_max=32 llite.lustre-ffff9e3c438a2800.statahead_min=64 llite.lustre-ffff9e3c438a2800.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 8.71 seconds: 114.83 ops/second llite.lustre-ffff9e3c438a2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e3c438a2800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e3c438a2800.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: 1785402364.120018685 secs.nsecs start_time: 1785402355.483713225 secs.nsecs elapsed_time: 8.636305460 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 5 6 13 4: 5 6 19 8: 3 3 23 16: 1 1 24 32: 61 75 100 snapshot_time: 1785402364.120075213 secs.nsecs start_time: 1785402355.484678953 secs.nsecs elapsed_time: 8.635396260 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: 1785402394.950394798 secs.nsecs start_time: 1785402355.483713225 secs.nsecs elapsed_time: 39.466681573 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 5 6 14 4: 5 6 20 8: 3 3 24 16: 1 1 25 32: 61 74 100 snapshot_time: 1785402394.950456540 secs.nsecs start_time: 1785402355.484678953 secs.nsecs elapsed_time: 39.465777587 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 8.10 seconds: 123.52 ops/second llite.lustre-ffff9e3c438a2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e3c438a2800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e3c438a2800.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: 1785402417.106943584 secs.nsecs start_time: 1785402411.337539780 secs.nsecs elapsed_time: 5.769403804 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 1 1 7 4: 5 6 13 8: 4 4 18 16: 7 8 26 32: 60 73 100 snapshot_time: 1785402417.107364169 secs.nsecs start_time: 1785402411.339519449 secs.nsecs elapsed_time: 5.767844720 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: 1785402447.587453464 secs.nsecs start_time: 1785402411.337539780 secs.nsecs elapsed_time: 36.249913684 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 1 1 8 4: 5 6 14 8: 4 4 19 16: 7 8 27 32: 60 72 100 snapshot_time: 1785402447.587519354 secs.nsecs start_time: 1785402411.339519449 secs.nsecs elapsed_time: 36.247999905 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1785402461 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1785402472 ; total 0 ; last 0) total: 1000 unlinks in 15 seconds: 66.666664 unlinks/second llite.lustre-ffff9e3c438a2800.enable_statahead_fname=1 llite.lustre-ffff9e3c438a2800.statahead_min=8 llite.lustre-ffff9e3c438a2800.statahead_batch_max=64 llite.lustre-ffff9e3c438a2800.statahead_max=128