From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaswinder Singh Rajput Subject: Re: When does Linux drop UDP packets? Date: Thu, 04 Jun 2009 23:16:16 +0530 Message-ID: <1244137576.3553.3.camel@ht.satnam> References: <20090604145347.GA27692@miyuki> <20090604155741.GA8999@goodmis.org> <20090604161015.GA17303@miyuki> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Philipp Reh , LKML , netdev To: Steven Rostedt Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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