From owner-freebsd-current@FreeBSD.ORG Fri Apr 6 17:55:55 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A170C1065674; Fri, 6 Apr 2012 17:55:55 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id E58B98FC17; Fri, 6 Apr 2012 17:55:54 +0000 (UTC) Received: by lbok6 with SMTP id k6so1105664lbo.13 for ; Fri, 06 Apr 2012 10:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=U5IIy6Dzq32iIkifT9SpRqldXJ7lbfb1bpuhIzk9UtU=; b=bCr8y1sQcB5wCcZUZ6W5iho0TPgc4H+eFTbUNvNnu1RUm5GQajVHvJldr7GCtF5/31 MGtBoOnGJfwyrc5+x+7P5u6Jm1eDrZb8njsogXo8ogACg2SEzVrFQZ1T8ugnL6eE5V5H 9YP1DaKv7tyubRhfOMob1oZEUOzfb3j4/1sJw5NMVAYmkMlAghuMEYLXliypOeVa9G+E sokeYToww31FQSkB3qa1S5psB1xQe4Ni6juz1+tVEjXPEGGYSv0ymN0lwgZGfFjBVPxl O5lLHDHiBNuk7n/qhShltn52GyQJFdWbQkgkYQ5thd+HO/OyxLmf/uauqtSWSKrlRPvP DLig== MIME-Version: 1.0 Received: by 10.152.129.74 with SMTP id nu10mr9692941lab.50.1333734953707; Fri, 06 Apr 2012 10:55:53 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.112.93.138 with HTTP; Fri, 6 Apr 2012 10:55:53 -0700 (PDT) In-Reply-To: References: Date: Fri, 6 Apr 2012 18:55:53 +0100 X-Google-Sender-Auth: L9Rwr2iyymohv361d1b4FJtxieQ Message-ID: From: Attilio Rao To: Arnaud Lacombe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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-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: Fri, 06 Apr 2012 17:55:55 -0000 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 >>> =C2=A0- Atom D510, Intel, (incomplete) >>> =C2=A0- Core 2 Quad Q9560, Intel >>> =C2=A0- Soekris net5501, AMD (incomplete) >>> =C2=A0- Xeon E5645, Intel (incomplete) >>> =C2=A0- Xeon E5620 (dual package), Intel >>> =C2=A0- Xeon E5-1650 (pending completion) >>> =C2=A0- Vortex86, DMP >>> >>> Tested kernel were: >>> =C2=A0- FreeBSD 7.4-RELEASE >>> =C2=A0- FreeBSD 8.2-RELEASE >>> =C2=A0- FreeBSD 9.0-RC3 and FreeBSD 9.0-RELEASE >>> =C2=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? Attilio --=20 Peace can only be achieved by understanding - A. Einstein