Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

kernel: Remove initcall_debug boot option #527

Conversation

jodh-intel
Copy link
Contributor

Remove the initcall_debug boot option from the kernel command-line as
we don't need it any more and it generates a ton of boot messages that
may well be impacting performance.

Fixes #526.

Signed-off-by: James O. D. Hunt james.o.hunt@intel.com

@jodh-intel
Copy link
Contributor Author

ping @devimc, @sboeuf, @grahamwhaley, @sameo, @bergwolf.

Copy link
Contributor

@grahamwhaley grahamwhaley left a comment

Choose a reason for hiding this comment

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

lgtm

@katacontainersbot
Copy link
Contributor

PSS Measurement:
Qemu: 165730 KB
Proxy: 4150 KB
Shim: 8986 KB

Memory inside container:
Total Memory: 2043480 KB
Free Memory: 2003884 KB

@opendev-zuul
Copy link

opendev-zuul bot commented Jul 27, 2018

Build failed (third-party-check pipeline) integration testing with
OpenStack. For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing

Copy link

@sboeuf sboeuf left a comment

Choose a reason for hiding this comment

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

This looks fine to me.
I think we should add a enable_debug flag in the configuration.toml related to the agent. And based on this, we would enable kernel debug. But definitely for a follow up PR.
WDYT ?

@grahamwhaley
Copy link
Contributor

I think the theory was we can add it into the existing toml 'kernel_args' param, and that would turn it on.
We should probably check that actually works then...

@sboeuf
Copy link

sboeuf commented Jul 27, 2018

@grahamwhaley I actually forgot that we had this option in the toml file. Sounds good :)

@jodh-intel
Copy link
Contributor Author

Copy link

@devimc devimc left a comment

Choose a reason for hiding this comment

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

lgtm

Thanks @jodh-intel

@egernst
Copy link
Member

egernst commented Jul 27, 2018

let's merge once our CI gets back into shape.

@sboeuf
Copy link

sboeuf commented Jul 27, 2018

@jodh-intel please rebase as the CI fix was part of the runtime repo.

@bergwolf
Copy link
Member

bergwolf commented Jul 30, 2018

LGTM! It would be good to see this integrated with agent_debug.

Approved with PullApprove

@jodh-intel jodh-intel force-pushed the remove-initcall-debug-kernel-option branch from c66c43b to db37c67 Compare July 30, 2018 08:40
@codecov
Copy link

codecov bot commented Jul 30, 2018

Codecov Report

Merging #527 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #527   +/-   ##
=======================================
  Coverage   66.54%   66.54%           
=======================================
  Files          94       94           
  Lines        9678     9678           
=======================================
  Hits         6440     6440           
  Misses       2546     2546           
  Partials      692      692

jodh-intel added a commit to jodh-intel/documentation that referenced this pull request Jul 30, 2018
kata-containers/runtime#527 Removed the
hard-coded `initcall_debug` kernel option (as it generates a lot of
kernel output at boot).

Add the `initcall_debug` option to the "Enable full debug" section to
allow users to enable these potentially useful messages when debugging.

Fixes kata-containers#204.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
@jodh-intel
Copy link
Contributor Author

@jodh-intel
Copy link
Contributor Author

Re-pushed this branch to see what the CI makes of it this time.

@opendev-zuul
Copy link

opendev-zuul bot commented Jul 30, 2018

Build succeeded (third-party-check pipeline).

jodh-intel added a commit to jodh-intel/documentation that referenced this pull request Jul 30, 2018
kata-containers/runtime#527 Removed the
hard-coded `initcall_debug` kernel option (as it generates a lot of
kernel output at boot).

Add the `initcall_debug` option to the "Enable full debug" section to
allow users to enable these potentially useful messages when debugging.

Fixes kata-containers#204.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
@sboeuf
Copy link

sboeuf commented Aug 1, 2018

@jodh-intel could you re-push in order to retrigger the whole CI? It's been stuck for no reason, and this PR should be merged :)

Remove the `initcall_debug` boot option from the kernel command-line as
we don't need it any more and it generates a ton of boot messages that
may well be impacting performance.

Fixes kata-containers#526.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
@jodh-intel jodh-intel force-pushed the remove-initcall-debug-kernel-option branch from db37c67 to a8f5e2b Compare August 1, 2018 08:52
@jodh-intel
Copy link
Contributor Author

Re-pushed. I'm going to sacrifice a chocolate biscuit in my coffee for good luck too!

@katacontainersbot
Copy link
Contributor

PSS Measurement:
Qemu: 165666 KB
Proxy: 4216 KB
Shim: 9006 KB

Memory inside container:
Total Memory: 2043480 KB
Free Memory: 2003828 KB

@opendev-zuul
Copy link

opendev-zuul bot commented Aug 1, 2018

Build failed (third-party-check pipeline) integration testing with
OpenStack. For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing

@jodh-intel
Copy link
Contributor Author

All green except the expected openstack failure.

@jodh-intel jodh-intel merged commit fc0142e into kata-containers:master Aug 1, 2018
@sboeuf sboeuf added enhancement Improvement to an existing feature stable-candidate labels Sep 12, 2018
@sboeuf
Copy link

sboeuf commented Sep 12, 2018

@jodh-intel @egernst I think this might be a stable candidate since it relates to improving performances. WDYT?

@jodh-intel
Copy link
Contributor Author

@sboeuf - no need - this is already in both stable branches ;)

zklei pushed a commit to zklei/runtime that referenced this pull request Jun 13, 2019
Update go version because golangci-lint v1.16.0 cannot work OK with go 1.10.

Fixes: kata-containers#527

Signed-off-by: Hui Zhu <teawater@hyper.sh>
zklei pushed a commit to zklei/runtime that referenced this pull request Jun 13, 2019
Update code to handle lint issues after golangci-lint update to v1.6.0.

Fixes: kata-containers#527

Signed-off-by: Hui Zhu <teawater@hyper.sh>
zklei pushed a commit to zklei/runtime that referenced this pull request Jun 13, 2019
Using xenial to handle the issue that using trusty in travis and go 1.11.7.

Fixes: kata-containers#527

Signed-off-by: Hui Zhu <teawater@hyper.sh>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants