Skip to content

add WITH_BOOST_VALGRIND to default build flavor - #2043

Merged
djgalloway merged 1 commit into
ceph:mainfrom
cbodley:wip-boost-valgrind
Aug 17, 2022
Merged

djgalloway merged 1 commit into
ceph:mainfrom
cbodley:wip-boost-valgrind

Conversation

@cbodley

@cbodley cbodley commented Aug 2, 2022

Copy link
Copy Markdown
Contributor

build boost with valgrind annotations enabled so they run cleanly under valgrind for https://tracker.ceph.com/issues/56500

@cbodley

cbodley commented Aug 2, 2022

Copy link
Copy Markdown
Contributor Author

cc @yuvalif @tchaikov @djgalloway

i'm working with @mkogan1 to test whether we can observe any overhead from these builds. DNM pending those results

@idryomov

Copy link
Copy Markdown
Contributor
in https://tracker.ceph.com/issues/56500, Mark Kogan showed that
WITH_BOOST_VALGRIND has little to no effect on rgw performance. Mark
Nelson did similar testing with rbd trying to rule out a performance
hit there as well - the results had quite a bit of variation, so it
was hard to rule out completely

to narrow the scope of this investigation, i did a grep of the entire
boost project and confirmed that boost::context and boost::coroutine
are the only two libraries that mention this BOOST_USE_VALGRIND flag.
so i think it's safe to assume that these valgrind builds will have no
effect outside of rgw

https://lists.ceph.io/hyperkitty/list/[email protected]/message/ZGP75L3PJYETWKKW62FFPEFD2FY7MXXU/

@djgalloway
djgalloway merged commit f55a9b2 into ceph:main Aug 17, 2022
@cbodley

cbodley commented Aug 17, 2022

Copy link
Copy Markdown
Contributor Author

yay, thanks everybody!

cbodley added a commit to cbodley/ceph-build that referenced this pull request Nov 4, 2025
the corresponding logic from scripts/build_utils.sh, added in
ceph#2043, was not specific to
release builds

the rgw team needs this enabled for all packages tested in ci, because
we rely heavily on valgrind coverage. the rgw suite has been an absolute
mess of valgrind issues lately, and this appears to be the primary cause

Signed-off-by: Casey Bodley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants