From: Yeb Havinga <yebhavinga@gmail.com>
To: Greg Smith <greg@2ndquadrant.com>
Cc: Jose Ildefonso Camargo Tolosa <ildefonso.camargo@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Performance on new 64bit server compared to my 32bit desktop
Date: Tue, 31 Aug 2010 14:41:42 +0200
Message-ID: <4C7CF886.5040603@gmail.com> (raw)
In-Reply-To: <4C7BCB2E.3090100@2ndquadrant.com>
References: <4C6CE64D.6070104@edd.fr>
<4C6D76FE.9010407@2ndquadrant.com>
<E613263E-09D5-4562-BBAF-C72B09883E26@richrelevance.com>
<4C77F4F4.4020900@2ndquadrant.com>
<AANLkTikd3BjGD+ti2RBrYu-2WJ7f-QM3dcJLMtYKOZUu@mail.gmail.com>
<4C7B6498.5040800@gmail.com>
<4C7BCB2E.3090100@2ndquadrant.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: yebhavinga@gmail.com, greg@2ndquadrant.com, ildefonso.camargo@gmail.com
Subject: Re: Performance on new 64bit server compared to my 32bit desktop
In-Reply-To: <4C7CF886.5040603@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox