Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 15170633324 for ; Tue, 31 Aug 2010 09:45:29 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 72518-09 for ; Tue, 31 Aug 2010 12:45:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ey0-f174.google.com (mail-ey0-f174.google.com [209.85.215.174]) by mail.postgresql.org (Postfix) with ESMTP id 22E92633111 for ; Tue, 31 Aug 2010 09:45:20 -0300 (ADT) Received: by eyg5 with SMTP id 5so3654994eyg.19 for ; Tue, 31 Aug 2010 05:45:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=zSS51CRhsMQmOvOcLAnTOk+4lV6YcfYkx0rWL+7xw4M=; b=QGvwfhpLwVW/faVYR16QorD4C/QaHvuvkHmRoPE3IEp3Dnkay4Ib2Is3UimWTIg+HO +vBKyxFssuSwzyKTQOGpxn5Uy5C0UBHh0rCC63tlOfj6wfdUy5uh/OWxRpoEwpP4AI+q usurnVeN2ZwVx2548TgxPgfktuXDDG9BWDFQg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Vn5WJaKqZvKQtH/Bz2gdEgfsvH1Rjjdt+DrDCB1ZeSPG7HZThHaY09Hv+SXxaTbnIU 6J7CwoYt5q6HXd21bzE/oyW5f+2PNpZTmB27Yhn3Uf4uuzWldUNEoVbV8D0srHvUl6DL z0dPKUH/8hZs2GfqLW17dFWDDli2S3PQ4fa7w= Received: by 10.213.7.142 with SMTP id d14mr1824944ebd.78.1283258336943; Tue, 31 Aug 2010 05:38:56 -0700 (PDT) Received: from [0.0.0.0] (5357DA75.cable.casema.nl [83.87.218.117]) by mx.google.com with ESMTPS id z55sm13966089eeh.3.2010.08.31.05.38.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 31 Aug 2010 05:38:56 -0700 (PDT) Message-ID: <4C7CF886.5040603@gmail.com> Date: Tue, 31 Aug 2010 14:41:42 +0200 From: Yeb Havinga User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Greg Smith CC: Jose Ildefonso Camargo Tolosa , "pgsql-performance@postgresql.org" Subject: Re: Performance on new 64bit server compared to my 32bit desktop References: <4C6CE64D.6070104@edd.fr> <4C6D76FE.9010407@2ndquadrant.com> <4C77F4F4.4020900@2ndquadrant.com> <4C7B6498.5040800@gmail.com> <4C7BCB2E.3090100@2ndquadrant.com> In-Reply-To: <4C7BCB2E.3090100@2ndquadrant.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201008/350 X-Sequence-Number: 40193 Greg Smith wrote: > Yeb Havinga wrote: >> model name : AMD Phenom(tm) II X4 940 Processor @ 3.00GHz >> cpu cores : 4 >> stream compiled with -O3 >> Function Rate (MB/s) Avg time Min time Max time >> Triad: 5395.1815 0.0089 0.0089 0.0089 > I'm not sure if Yeb's stream was compiled to use MPI correctly though, > because I'm not seeing "Number of Threads" in his results. Here's > what works for me: > > gcc -O3 -fopenmp stream.c -o stream > > And then you can set: > > export OMP_NUM_THREADS=4 Then I get the following. The rather wierd dip at 5 threads is consistent over multiple tries: Number of Threads requested = 1 Function Rate (MB/s) Avg time Min time Max time Triad: 5378.7495 0.0089 0.0089 0.0090 Number of Threads requested = 2 Function Rate (MB/s) Avg time Min time Max time Triad: 6596.1140 0.0073 0.0073 0.0073 Number of Threads requested = 3 Function Rate (MB/s) Avg time Min time Max time Triad: 7033.9806 0.0069 0.0068 0.0069 Number of Threads requested = 4 Function Rate (MB/s) Avg time Min time Max time Triad: 7007.2950 0.0069 0.0069 0.0069 Number of Threads requested = 5 Function Rate (MB/s) Avg time Min time Max time Triad: 6553.8133 0.0074 0.0073 0.0074 Number of Threads requested = 6 Function Rate (MB/s) Avg time Min time Max time Triad: 6803.6427 0.0071 0.0071 0.0071 Number of Threads requested = 7 Function Rate (MB/s) Avg time Min time Max time Triad: 6895.6909 0.0070 0.0070 0.0071 Number of Threads requested = 8 Function Rate (MB/s) Avg time Min time Max time Triad: 6931.3018 0.0069 0.0069 0.0070 Other info: DDR2 800MHz ECC memory MB: 790FX chipset (Asus m4a78-e) regards, Yeb Havinga