netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] Interface for TCP Metrics
@ 2012-08-23 15:01 Julian Anastasov
  2012-08-23 15:01 ` [PATCH RFC 1/2] tcp: add generic netlink support for tcp_metrics Julian Anastasov
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Julian Anastasov @ 2012-08-23 15:01 UTC (permalink / raw)
  To: netdev

	This patchset contains 2 patches, one for kernel
and one for iproute2. We add DUMP/GET/DEL support for
genl "tcp_metrics" and minimal support for filtering
by address prefix and family in user space.

	I tested show/del/flush, filtering by family, prefix,
output for metrics such as rtt, rttvar, cwnd, ssthresh (after
modifying route). I didn't tested output for fast open.

	May be some corrections in output can be desired.

	The kernel patch has some parts to check:

- in tcp_metrics_nl_cmd_del I'm trying to flush all addresses
with single request, eg. when no family, address or other
selectors are provided. I use some arbitrary counter sync_count
to force memory to be freed in parts by using synchronize_rcu,
note that we are under genl_mutex, so may be this is bad idea
to delay other genl users? My idea was to avoid many commands
on "flush all", may be we should trigger flush by using some
other mechanism that is pernet? And I don't know how to test
it properly without large cache.

- This function now uses rcu_dereference_protected, someone
should check if these lockdep checks are correct. I enabled
lockdep in config and don't see any warnings.

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

end of thread, other threads:[~2012-09-03 12:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-23 15:01 [PATCH RFC 0/2] Interface for TCP Metrics Julian Anastasov
2012-08-23 15:01 ` [PATCH RFC 1/2] tcp: add generic netlink support for tcp_metrics Julian Anastasov
2012-08-23 16:19   ` Eric Dumazet
2012-08-30 16:20   ` David Miller
2012-08-23 15:01 ` [PATCH RFC 2/2] iproute2: add " Julian Anastasov
2012-08-23 15:22 ` [PATCH RFC 0/2] Interface for TCP Metrics Stephen Hemminger
2012-08-23 16:26   ` Julian Anastasov
2012-09-03 12:11     ` Renato Westphal

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