Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758525Ab0DHHUO (ORCPT ); Thu, 8 Apr 2010 03:20:14 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:35593 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758507Ab0DHHUI (ORCPT ); Thu, 8 Apr 2010 03:20:08 -0400 Date: Thu, 08 Apr 2010 00:20:11 -0700 (PDT) Message-Id: <20100408.002011.121977482.davem@davemloft.net> To: eric.dumazet@gmail.com Cc: yanmin_zhang@linux.intel.com, cl@linux-foundation.org, penberg@cs.helsinki.fi, netdev@vger.kernel.org, tj@kernel.org, alex.shi@intel.com, linux-kernel@vger.kernel.org, ling.ma@intel.com, tim.c.chen@intel.com, akpm@linux-foundation.org Subject: Re: hackbench regression due to commit 9dfc6e68bfe6e From: David Miller In-Reply-To: <20100408.000557.180546976.davem@davemloft.net> References: <1270705153.8141.58.camel@edumazet-laptop> <1270710019.2215.4.camel@edumazet-laptop> <20100408.000557.180546976.davem@davemloft.net> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1178 Lines: 29 From: David Miller Date: Thu, 08 Apr 2010 00:05:57 -0700 (PDT) > From: Eric Dumazet > Date: Thu, 08 Apr 2010 09:00:19 +0200 > >> If run individually, the tests results are more what we would expect >> (slow), but if machine runs the two set of process concurrently, each >> group runs much faster... > > BTW, I just discovered (thanks to the function graph tracer, woo hoo!) > that loopback TCP packets get fully checksum validated on receive. > > I'm trying to figure out why skb->ip_summed ends up being > CHECKSUM_NONE in tcp_v4_rcv() even though it gets set to > CHECKSUM_PARTIAL in tcp_sendmsg(). Ok, it looks like it's only ACK packets that have this problem, but still :-) It's weird that we have a special ip_dev_loopback_xmit() for for ip_mc_output() NF_HOOK()s, which forces skb->ip_summed to CHECKSUM_UNNECESSARY, but the actual normal loopback xmit doesn't do that... -- 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/