Re: 5.1 kernel: khugepaged stuck at 100%

From: Justin Piszcz
Date: Thu May 16 2019 - 10:30:01 EST


On Thu, May 16, 2019 at 10:17 AM Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx> wrote:
>
> On Thu, May 16, 2019 at 10:14 AM Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx> wrote:
> >
> > On Tue, May 14, 2019 at 9:16 AM Kirill A. Shutemov <kirill@xxxxxxxxxxxxx> wrote:
> >
> > > Could you check what khugepaged doing?
> > >
> > > cat /proc/$(pidof khugepaged)/stack
> >
> > It is doing it again, 10:12am - 2019-05-16
> >
> > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> > 77 root 39 19 0 0 0 R 100.0 0.0 92:06.94 khugepaged
> >
> > Kernel: 5.1.2
> >
> > $ sudo cat /proc/$(pidof khugepaged)/stack
> > [<0>] 0xffffffffffffffff
> >

As a workaround/in the meantime--I will add the following to lilo/grub:
transparent_hugepage=never

Justin