Skip to content

Conversation

@lorelei-sakai
Copy link
Member

This merges commits from vdo-devel/230. Only the middle one is actually going upstream.

Clear provisional refcount values and count free/allocated blocks in
one integrated loop. Process 8 aligned bytes at a time instead of
every byte individually.

On an Intel i7-11850H this reduces the CPU time needed to process a
loaded refcount block by a factor of about 5-6. On a large system the
refcount loading may be the largest factor in device startup time.

Signed-off-by: Ken Raeburn <[email protected]>
Signed-off-by: Matthew Sakai <[email protected]>
@lorelei-sakai lorelei-sakai merged commit cc892b4 into dm-vdo:main Feb 19, 2025
2 checks passed
@lorelei-sakai lorelei-sakai deleted the feature/optimize-refcount-processing branch February 19, 2025 19:18
lorelei-sakai added a commit that referenced this pull request Mar 14, 2025
…rocessing

[VDO-5868] [RHEL-12834] dm vdo: rework processing of loaded refcount byte arrays
lorelei-sakai added a commit that referenced this pull request May 5, 2025
…rocessing

[VDO-5868] [RHEL-12834] dm vdo: rework processing of loaded refcount byte arrays
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants