== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:33:51 (1775878431) llite.lustre-ffffa0f86d245000.statahead_max=1024 llite.lustre-ffffa0f86d245000.statahead_batch_max=32 llite.lustre-ffffa0f86d245000.statahead_min=64 llite.lustre-ffffa0f86d245000.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 2.71 seconds: 369.17 ops/second llite.lustre-ffffa0f86d245000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0f86d245000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0f86d245000.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: 1775878438.543906596 secs.nsecs start_time: 1775878436.445240384 secs.nsecs elapsed_time: 2.098666212 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 3 3 10 4: 9 10 20 8: 10 11 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1775878438.543972813 secs.nsecs start_time: 1775878436.445317794 secs.nsecs elapsed_time: 2.098655019 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: 1775878469.429169093 secs.nsecs start_time: 1775878436.445240384 secs.nsecs elapsed_time: 32.983928709 secs.nsecs subreqs per batch batches % cum % 1: 7 7 7 2: 3 3 11 4: 9 10 21 8: 10 11 32 16: 0 0 32 32: 60 67 100 snapshot_time: 1775878469.429238006 secs.nsecs start_time: 1775878436.445317794 secs.nsecs elapsed_time: 32.983920212 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.36 seconds: 297.92 ops/second llite.lustre-ffffa0f86d245000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0f86d245000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0f86d245000.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: 1775878477.186471559 secs.nsecs start_time: 1775878475.271544941 secs.nsecs elapsed_time: 1.914926618 secs.nsecs subreqs per batch batches % cum % 1: 26 25 25 2: 2 1 26 4: 2 1 28 8: 7 6 35 16: 8 7 43 32: 59 56 100 snapshot_time: 1775878477.186525182 secs.nsecs start_time: 1775878475.271618960 secs.nsecs elapsed_time: 1.914906222 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: 1775878507.844682141 secs.nsecs start_time: 1775878475.271544941 secs.nsecs elapsed_time: 32.573137200 secs.nsecs subreqs per batch batches % cum % 1: 27 25 25 2: 2 1 27 4: 2 1 29 8: 7 6 36 16: 8 7 43 32: 59 56 100 snapshot_time: 1775878507.844737603 secs.nsecs start_time: 1775878475.271618960 secs.nsecs elapsed_time: 32.573118643 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1775878511 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second - unlinked 0 (time 1775878516 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second llite.lustre-ffffa0f86d245000.enable_statahead_fname=1 llite.lustre-ffffa0f86d245000.statahead_min=8 llite.lustre-ffffa0f86d245000.statahead_batch_max=64 llite.lustre-ffffa0f86d245000.statahead_max=128