From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: netdev@vger.kernel.org
Cc: raghavendra.kt@linux.vnet.ibm.com
Subject: IFLA_INET6_[ICMP6]STATS
Date: Wed, 9 Sep 2015 17:34:44 -0400 [thread overview]
Message-ID: <20150909213444.GD20544@oracle.com> (raw)
I'm doing some experiments that are trying to simultaneously
scaling the number of CPUs, and the number of processes
and encountering getifaddrs() weaknesses.
Others have run into similar things in the past, e.g.,
http://lists.openwall.net/netdev/2014/01/23/119
and more relevant to my experiment: the findings behind
the recent commit a3a77372.
In my case, it looks like getifaddrs() doesnt even use the
results of IFLA_INET6_STATS or IFLA_INET6_ICMP6STATS-
from my scan of glibc, this information is ignored (it only
looks at IFLA_STATS). Moreover, if I hack out all of
snmp_fold_field() (so that it always returns 0), it helps
my cpu utilization and scaling, and no errors are reported.
So the question is- who uses IFLA_INET6_STATS/IFLA_INET6_ICMP6STATS?
Is this intended for some ND/ripngd etc daemon? Doesnt seem to
be documented in rtnetlink(7), and couldnt find any users in glibc,
and google did not find any usage.
--Sowmini
next reply other threads:[~2015-09-09 21:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-09 21:34 Sowmini Varadhan [this message]
2015-09-09 21:43 ` IFLA_INET6_[ICMP6]STATS David Miller
2015-09-09 21:45 ` IFLA_INET6_[ICMP6]STATS Sowmini Varadhan
2015-09-10 15:43 ` IFLA_INET6_[ICMP6]STATS roopa
2015-09-10 15:48 ` IFLA_INET6_[ICMP6]STATS Sowmini Varadhan
2015-09-10 17:13 ` IFLA_INET6_[ICMP6]STATS David Miller
2015-09-10 17:16 ` IFLA_INET6_[ICMP6]STATS Sowmini Varadhan
2015-09-10 17:20 ` IFLA_INET6_[ICMP6]STATS David Miller
2015-09-10 15:19 ` IFLA_INET6_[ICMP6]STATS Raghavendra K T
2015-09-09 23:00 ` IFLA_INET6_[ICMP6]STATS Eric Dumazet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150909213444.GD20544@oracle.com \
--to=sowmini.varadhan@oracle.com \
--cc=netdev@vger.kernel.org \
--cc=raghavendra.kt@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).