[dpdk-dev] [PATCH] eal: add madvise to avoid dump memory

Feng Li lifeng1519 at gmail.com
Mon Apr 20 11:40:37 CEST 2020


Thank you, Marchand,

I have just tested your patch, and it doesn't work.
The core dump file is still very very large, the same to virtual memory size.

David Marchand <david.marchand at redhat.com> 于2020年4月20日周一 下午3:13写道:
>
> On Mon, Apr 20, 2020 at 9:10 AM Li Feng <fengli at smartx.com> wrote:
> > Li Feng <fengli at smartx.com> 于2020年4月20日周一 下午3:04写道:
> > >
> > > Avoid dump all mmapped memory to coredump file when crash.
> > > Otherwise it will very large and it's hard to analyze with gdb.
> > >
> > > In my test, it will dump 128GiB memory to coredump file when integrated
> > > to spdk with default configuration.
>
> Can you test with current master which has this change?
> https://git.dpdk.org/dpdk/commit?id=8a4baf06c17a806696fb10aba36fce7471983028
>
> Thanks.
>
> --
> David Marchand
>


More information about the dev mailing list