From: Eric Dumazet <[email protected]> Date: Tue, 12 May 2015 17:24:50 -0700
> From: Eric Dumazet <[email protected]> > > netlink sockets creation and deletion heavily modify nl_table_users > and nl_table_lock. > > If nl_table is sharing one cache line with one of them, netlink > performance is really bad on SMP. > > ffffffff81ff5f00 B nl_table > ffffffff81ff5f0c b nl_table_users > > Putting nl_table in read_mostly section increased performance > of my open/delete netlink sockets test by about 80 % > > This came up while diagnosing a getaddrinfo() problem. > > Signed-off-by: Eric Dumazet <[email protected]> Applied, thanks Eric. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
