From owner-freebsd-smp@FreeBSD.ORG Mon Oct 16 18:15:30 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E52316A417 for ; Mon, 16 Oct 2006 18:15:30 +0000 (UTC) (envelope-from kian.mohageri@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BAB243D5D for ; Mon, 16 Oct 2006 18:15:28 +0000 (GMT) (envelope-from kian.mohageri@gmail.com) Received: by nz-out-0102.google.com with SMTP id o37so414416nzf for ; Mon, 16 Oct 2006 11:15:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=XZ8g9SH12KvcCl9HzMVxpU275YeFOuWo+c5CYjIp+SgsgPrhEm/X7yXm1nhd+7q1a3D9chZrn59ynUFsyC6Y8qTjeil8XKmN1IMbNCd6A+CGTlcAsz0/uoVUtyUDFoM2ewuOcvublXi4eOagfCcS/emM//22iwb+xfX3R7EWglk= Received: by 10.65.186.18 with SMTP id n18mr10529837qbp; Mon, 16 Oct 2006 11:15:26 -0700 (PDT) Received: by 10.65.220.10 with HTTP; Mon, 16 Oct 2006 11:15:25 -0700 (PDT) Message-ID: Date: Mon, 16 Oct 2006 11:15:25 -0700 From: "Kian Mohageri" To: "Attilio Rao" In-Reply-To: <3bbf2fe10610160401u72748b2fi919994fb18f422e5@mail.gmail.com> MIME-Version: 1.0 References: <3bbf2fe10610160401u72748b2fi919994fb18f422e5@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-smp@freebsd.org, Ivan Voras Subject: Re: xeon 2.8GHz SMP/NOT test results X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2006 18:15:30 -0000 On 10/16/06, Attilio Rao wrote: > > 2006/10/16, Ivan Voras : > > Kian Mohageri wrote: > > > > > I've never used sysbench (I essentially picked it randomly) so if you > know > > > it to be a crappy benchmark tool for this sort of thing, do tell. I'm > also > > > pretty new at testing performance in general, but I hope someone finds > it > > > useful anyway. > > > > Maybe you'll be interested in ports/benchmark/unixbench, especially the > > context switch and shell scripts benchmarks? > > > > > http://www.zampanosbits.com/smp_tests/ > > > > Interesting results, especially for such an early version of the > > processor (wrt HTT) - I'd expect much lower gain from HTT. While you're > > at it, maybe you could add more results to your benchmark, like change > > the timecounter to TSC, use various gcc optimization flags, twiddle > > machdep.cpu_idle_hlt, use SMP kernel with HTT disabled in BIOS? > > What about PREEMPTION/FULL_PREEMPTION? I'll take a look at doing some more tests like these with some actual planning. These ones were pretty much me getting bored at a coffee shop and deciding to use our development server for testing. I was curious about disabling HTT in the BIOS too, after having read about it (that was peoples suggestion, since supposedly it can hurt performance.) One person said if you don't disable it in the BIOS, `top` will only show CPU <50%, but I didn't run into that, so maybe I'm misunderstanding them or it has been fixed. I'll do another round of tests with one or two of the other tools (lmbench, unixbench) and options that you guys recommended and then publish the results, I just have to find some time. The tests themselves are pretty quick but organizing the results takes a while. I just have to be careful about what options I mess with so I don't lock up the machine and have to head over to the server room :) -- Kian Mohageri