From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 16 10:59:09 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3E7C1065674; Thu, 16 Feb 2012 10:59:09 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0CC388FC1C; Thu, 16 Feb 2012 10:59:08 +0000 (UTC) Received: by bkcjg1 with SMTP id jg1so2359389bkc.13 for ; Thu, 16 Feb 2012 02:59:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ytNgf8PToXLlEti8i53vjSeY9Y3WXNnsquzdtZZqHDY=; b=h8BYY3ypt3SFBXVJXFU44NorliHIxjH3cg480vz3q6a6S/4BwxzqM35ZWcEOwLtxiX ydwQ3IO/WIKBmBukCQ595JGpdGkqWTEqwRVMncHXTbGYoh8vRIVQefWDbL9mjvEhFhdu ATD7SCSti5e0Wu9825G6fOgPM95G/c66mSeFg= Received: by 10.204.145.72 with SMTP id c8mr928860bkv.81.1329389948028; Thu, 16 Feb 2012 02:59:08 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id x20sm12071628bka.9.2012.02.16.02.59.06 (version=SSLv3 cipher=OTHER); Thu, 16 Feb 2012 02:59:07 -0800 (PST) Sender: Alexander Motin Message-ID: <4F3CE179.7070605@FreeBSD.org> Date: Thu, 16 Feb 2012 12:59:05 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111227 Thunderbird/9.0 MIME-Version: 1.0 To: Jeff Roberson References: <4F2F7B7F.40508@FreeBSD.org> <4F366E8F.9060207@FreeBSD.org> <4F367965.6000602@FreeBSD.org> <4F396B24.5090602@FreeBSD.org> <4F3978BC.6090608@FreeBSD.org> <4F3990EA.1080002@FreeBSD.org> <4F3C0BB9.6050101@FreeBSD.org> <4F3CC2E7.9070100@FreeBSD.org> In-Reply-To: <4F3CC2E7.9070100@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, Florian Smeets , Andriy Gapon Subject: Re: [RFT][patch] Scheduling for HTT and not only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2012 10:59:10 -0000 On 02/16/12 10:48, Alexander Motin wrote: > On 02/15/12 21:54, Jeff Roberson wrote: >> On Wed, 15 Feb 2012, Alexander Motin wrote: >>> As before I've tested this on Core i7-870 with 4 physical and 8 >>> logical cores and Atom D525 with 2 physical and 4 logical cores. On >>> Core i7 I've got speedup up to 10-15% in super-smack MySQL and >>> PostgreSQL indexed select for 2-8 threads and no penalty in other >>> cases. pbzip2 shows up to 13% performance increase for 2-5 threads and >>> no penalty in other cases. >> >> Can you also test buildworld or buildkernel with a -j value twice the >> number of cores? This is an interesting case because it gets little >> benefit from from affinity and really wants the best balancing possible. >> It's also the first thing people will complain about if it slows. > > All night long buildworld run on Core i7-2600K (4/8 cores) with 8GB RAM > and RAID0 of two fast SSDs found no bad surprises: > > old new % > 1 4242.33 4239.69 -0.0622299538 > 2 2376.4433 2340.47 -1.5137453521 > 4 1581.3033 1430.1733 -9.5573063055 > 6 1394.8033 1348.0533 -3.3517270858 > 8 1365.8067 1315.87 -3.6562055231 > 10 1312.8533 > 12 1350.23 1313.2667 -2.7375558238 > 16 1346.2267 1306.0733 -2.9826625783 > 20 1313.31 > > Each point there averaged of 3 runs. Ah! Just recalled, this kernel included patch from avg@ that removed extra equal topology level from the tree. That could improve balancer behavior in this case of single-socket system. -- Alexander Motin