From owner-freebsd-stable@FreeBSD.ORG Thu Apr 15 05:49:47 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC276106566C; Thu, 15 Apr 2010 05:49:47 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D50088FC12; Thu, 15 Apr 2010 05:49:46 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id IAA18083; Thu, 15 Apr 2010 08:49:40 +0300 (EEST) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1O2HxL-0004k4-N3; Thu, 15 Apr 2010 08:49:39 +0300 Message-ID: <4BC6A8F2.4010501@freebsd.org> Date: Thu, 15 Apr 2010 08:49:38 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100321) MIME-Version: 1.0 To: Maho NAKATA References: <4BC5F289.7020408@freebsd.org> <20100415.102000.645538350615365151.chat95@mac.com> In-Reply-To: <20100415.102000.645538350615365151.chat95@mac.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: alc@freebsd.org, amvandemore@gmail.com, alan.l.cox@gmail.com, freebsd-stable@freebsd.org, als@modulus.org Subject: Re: How to reproduce: Re: Only 70% of theoretical peak performance on FreeBSD 8/amd64, Corei7 920 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2010 05:49:47 -0000 on 15/04/2010 04:20 Maho NAKATA said the following: > Hi Andriy and Adam, > > I did also the same thing as suggested. > > my conclusion: on Core i7 920, 2.66GHz, TurboBoost on, HyperThreading off, So HyperThreading is off. > then, pinned to each core like following > > % procstat -t 1408 > PID TID COMM TDNAME CPU PRI STATE WCHAN > 1408 100160 dgemm - 3 190 run - > 1408 100161 dgemm - 2 190 run - > 1408 100162 dgemm - 2 190 run - > 1408 100163 dgemm - 1 189 run - > 1408 100164 dgemm - 0 190 run - > 1408 100165 dgemm - 3 189 run - > 1408 100166 dgemm - 1 190 run - > 1408 100167 dgemm initial thread 0 190 run - But there are still 8 threads. Can you check how many threads you have on Linux with the same configuration? Is it possible to tell GotoBLAS to use 4 threads? If yes, can you also test that scenario? Also, would it be possible for you to test recent 8-STABLE? Just for the sake of experiment. -- Andriy Gapon