Skip to content

OSD: Small optimizations - #60215

Merged
SrinivasaBharath merged 4 commits into
ceph:mainfrom
MaxKellermann:osd_optimizations
Jan 14, 2025
Merged

SrinivasaBharath merged 4 commits into
ceph:mainfrom
MaxKellermann:osd_optimizations

Conversation

@MaxKellermann

Copy link
Copy Markdown
Member

OSD-specific parts of #60175 (split upon @batrick's request)

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)

@MaxKellermann
MaxKellermann requested a review from a team as a code owner October 9, 2024 12:38
@github-actions github-actions Bot added the core label Oct 9, 2024
@markhpc markhpc changed the title Small OSD optimizations OSD: Small optimizations Oct 10, 2024
@MaxKellermann
MaxKellermann force-pushed the osd_optimizations branch 2 times, most recently from 133ee59 to 98e0c41 Compare October 14, 2024 20:05
By default, the Boost intrusive containers enable the
`constant_time_size` option which adds overhead to each modification
for tracking the size in a field.  We don't need that.

Signed-off-by: Max Kellermann <[email protected]>
This eliminates the overhead for constructing an empty value if the
key does not yet exist.

Signed-off-by: Max Kellermann <[email protected]>
This eliminates temporary objects.

Signed-off-by: Max Kellermann <[email protected]>
@MaxKellermann

Copy link
Copy Markdown
Member Author

@batrick, @markhpc it's been two months with no reply.

@athanatos
athanatos self-requested a review December 9, 2024 02:01
@athanatos

Copy link
Copy Markdown
Contributor

Needs a qa run to merge.

@MaxKellermann

Copy link
Copy Markdown
Member Author

@SrinivasaBharath, did testing succeed?

@Naveenaidu

Copy link
Copy Markdown
Contributor

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@SrinivasaBharath

Copy link
Copy Markdown
Contributor

jenkins test make check arm64

@SrinivasaBharath
SrinivasaBharath merged commit 4a03c75 into ceph:main Jan 14, 2025
@MaxKellermann
MaxKellermann deleted the osd_optimizations branch January 14, 2025 06:19
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.

7 participants