Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752565AbZFDRp5 (ORCPT ); Thu, 4 Jun 2009 13:45:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751257AbZFDRpr (ORCPT ); Thu, 4 Jun 2009 13:45:47 -0400 Received: from hera.kernel.org ([140.211.167.34]:52236 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751190AbZFDRpq (ORCPT ); Thu, 4 Jun 2009 13:45:46 -0400 Subject: Re: When does Linux drop UDP packets? From: Jaswinder Singh Rajput To: Steven Rostedt Cc: Philipp Reh , LKML , netdev In-Reply-To: References: <20090604145347.GA27692@miyuki> <20090604155741.GA8999@goodmis.org> <20090604161015.GA17303@miyuki> Content-Type: text/plain Date: Thu, 04 Jun 2009 23:16:16 +0530 Message-Id: <1244137576.3553.3.camel@ht.satnam> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 835 Lines: 37 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 -- 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/