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

2020-04-26 Thread Feng Li
Bruce Richardson 于2020年4月24日周五 下午5:14写道: > > On Fri, Apr 24, 2020 at 10:12:10AM +0100, Burakov, Anatoly wrote: > > On 23-Apr-20 9:04 PM, David Marchand wrote: > > > On Thu, Apr 23, 2020 at 6:34 PM Burakov, Anatoly > > > wrote: > > > > > diff --git a/lib/librte_eal/common/eal_common_memory.c > >

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

2020-04-24 Thread Li Feng
Thanks, Feng Li Burakov, Anatoly 于2020年4月24日周五 下午7:00写道: > > On 24-Apr-20 10:33 AM, Feng Li wrote: > > Bruce Richardson 于2020年4月24日周五 下午5:14写道: > >> > >> On Fri, Apr 24, 2020 at 10:12:10AM +0100, Burakov, Anatoly wrote: > >>> On 23-Apr-20 9:04 PM, David Marchand wrote: > On Thu, Apr 23, 20

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

2020-04-24 Thread Burakov, Anatoly
On 24-Apr-20 10:33 AM, Feng Li wrote: Bruce Richardson 于2020年4月24日周五 下午5:14写道: On Fri, Apr 24, 2020 at 10:12:10AM +0100, Burakov, Anatoly wrote: On 23-Apr-20 9:04 PM, David Marchand wrote: On Thu, Apr 23, 2020 at 6:34 PM Burakov, Anatoly wrote: diff --git a/lib/librte_eal/common/eal_common

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

2020-04-24 Thread Bruce Richardson
On Fri, Apr 24, 2020 at 10:12:10AM +0100, Burakov, Anatoly wrote: > On 23-Apr-20 9:04 PM, David Marchand wrote: > > On Thu, Apr 23, 2020 at 6:34 PM Burakov, Anatoly > > wrote: > > > > diff --git a/lib/librte_eal/common/eal_common_memory.c > > > > b/lib/librte_eal/common/eal_common_memory.c > > >

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

2020-04-24 Thread Burakov, Anatoly
On 23-Apr-20 9:04 PM, David Marchand wrote: On Thu, Apr 23, 2020 at 6:34 PM Burakov, Anatoly wrote: diff --git a/lib/librte_eal/common/eal_common_memory.c b/lib/librte_eal/common/eal_common_memory.c index cc7d54e0c..2d9564b28 100644 --- a/lib/librte_eal/common/eal_common_memory.c +++ b/lib/lib

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

2020-04-23 Thread David Marchand
On Thu, Apr 23, 2020 at 6:34 PM Burakov, Anatoly wrote: > > diff --git a/lib/librte_eal/common/eal_common_memory.c > > b/lib/librte_eal/common/eal_common_memory.c > > index cc7d54e0c..2d9564b28 100644 > > --- a/lib/librte_eal/common/eal_common_memory.c > > +++ b/lib/librte_eal/common/eal_common_m

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

2020-04-23 Thread Burakov, Anatoly
On 23-Apr-20 4:43 PM, Li Feng wrote: Avoid dump all mapped memory to a core dump 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 a core dump file when integrated to spdk with default configuration. Suggested rewording: