From owner-freebsd-performance@FreeBSD.ORG Fri Apr 6 18:04:02 2012 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D6DB106564A; Fri, 6 Apr 2012 18:04:02 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 680BC8FC0A; Fri, 6 Apr 2012 18:04:01 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so2379700wgb.31 for ; Fri, 06 Apr 2012 11:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=3PzoMRPyyjahlo1OYqsWyoEuQAvEao636Ytj6TFuz9A=; b=IHbzJ40+vLFGzEtFDKaxbTyBfkcy0jlIRSlpGuJX73YJ9alAmOPjO5IJWbmiuOkH+y xLRevHcz8K9KazWdM9wTlOQ/S1aZ9XPrOzzBS489TQ2EVQgNvhVTNhE54zJ/yBTyndSQ j7Z8btNo29SoMe+o9WHKuk59ifo/U0Z6eqHj/e+Uih6ldcutROBGihYAjxqD6sM9CIQw rNteRKEUeKPoZDF0wvVG1qJVZqtzudiVPyVWj5T9WQCRVGyKq/K3rDsnvhFJAQKAv9HP ngCtiNj80l5lkaGTj204ZkY/xafdF5jzIR+j2ShUg2Qt2ajwK2osJurhlhh/1oBwHXaa /REw== MIME-Version: 1.0 Received: by 10.180.88.164 with SMTP id bh4mr21248140wib.22.1333735440585; Fri, 06 Apr 2012 11:04:00 -0700 (PDT) Received: by 10.216.49.81 with HTTP; Fri, 6 Apr 2012 11:04:00 -0700 (PDT) In-Reply-To: References: Date: Fri, 6 Apr 2012 14:04:00 -0400 Message-ID: From: Arnaud Lacombe To: Attilio Rao Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Fri, 06 Apr 2012 18:15:58 +0000 Cc: freebsd-performance@freebsd.org, FreeBSD Current Subject: Re: Scheduler + IPC performance on FreeBSD 7.4, 8.2, 9.0 and -CURRENT 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: Fri, 06 Apr 2012 18:04:02 -0000 Hi, On Fri, Apr 6, 2012 at 1:55 PM, Attilio Rao wrote: > Il 06 aprile 2012 18:54, Arnaud Lacombe ha scritto: >> Hi, >> >> On Fri, Apr 6, 2012 at 10:58 AM, Attilio Rao wrote= : >>> Il 05 aprile 2012 19:03, Arnaud Lacombe ha scritto= : >>>> Hi folks, >>>> >>>> Over the past months, I ran on a couple of unused box the >>>> `hackbench'[HACKBENCH] benchmark used by the Linux folks for tracking >>>> down various kind of regression/improvement. `hackbench' is a >>>> scheduler + IPC test (socket xor pipe). It creates producers/consumers >>>> groups and let a variable quantity of small messages flow happily. >>>> Producers and consumers are either processes xor threads. >>>> >>>> Tested platforms were >>>> =A0- Atom D510, Intel, (incomplete) >>>> =A0- Core 2 Quad Q9560, Intel >>>> =A0- Soekris net5501, AMD (incomplete) >>>> =A0- Xeon E5645, Intel (incomplete) >>>> =A0- Xeon E5620 (dual package), Intel >>>> =A0- Xeon E5-1650 (pending completion) >>>> =A0- Vortex86, DMP >>>> >>>> Tested kernel were: >>>> =A0- FreeBSD 7.4-RELEASE >>>> =A0- FreeBSD 8.2-RELEASE >>>> =A0- FreeBSD 9.0-RC3 and FreeBSD 9.0-RELEASE >>>> =A0- FreeBSD 10-CURRENT as of r231573 >>> >>> Which means you run 10-CURRENT with all the kernel debugging options >>> on and MALLOC_DEBUG on? >>> >> I already answered that question. Namely: >> >> << >> note: rule [I] is alleviated for -CURRENT kernels, which were built >> with the same alteration made to GENERIC during the CURRENT->RELEASE >> transition (ie. WITNESS and a couple of other option disabled). >>>> >> >> this translates into the following patch (for amd64): > > Did you enable MALLOC_PRODUCTION and rebuilt libc? > Userland originates from FreeBSD 7.4-RELEASE and was not changed for any of the tests, which are exclusively focused on the kernel. Doing otherwise would mean changing too many variables. - Arnaud