Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755121AbYH0Myd (ORCPT ); Wed, 27 Aug 2008 08:54:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754695AbYH0MyV (ORCPT ); Wed, 27 Aug 2008 08:54:21 -0400 Received: from one.firstfloor.org ([213.235.205.2]:59678 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754036AbYH0MyV (ORCPT ); Wed, 27 Aug 2008 08:54:21 -0400 To: Evgeniy Polyakov Cc: Eric Dumazet , Denys Fedoryshchenko , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: loaded router, excessive getnstimeofday in oprofile From: Andi Kleen References: <200808220457.40892.denys@visp.net.lb> <20080826201406.GA24827@2ka.mipt.ru> <48B46B48.7030609@cosmosbay.com> <20080826205158.GA15266@2ka.mipt.ru> Date: Wed, 27 Aug 2008 14:54:12 +0200 In-Reply-To: <20080826205158.GA15266@2ka.mipt.ru> (Evgeniy Polyakov's message of "Wed, 27 Aug 2008 00:51:58 +0400") Message-ID: <87vdxmr53f.fsf@basil.nowhere.org> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) 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: 903 Lines: 26 Evgeniy Polyakov writes: > > Yup, this innocent toys can end up with this such behaviour on modern > highly loaded machines. I and also other people had some patches to move the time stamp measuring into the socket. This way the time stamping didn't need to be enabled on all packets, only on those that actually end up at a socket that requires the time stamp. Unfortunately DaveM didn't like it because some bank wanted different semantics, see the discussion in http://thread.gmane.org/gmane.linux.network/91679 Perhaps you can find out which bank it was and send them a bill for your CPU time ;-) -Andi -- ak@linux.intel.com -- 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/