GEOS-Chem performance

From Geos-chem
Jump to: navigation, search

On this page we will post information about GEOS-Chem performance and timing results.

7-day time tests

The GEOS-Chem Support Team has created a timing test package that you can use to determine the performance of GEOS-Chem on your system. The time test runs the GEOS-Chem code for 7 model days with the "standard" chemistry mechanism. Our experience has shown that a 7-day simulation will give a more accurate timing result than a 1-day simulation. This is because much of the file I/O (i.e. HEMCO reading annual or monthly-mean emissions fields) occurs on the first day of a run.

We have run 7-day time tests for both v10-01 and v11-01. To view the results of the tests, please visit the following links:

Version Time test information
v11-01
v10-01

--Bob Yantosca (talk) 21:27, 15 December 2016 (UTC)

GEOS-Chem scalability

Overview

Colette Heald wrote:

I was wondering if you could give me your thoughts on GEOS-Chem scalability? I'm about to purchase some new servers, and the default would be 6 dual core servers, so 12 processors total. I see a huge difference in my 4p vs. 8p machines, but I'm wondering if there's much advantage going beyond that to 12p. My sense from past discussions is that GC does not scale very well.

Jack Yatteau replied:

First, if you’re getting Intel processors with hyperthreading, your 2 socket hex core system will look as if it has 24 processors under Linux. We’re current using 2 socket quad core systems that appear to have 16 processors under Linux. Codes run almost twice as fast up to 8 threads, and run about the same speed at 16 threads, meaning, an 8p job will run faster on the newer system than on a older 2 socket quad core system without hyperthreading at about the clock speed, but two 8p jobs running simultaneously will each run at about the same speed as they would on the older systems. So the system appears to slow down as you add more than 8 threads. On a hex core system, the threshold would be at 12 threads. So you’ll have a difficult time making sense of timing tests if you use one of the newer systems unless you disable hyperthreading, in which case you might as well limit the number of threads to 12 and leave hyperthreading enabled.
I measured scaling 5 years ago using a 16 processor Origin 2000 and a 12 processor Altix and you can see the results and my analysis of them in this Powerpoint presentation.
Since then I’ve run tests at 4x5 resolution on dual core Opteron processors up to 16 cores and on modern Xeon systems up to 8p. GEOS-Chem still runs about 1.5-1.6 times faster on 8 threads than on 4 threads. In our environment, it matters more how many runs get completed. Even if we could get a job to run 25% faster on 16 threads than on 8 threads, we’d be better off running 2 simultaneous jobs each using 8 threads. Also, be aware that at 2x2.5 resolution GEOS-Chem doesn’t scale as well, since more time is spend doing transport, and the transport code doesn’t scale as well as the chemistry code.
Finally, we’ve done very well using dual socket systems since for the past several years computers have been designed with high bandwidth to memory for pairs of processors. Going to more than 2 sockets (e.g. 4 quad or hex core systems), the bandwidth between 2 or more pairs of processors drops, and I’d expect that to slow down SMP jobs whose threads don’t all run on the same pair. So my recommendation would be to stick to 2 socket systems and use the savings to add more of them. Plus, maybe I’ve convinced you that you’ll be getting a machine with 3 times the capability of an older dual quad-core system.

--Bob Y. 13:09, 12 August 2010 (EDT)

Benchmarking results from MIT user group

Colette Heald wrote:

I have been benchmarking GEOS-Chem on my new system here at MIT and I thought you might be interested in seeing the results for the scaling. This is with a dual hex-core Xeon 3.07 GHz chip & 48 Gb RAM from Thinkmate.
Mit gc benchmark.png

Jack Yatteau replied:

Note that there is no difference between 12 and 24. It’s not just scaling. With 12 real cores, jobs run faster than on old non-hyperthreaded cores at the same clock speed, but once you start relying on hyperthreading (>12) you don’t gain speed, even if the job scales. But you could run two 12-core jobs at about the speed of the older processors, which is what we do when the cluster is busy.

Colette Heald wrote:

Yup, hyperthreading doesn't appear to buy me anything. But I did test submitting 2 12-core jobs to the same machine and the run time dropped from 36 min to 58 min. I suppose not quite a doubling, but didn't seem like a worthwhile experiment on my system.

--Bob Y. 12:00, 17 April 2012 (EDT)

Benchmarking results from University of Liege user group

Manu Mahieu wrote:

GEOS-Chem v9-01-03 is now installed and running at ULg. I have performed a few benchmark runs on our server involving from 4 up to 32 CPUs. This PDF document provides information about our server, the OS and compiler used as well as the running times for the various configurations tested up to now. By far, the best performance was obtained when submitting the GC simulation to all available CPUs (i.e. 32).

--Bob Y. 11:44, 19 June 2013 (EDT)

Benchmarking results from University of York user group

Mat Evans and his group at the University of York have done an analysis of how GEOS-Chem v9-02 performs when compared to the previous version, GEOS-Chem v9-01-03. Please follow this post on our GEOS-Chem v9-02 wiki page to view the results.

--Bob Y. 10:57, 19 November 2013 (EST)

Timing information from older GEOS-Chem versions

Obsolete.jpg

The following information is mostly out-of-date. We shall keep it here for future reference.

Adding additional tracers

Claire Carouge wrote:

I ran an ensemble of 5 identical runs for 43 and 54 tracers with GEOS-Chem v8-02-04, compiled with IFORT 11.1.069 with GEOS-5 and in 4x5 resolution. For each set of tracers, I've run with everything turned on and then again with the chemistry turned off.
Here are the times (simulation length: 4 days).
# of tracers Avg total time (s) Avg chemistry time (s) Avg transport time (s)
54 (SOA chemistry) 760.27 457.93 302.34
43 (no SOA chemistry) 709.92 427.55 282.37
Diff 54-43 tracers +50.35 +30.38 +19.97
So it gives an increase of 7% for transport, chemistry and total time when adding 11 tracers. The additional time for transport is then not linear, but a linear estimate (1% additional time per additional tracer) can give a high estimate of the additional time.
The additional time in chemistry is very dependent on the type of tracer you add (aerosol, gas tracer with modifications to globchem.dat....) so the 7% increase in time is probably very particular to the SOA tracers.

--Bob Y. 10:51, 15 April 2010 (EDT)

Intel Fortran Compiler

Please see the following links for some timing comparisons between the various versions of the Intel Fortran Compiler (aka "IFORT" compiler):

--Bob Y. 10:51, 15 April 2010 (EDT)

Timing results from 1-month benchmarks

Please see our GEOS-Chem supported platforms and compilers page for a user-submitted list of timing results from GEOS-Chem 1-month benchmark simulation. Several platform/compiler combinations are listed on this page.

--Bob Y. 10:57, 15 April 2010 (EDT)