From owner-freebsd-performance@FreeBSD.ORG Tue May 9 18:07:23 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F21616A877; Tue, 9 May 2006 18:07:23 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49F1343D70; Tue, 9 May 2006 18:07:20 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon.PRO.v8.1.3.R) with ESMTP id md50002544741.msg; Tue, 09 May 2006 19:06:35 +0100 Message-ID: <004501c67393$4d4aeae0$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Julian Elischer" , "Sven Petai" References: <20060506150622.C17611@fledge.watson.org> <200605090335.00451.hadara@bsd.ee> <20060509004203.GA55852@xor.obsecurity.org><200605091818.12676.hadara@bsd.ee> <4460D2CA.5090808@elischer.org> Date: Tue, 9 May 2006 19:06:26 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Spam-Processed: multiplay.co.uk, Tue, 09 May 2006 19:06:35 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDAV-Processed: multiplay.co.uk, Tue, 09 May 2006 19:06:37 +0100 Cc: freebsd-performance@freebsd.org, Kris Kennaway , current@freebsd.org, David Xu Subject: Re: Fine-grained locking for POSIX local sockets (UNIXdomain sockets) X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 18:07:25 -0000 Julian Elischer wrote: > are there any patches that take the gettimeofday() calls and replace > them with something that is cheap > such as only doing every 10th one and just returning the last value > ++ 1 > uSec for the other ones.. > > a ktrace of Mysql shows a LOT of gettimeofday() calls. Yes there are check out the following: http://wikitest.freebsd.org/moin.cgi/MySQL http://phk.freebsd.dk/patch/ Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk.