netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: When does Linux drop UDP packets?
       [not found]       ` <alpine.DEB.2.00.0906041228170.14994@gandalf.stny.rr.com>
@ 2009-06-04 17:46         ` Jaswinder Singh Rajput
  2009-06-04 21:07           ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Jaswinder Singh Rajput @ 2009-06-04 17:46 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: Philipp Reh, LKML, netdev

On Thu, 2009-06-04 at 12:34 -0400, Steven Rostedt wrote:

> BTW, I used ftrace to look into this:
> 
> Enable:
> 
> 	CONFIG_FTRACE
> 	CONFIG_FUNCTION_TRACER
> 	CONFIG_FUNCITON_GRAPH_TRACER
> 	CONFIG_DYNAMIC_FTRACE
> 
> Compile and boot:
> 
> # mount -t debugfs nodev /sys/kernel/debug

Very glad to see you following standards ;-)

> # cd /sys/kernel/debug

hmm you mean # cd /sys/kernel/debug/tracing

> # echo udp_rcv > set_graph_function
> # echo function_graph > current_tracer
> # cat trace
> 

Anyway you can also see UDP packet drops when you increase network and
CPU load.

--
JSR

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

* Re: When does Linux drop UDP packets?
  2009-06-04 17:46         ` When does Linux drop UDP packets? Jaswinder Singh Rajput
@ 2009-06-04 21:07           ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2009-06-04 21:07 UTC (permalink / raw)
  To: Jaswinder Singh Rajput; +Cc: Philipp Reh, LKML, netdev


On Thu, 4 Jun 2009, Jaswinder Singh Rajput wrote:

> On Thu, 2009-06-04 at 12:34 -0400, Steven Rostedt wrote:
> 
> > BTW, I used ftrace to look into this:
> > 
> > Enable:
> > 
> > 	CONFIG_FTRACE
> > 	CONFIG_FUNCTION_TRACER
> > 	CONFIG_FUNCITON_GRAPH_TRACER
> > 	CONFIG_DYNAMIC_FTRACE
> > 
> > Compile and boot:
> > 
> > # mount -t debugfs nodev /sys/kernel/debug
> 
> Very glad to see you following standards ;-)

I only did that to not hear the debugfs nazis squack.

> 
> > # cd /sys/kernel/debug
> 
> hmm you mean # cd /sys/kernel/debug/tracing

A mistake I would not have made if I just did /debug

> 
> > # echo udp_rcv > set_graph_function
> > # echo function_graph > current_tracer
> > # cat trace
> > 
> 
> Anyway you can also see UDP packet drops when you increase network and
> CPU load.

That's not the issue here.

-- Steve


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

end of thread, other threads:[~2009-06-04 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20090604145347.GA27692@miyuki>
     [not found] ` <20090604155741.GA8999@goodmis.org>
     [not found]   ` <20090604161015.GA17303@miyuki>
     [not found]     ` <alpine.DEB.2.00.0906041222450.14994@gandalf.stny.rr.com>
     [not found]       ` <alpine.DEB.2.00.0906041228170.14994@gandalf.stny.rr.com>
2009-06-04 17:46         ` When does Linux drop UDP packets? Jaswinder Singh Rajput
2009-06-04 21:07           ` Steven Rostedt

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