linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bisected] e341694e3eb5 netlink_lookup() rcu conversion causes latencies
@ 2014-10-11  8:36 Heiko Carstens
  2014-10-11 19:32 ` Eric Dumazet
  0 siblings, 1 reply; 7+ messages in thread
From: Heiko Carstens @ 2014-10-11  8:36 UTC (permalink / raw)
  To: Thomas Graf, Nikolay Aleksandrov, David S. Miller
  Cc: netdev, linux-kernel, Ursula Braun

Hi all,

it just came to my attention that commit e341694e3eb5
"netlink: Convert netlink_lookup() to use RCU protected hash table"
causes network latencies for me on s390.

The testcase is quite simple and 100% reproducible on s390:

Simply login via ssh to a remote system which has the above mentioned
patch applied. Any action like pressing return now has significant
latencies. Or in other words, working via such a connection becomes
a pain ;)

I haven't debugged it, however I assume the problem is that a) the
commit introduces a synchronize_net() call und b) s390 kernels
usually get compiled with CONFIG_HZ_100 while most other architectures
use CONFIG_HZ_1000.
If I change the kernel config to CONFIG_HZ_1000 the problem goes away,
however I don't consider this a fix...

Another reason why this hasn't been observed on x86 may or may not be
that we haven't implemented CONFIG_HAVE_CONTEXT_TRACKING on s390 (yet).
But that's just guessing...


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

end of thread, other threads:[~2014-10-21  7:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-11  8:36 [bisected] e341694e3eb5 netlink_lookup() rcu conversion causes latencies Heiko Carstens
2014-10-11 19:32 ` Eric Dumazet
2014-10-11 22:25   ` Thomas Graf
2014-10-11 23:08     ` David Miller
2014-10-20  8:21     ` Heiko Carstens
2014-10-20 19:53       ` [PATCH] netlink: Re-add locking to netlink_lookup() and seq walker Thomas Graf
2014-10-21  7:04         ` Heiko Carstens

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).