[dpdk-dev] [PATCH v4] test: optimise fd closing in forked test process

2019-11-15 Thread David Marchand
On Thu, Nov 14, 2019 at 8:32 PM Kevin Traynor wrote: > > On 12/11/2019 20:31, David Marchand wrote: > > From: Krzysztof Kanas > > > > Caught while investigating timeouts on a ARM64 server. > > > > Stracing a test process running the eal_flags_autotest, we can see that > > the fork helper is check

Re: [dpdk-dev] [PATCH v4] test: optimise fd closing in forked test process

2019-11-14 Thread Kevin Traynor
On 12/11/2019 20:31, David Marchand wrote: > From: Krzysztof Kanas > > Caught while investigating timeouts on a ARM64 server. > > Stracing a test process running the eal_flags_autotest, we can see that > the fork helper is checking all possible file descriptors from > getdtablesize() to 2, and c

[dpdk-dev] [PATCH v4] test: optimise fd closing in forked test process

2019-11-12 Thread David Marchand
From: Krzysztof Kanas Caught while investigating timeouts on a ARM64 server. Stracing a test process running the eal_flags_autotest, we can see that the fork helper is checking all possible file descriptors from getdtablesize() to 2, and close the existing ones. We can do better by inspecting th