netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Tracepoint for tcp retransmission
@ 2011-12-16 22:14 Satoru Moriya
  2011-12-16 22:16 ` [PATCH 1/2] tcp: refactor tcp_retransmit_skb() for a single return point Satoru Moriya
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Satoru Moriya @ 2011-12-16 22:14 UTC (permalink / raw)
  To: netdev@vger.kernel.org
  Cc: nhorman@tuxdriver.com, davem@davemloft.net, tgraf@infradead.org,
	Seiji Aguchi, dle-develop@lists.sourceforge.net

Sometimes network packets are dropped for some reason. In enterprise
systems which require strict RAS functionality, we must know the
reason why it happened and explain it to our customers even if using
TCP. When we investigate the incidents, at first we try to find out
whether the problem is in the server(kernel, application) or else
(router, hub etc). And next we try to find out which layer
(application/middleware/kernel(IP/TCP/UDP/..)etc.) the problem
occurs.

In application layer, user applications and/or middlewares usually
save logs if they dropped packets. In kernel layer, with this
tracepoint, we are able to know whether the kernel(TCP layer) send
packets successfully or not.

With a combination of them, we can find out whether the problem is
in the server or not.


Satoru Moriya (2):
  tcp: refactor tcp_retransmit_skb() for a single return point
  tcp: add tracepoint for tcp retransmission

 include/trace/events/tcp.h |   35 +++++++++++++++++++++++++++++++++++
 net/core/net-traces.c      |    1 +
 net/ipv4/tcp_output.c      |   34 ++++++++++++++++++++++++----------
 3 files changed, 60 insertions(+), 10 deletions(-)
 create mode 100644 include/trace/events/tcp.h

-- 
1.7.6.4

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

end of thread, other threads:[~2011-12-21  7:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-16 22:14 [PATCH 0/2] Tracepoint for tcp retransmission Satoru Moriya
2011-12-16 22:16 ` [PATCH 1/2] tcp: refactor tcp_retransmit_skb() for a single return point Satoru Moriya
2011-12-19 12:10   ` David Laight
2011-12-20 16:55     ` Satoru Moriya
2011-12-16 22:17 ` [PATCH 2/2] tcp: add tracepoint for tcp retransmission Satoru Moriya
2011-12-17  0:17 ` [PATCH 0/2] Tracepoint " Stephen Hemminger
2011-12-18  0:49   ` Hagen Paul Pfeifer
2011-12-20 23:40     ` Satoru Moriya
2011-12-21  7:05       ` Eric Dumazet
2011-12-20 18:13   ` Satoru Moriya

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