From owner-freebsd-performance@FreeBSD.ORG Wed Feb 22 01:40:42 2012 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2059B106566C; Wed, 22 Feb 2012 01:40:42 +0000 (UTC) (envelope-from marcus@odin.blazingdot.com) Received: from odin.blazingdot.com (odin.blazingdot.com [199.48.133.254]) by mx1.freebsd.org (Postfix) with ESMTP id F1CDF8FC1B; Wed, 22 Feb 2012 01:40:41 +0000 (UTC) Received: by odin.blazingdot.com (Postfix, from userid 1001) id 5C30511424A; Wed, 22 Feb 2012 01:21:22 +0000 (UTC) Date: Wed, 22 Feb 2012 01:21:22 +0000 From: Marcus Reid To: Julian Wissmann Message-ID: <20120222012122.GA95311@blazingdot.com> References: <4F314FC6.3060801@freebsd.org> <4085662F-2AFC-4724-A9CD-538935FBA51A@freebsd.org> <52BDCB1E-AECB-4196-9334-9177D5C0C5AF@cl.cam.ac.uk> <060E8621-8114-4DF3-8D8E-6F897DB3AFA4@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Coffee-Level: nearly-fatal User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-performance@freebsd.org, rwatson@FreeBSD.org Subject: Re: Tor on FreeBSD Performance issues 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: Wed, 22 Feb 2012 01:40:42 -0000 On Sun, Feb 12, 2012 at 03:58:54PM +0100, Julian Wissmann wrote: > Also libevent is using kqueue and I've tried patching both Tor and > libevent to use CLOCK_MONOTONIC_FAST and CLOCK_REALTIME_FAST, as has > been pointed out by Alexander. Just a reminder of rwatson's ldpreload trick to speed up gettimeofday(): http://www.watson.org/~robert/freebsd/clock/ Marcus