On 05/18/15 at 05:52am, Li Wang wrote:
----- Original Message -----
> On 05/18/15 at 05:18pm, Li Wang wrote:
> > Transparent hugepages are on by default. Disable it in kdump kernel by
> > adding parameter transparent_hugepage=never. This might help us with
> > some of the memory issues we are facing.
> >
> > Signed-off-by: Li Wang <liwang(a)redhat.com>
>
> Hi Li Wang,
>
> Could you also add the reason into patch log that transparent hugepage
> could eat too much memory and it doesn't matter the dumping in 2nd
> kernel?
>
> And did you test this patch in x86 and other ARCHs? I think at least 2
> ARCHs are needed.
Hi Baoquan,
No, I haven't do any test until now. Since I just saw that issue was
point out by Vivek in bugzilla such a long time.
Okay, I will update the details, which include the reasons and test results.
Perhaps a bit late, because I have some other things to queue in hands. :)
Hi, Li Wang.
I think the patch will be ok if it does not break the other functions.
Go ahead.
Thank you for your efforts.
Thanks
Minfei
Best,
Li Wang
>
> Thanks
> Baoquan
>
> > ---
> > kdump.sysconfig.i386 | 2 +-
> > kdump.sysconfig.ppc64 | 2 +-
> > kdump.sysconfig.ppc64le | 2 +-
> > kdump.sysconfig.s390x | 2 +-
> > kdump.sysconfig.x86_64 | 2 +-
> > 5 files changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/kdump.sysconfig.i386 b/kdump.sysconfig.i386
> > index 84b2447..bb7a6e5 100644
> > --- a/kdump.sysconfig.i386
> > +++ b/kdump.sysconfig.i386
> > @@ -16,7 +16,7 @@ KDUMP_COMMANDLINE=""
> >
> > # This variable lets us append arguments to the current kdump commandline
> > # As taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
> > -KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices numa=off
> > udev.children-max=2 panic=10 rootflags=nofail"
> > +KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices numa=off
> > udev.children-max=2 panic=10 rootflags=nofail transparent_hugepage=never"
> >
> > # Any additional kexec arguments required. In most situations, this
> > should
> > # be left empty
> > diff --git a/kdump.sysconfig.ppc64 b/kdump.sysconfig.ppc64
> > index 5295626..dd09598 100644
> > --- a/kdump.sysconfig.ppc64
> > +++ b/kdump.sysconfig.ppc64
> > @@ -16,7 +16,7 @@ KDUMP_COMMANDLINE=""
> >
> > # This variable lets us append arguments to the current kdump commandline
> > # As taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
> > -KDUMP_COMMANDLINE_APPEND="irqpoll maxcpus=1 noirqdistrib reset_devices
> > cgroup_disable=memory numa=off udev.children-max=2 ehea.use_mcs=0 panic=10
> > rootflags=nofail kvm_cma_resv_ratio=0"
> > +KDUMP_COMMANDLINE_APPEND="irqpoll maxcpus=1 noirqdistrib reset_devices
> > cgroup_disable=memory numa=off udev.children-max=2 ehea.use_mcs=0 panic=10
> > rootflags=nofail kvm_cma_resv_ratio=0 transparent_hugepage=never"
> >
> > # Any additional kexec arguments required. In most situations, this
> > should
> > # be left empty
> > diff --git a/kdump.sysconfig.ppc64le b/kdump.sysconfig.ppc64le
> > index 5295626..dd09598 100644
> > --- a/kdump.sysconfig.ppc64le
> > +++ b/kdump.sysconfig.ppc64le
> > @@ -16,7 +16,7 @@ KDUMP_COMMANDLINE=""
> >
> > # This variable lets us append arguments to the current kdump commandline
> > # As taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
> > -KDUMP_COMMANDLINE_APPEND="irqpoll maxcpus=1 noirqdistrib reset_devices
> > cgroup_disable=memory numa=off udev.children-max=2 ehea.use_mcs=0 panic=10
> > rootflags=nofail kvm_cma_resv_ratio=0"
> > +KDUMP_COMMANDLINE_APPEND="irqpoll maxcpus=1 noirqdistrib reset_devices
> > cgroup_disable=memory numa=off udev.children-max=2 ehea.use_mcs=0 panic=10
> > rootflags=nofail kvm_cma_resv_ratio=0 transparent_hugepage=never"
> >
> > # Any additional kexec arguments required. In most situations, this
> > should
> > # be left empty
> > diff --git a/kdump.sysconfig.s390x b/kdump.sysconfig.s390x
> > index 745dd27..b103a88 100644
> > --- a/kdump.sysconfig.s390x
> > +++ b/kdump.sysconfig.s390x
> > @@ -16,7 +16,7 @@ KDUMP_COMMANDLINE=""
> >
> > # This variable lets us append arguments to the current kdump commandline
> > # As taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
> > -KDUMP_COMMANDLINE_APPEND="nr_cpus=1 cgroup_disable=memory numa=off
> > udev.children-max=2 panic=10 rootflags=nofail"
> > +KDUMP_COMMANDLINE_APPEND="nr_cpus=1 cgroup_disable=memory numa=off
> > udev.children-max=2 panic=10 rootflags=nofail transparent_hugepage=never"
> >
> > # Any additional /sbin/mkdumprd arguments required.
> > MKDUMPRD_ARGS=""
> > diff --git a/kdump.sysconfig.x86_64 b/kdump.sysconfig.x86_64
> > index d9ad9b5..7991d68 100644
> > --- a/kdump.sysconfig.x86_64
> > +++ b/kdump.sysconfig.x86_64
> > @@ -16,7 +16,7 @@ KDUMP_COMMANDLINE=""
> >
> > # This variable lets us append arguments to the current kdump commandline
> > # As taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
> > -KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices
> > cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10
> > rootflags=nofail acpi_no_memhotplug"
> > +KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices
> > cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10
> > rootflags=nofail acpi_no_memhotplug transparent_hugepage=never"
> >
> > # Any additional kexec arguments required. In most situations, this
> > should
> > # be left empty
> > --
> > 1.8.3.1
> >
> > _______________________________________________
> > kexec mailing list
> > kexec(a)lists.fedoraproject.org
> >
https://lists.fedoraproject.org/mailman/listinfo/kexec
>
_______________________________________________
kexec mailing list
kexec(a)lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/kexec