Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

do_cmake: warn users about slow debug builds #25478

Merged
merged 3 commits into from Dec 13, 2018

Conversation

markhpc
Copy link
Member

@markhpc markhpc commented Dec 11, 2018

Spent more time than I want to admit bisecting master over the weekend looking for a 5X random write performance regression on NVMe. Finally I figured out that do_cmake.sh was changed to create debug builds by default in #24133. 馃槄 This PR adds copious warnings so that I hopefully won't have to bisect this again in six months after I've forgotten that we changed the default behavior.

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@tchaikov tchaikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm modulo the nit.

do_cmake.sh Outdated Show resolved Hide resolved
Mark Nelson added 3 commits December 12, 2018 12:09
Signed-off-by: Mark Nelson <mnelson@redhat.com>
Signed-off-by: Mark Nelson <mnelson@redhat.com>
Signed-off-by: Mark Nelson <mnelson@redhat.com>
@liewegas liewegas merged commit 3214b71 into ceph:master Dec 13, 2018
liewegas added a commit that referenced this pull request Dec 13, 2018
* refs/pull/25478/head:
	README.md: Add note about default do_cmake.sh debug builds.
	doc/install: Add note about default do_cmake.sh debug builds.
	do_cmake: Warn user about slow debug performance by default.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants