netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* conntrack (possibly) hangs on our ARM CPU in case we delete 5k+ connections as fast as possible
@ 2017-03-14  9:56 Peter Marczis
  2017-03-14 10:33 ` Florian Westphal
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Marczis @ 2017-03-14  9:56 UTC (permalink / raw)
  To: netfilter-devel

Hello developers,
I'm seeking some help to debug and solve one of my issues.

At GreenWave I'm working on a "SOHO" Router product, and of course we
use linux / netfilter.
We observed that if we create 30k connections, everything works as
expected, but when we start to disconnect them,
conntrack (well not confirmed yet fully) makes the kernel side busy,
and looks like no scheduling happens.

The whole thing works as expected, the only problem it makes our
processes and well everything on user side hanging for a couple of
seconds 10-30s,
which of course triggers our HW Watchdog, and we end up in a reboot.

This is of course a corner case, I just would like to understand
what's happening. I dig as deep in the code I can, looks like there is
a hash table protected by RCU in the code.
What I really seek is some help on how could I debug the kernel side
things better, to see if it locks on this table long, or why the
scheduling is not happening.

Some extra info:
Kernel: 3.4.108 - armv7l - conntrack compiled into it.

~ # cat /proc/cpuinfo
Processor       : ARMv7 Processor rev 1 (v7l)
processor       : 0
BogoMIPS        : 1594.16

processor       : 1
BogoMIPS        : 1594.16

Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0xc09
CPU revision    : 1

Hardware        : CORTINA-G2 EB
Revision        : 7542a1
Serial          : 0000000000000000

Idle value:
~ # cat /proc/meminfo
MemTotal:         436936 kB
MemFree:          298336 kB
Buffers:              16 kB
Cached:            30504 kB
SwapCached:            0 kB


Thanks a lot in advance ! I really appreciate your work !

-- 
Br,
 Peter G. Marczis
  SW. Developer
 +45 28 12 92 10

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-16 10:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-14  9:56 conntrack (possibly) hangs on our ARM CPU in case we delete 5k+ connections as fast as possible Peter Marczis
2017-03-14 10:33 ` Florian Westphal
2017-03-14 11:11   ` Peter Marczis
2017-03-14 11:20     ` Florian Westphal
2017-03-16 10:58       ` Peter Marczis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).