[PATCH 0/3] makedumpfile: Reduce the risk of OOM.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/10/14 at 04:51am, Atsushi Kumagai wrote:
> Hello,
> 
> makedumpfile tries maximizing the bitmap buffer size to get the
> best performance, but it occasionally cause OOM because the safe
> limit is variable and it can be too aggressive depending on the
> situation.
> 
> I think reliability is more important than performance for dump
> tools, so I decided to remove the maximization. I don't worry
> about performance degradation, please see [PATCH 3/3].
> 
> If there is no objection, I'll merge this patch into v1.5.7.
> 
> BTW, an expert user still can try to maximize the bitmap buffer with
> --cyclic-buffer option.

It makes sense to decrease the bufsize_cyclic to make sure the dumping
can work successfully.

Thanks for your effort, Atsushi!

Thanks
Baoquan

> 
> Atsushi Kumagai (3):
>       Remove the 1st bitmap buffer from the ELF path in cyclic mode.
>       Move counting pfn_memhole for cyclic mode.
>       Stop maximizing the bitmap buffer to reduce the risk of OOM.
> 
>  makedumpfile.8 |   1 -
>  makedumpfile.c | 117 ++++++++++++++++++++------------------------------------------------------------------------------
>  print_info.c   |   1 -
>  3 files changed, 24 insertions(+), 95 deletions(-)
> 
> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux