From owner-freebsd-current@FreeBSD.ORG Tue May 9 18:07:15 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9444C16A5C4; Tue, 9 May 2006 18:07:15 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E261943D6A; Tue, 9 May 2006 18:07:14 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.13.4/8.13.3) with ESMTP id k49I789T046129; Tue, 9 May 2006 22:07:08 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Tue, 9 May 2006 22:07:08 +0400 (MSD) From: Maxim Konovalov To: Julian Elischer In-Reply-To: <4460D2CA.5090808@elischer.org> Message-ID: <20060509220230.W46073@mp2.macomnet.net> 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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-performance@freebsd.org, Kris Kennaway , current@freebsd.org, David Xu Subject: Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 18:07:18 -0000 On Tue, 9 May 2006, 10:35-0700, Julian Elischer wrote: > Sven Petai 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. [...] Robert posted them. I failed to found these messages in our archives (does mailman archive messages properly?) and put them there: http://maxim.int.ru/stuff/gtd/ We used to use a very similar approch on RELENG_4 and found it helped a lot. -- Maxim Konovalov