Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756106AbYH1ThD (ORCPT ); Thu, 28 Aug 2008 15:37:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754127AbYH1Tgu (ORCPT ); Thu, 28 Aug 2008 15:36:50 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:42550 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754032AbYH1Tgu (ORCPT ); Thu, 28 Aug 2008 15:36:50 -0400 Date: Thu, 28 Aug 2008 12:36:45 -0700 (PDT) Message-Id: <20080828.123645.78561286.davem@davemloft.net> To: denys@visp.net.lb Cc: andi@firstfloor.org, jmalicki@metacarta.com, johnpol@2ka.mipt.ru, dada1@cosmosbay.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, juhlenko@akamai.com, sammy@sammy.net Subject: Re: loaded router, excessive getnstimeofday in oprofile From: David Miller In-Reply-To: <200808281948.52608.denys@visp.net.lb> References: <21915755.1327801219904892242.JavaMail.root@ouachita> <20080828072218.GI26610@one.firstfloor.org> <200808281948.52608.denys@visp.net.lb> X-Mailer: Mew version 6.1 on Emacs 22.1 / Mule 5.0 (SAKAKI) 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: 915 Lines: 18 From: Denys Fedoryshchenko Date: Thu, 28 Aug 2008 19:48:52 +0300 > So there is few good solutions available (IMHO): > 1)Introduce some SO_REALTIMESTAMP (anyway even SO_TIMESTAMP not defined in any > standard) for banks and ntp folks, who need them. And even give them timespec > instead timeval, so they will be even more happy with resolution. > 2)Provide sysctl,kernel boot, or even "build time" option for "banks" to have > high resolution(and expensive) SO_TIMESTAMP. The performance hit hurts, but changing the default to lower resolution after it having been high resolution for 10+ years is a regression and something we really can't do. -- 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/