Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754121AbZFDVH6 (ORCPT ); Thu, 4 Jun 2009 17:07:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751732AbZFDVHs (ORCPT ); Thu, 4 Jun 2009 17:07:48 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:57745 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751468AbZFDVHr (ORCPT ); Thu, 4 Jun 2009 17:07:47 -0400 Date: Thu, 4 Jun 2009 17:07:47 -0400 (EDT) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Jaswinder Singh Rajput cc: Philipp Reh , LKML , netdev Subject: Re: When does Linux drop UDP packets? In-Reply-To: <1244137576.3553.3.camel@ht.satnam> Message-ID: References: <20090604145347.GA27692@miyuki> <20090604155741.GA8999@goodmis.org> <20090604161015.GA17303@miyuki> <1244137576.3553.3.camel@ht.satnam> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1084 Lines: 47 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/