Re: Including contigmem in core dumps

2024-10-22 Thread Lewis Donzis
- On Oct 22, 2024, at 10:39 AM, Stephen Hemminger step...@networkplumber.org wrote: > On Tue, 22 Oct 2024 17:47:11 +0300 > Dmitry Kozlyuk wrote: > >> 2024-10-22 07:41 (UTC-0500), Lewis Donzis: >> > I've been wondering why we exclude memory allocated by >> > eal_get_virtual_area() from co

RE: Including contigmem in core dumps

2024-10-22 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Tuesday, 22 October 2024 17.39 > > On Tue, 22 Oct 2024 17:47:11 +0300 > Dmitry Kozlyuk wrote: > > > 2024-10-22 07:41 (UTC-0500), Lewis Donzis: > > > I've been wondering why we exclude memory allocated by > > > eal_get_virtual_

Re: Including contigmem in core dumps

2024-10-22 Thread Dmitry Kozlyuk
2024-10-22 07:41 (UTC-0500), Lewis Donzis: > I've been wondering why we exclude memory allocated by > eal_get_virtual_area() from core dumps? (More specifically, it calls > eal_mem_set_dump() to call madvise() to disable core dumps from the > allocated region.) > > On many occasions, when debuggin

Including contigmem in core dumps

2024-10-22 Thread Lewis Donzis
I've been wondering why we exclude memory allocated by eal_get_virtual_area() from core dumps? (More specifically, it calls eal_mem_set_dump() to call madvise() to disable core dumps from the allocated region.) On many occasions, when debugging after a crash, it would have been very convenient

Re: Including contigmem in core dumps

2024-05-28 Thread Lewis Donzis
- On May 28, 2024, at 1:55 AM, Dmitry Kozlyuk dmitry.kozl...@gmail.com wrote: > Hi Lewis, > > Memory reserved by eal_get_virtual_area() is not yet useful, > but it is very large, so by excluding it from dumps, > DPDK prevents dumps from including large zero-filled parts. > > It also makes

Re: Including contigmem in core dumps

2024-05-27 Thread Dmitry Kozlyuk
Hi Lewis, 2024-05-27 19:34 (UTC-0500), Lewis Donzis: > I've been wondering why we exclude memory allocated by eal_get_virtual_area() > from core dumps? (More specifically, it calls eal_mem_set_dump() to call > madvise() to disable core dumps from the allocated region.) > > On many occasions, w

Including contigmem in core dumps

2024-05-27 Thread Lewis Donzis
I've been wondering why we exclude memory allocated by eal_get_virtual_area() from core dumps? (More specifically, it calls eal_mem_set_dump() to call madvise() to disable core dumps from the allocated region.) On many occasions, when debugging after a crash, it would have been very convenient