From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 16 08:48:44 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 10B031065670; Thu, 16 Feb 2012 08:48:44 +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 258E58FC1A; Thu, 16 Feb 2012 08:48:42 +0000 (UTC) Received: by bkcjg1 with SMTP id jg1so2231876bkc.13 for ; Thu, 16 Feb 2012 00:48:42 -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=dTU3RCp4m7PVk+Ee9qG+VM5sq18Isc5Rd4n+RiasG5s=; b=hIHbZ/Rf/9BeQQeIoQAzOLjk9CIPRAfsiLzkUEwwoVOBclwtYrAz8SKr3IAEDn0Fzw AzOtnQLWLo6FBAOrt/jS+HCeAEAX0BUwaLhvBCehAqla5Rz4hTk87t0XFyEIag53BrVt 4rMo1ix+5hy+5KTKiESzRup9iR/fQV7VZB+0c= Received: by 10.204.151.196 with SMTP id d4mr733205bkw.29.1329382122124; Thu, 16 Feb 2012 00:48:42 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id x22sm11270488bkw.11.2012.02.16.00.48.40 (version=SSLv3 cipher=OTHER); Thu, 16 Feb 2012 00:48:41 -0800 (PST) Sender: Alexander Motin Message-ID: <4F3CC2E7.9070100@FreeBSD.org> Date: Thu, 16 Feb 2012 10:48:39 +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> In-Reply-To: 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 08:48:44 -0000 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. -- Alexander Motin