From owner-freebsd-questions@FreeBSD.ORG Sat Sep 21 19:53:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3F6B89F5 for ; Sat, 21 Sep 2013 19:53:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CDB6425A7 for ; Sat, 21 Sep 2013 19:53:39 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id l18so1691538wgh.4 for ; Sat, 21 Sep 2013 12:53:36 -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:message-id:subject :from:to:cc:content-type; bh=7nfvl6Z0Ty/sol80OEj1jgyIHr6GVFW1jYKOVfZGUGE=; b=Ek2mCx8m4lD5j8ZFQUypiHtlOO3IgsIMof9B09cfpymrk93L2eR0j4ZAbvlSYCdGdA Nci9w/xfB3HPsa3kokuVtJ3BvjNYRDG0qLUvhNGG7OMUA14yBJEoR+yjLuCHgdnd4G8x jMM9TV6azVfccGxWHV7TNIjsc0/Iy0WFEBUKhDv0NCNuGiXhLFeAoHw9STOXF2piSUcc EPen5Hl3A6EvkHgXtfKcNwfVdpiR53+ylcWst83MTR5Rk8vwy6+fTKRKr/bBI3UnXC2u C0k6tsHm0SBUVg96DrTlEBI7bBU5eHfB2xIQ1rA9X4zez8JNltdVKA76PqN/J+v2JMyD RfVQ== MIME-Version: 1.0 X-Received: by 10.194.235.138 with SMTP id um10mr11101722wjc.30.1379793216843; Sat, 21 Sep 2013 12:53:36 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Sat, 21 Sep 2013 12:53:36 -0700 (PDT) In-Reply-To: <20130920110535.42c984da@sarvision.nl> References: <52388C9B.6030205@foxbatcapital.com> <20130919155327.115e7344@sarvision.nl> <20130920110535.42c984da@sarvision.nl> Date: Sat, 21 Sep 2013 12:53:36 -0700 X-Google-Sender-Auth: 3r1SdmpDvLPleWbdaKGIjHEf85A Message-ID: Subject: Re: this 48-core box... From: Adrian Chadd To: Vincent Schut Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Sep 2013 19:53:40 -0000 .. just as a data point - there was a thread a while ago about numeric processing performance on linux vs bsd. It all boiled down to how jemalloc versus the linux allocator(s) allocate blocks. jemalloc will page align things after a certain size. Linux didn't. So when doing numeric processing, there was a lot of cache aliasing going on leading to inefficient cache usage and redundant memory operations. When the same workload on Linux was run on FreeBSD but with the Linux library/allocators, the performance was identical. No-one followed through. I think I may have to write a blog post about it. -adrian