Elamur Research

CPMIP: measurements of real computational performance of Earth system models in CMIP6

Paper · 2017 · V. Balaji, Éric Maisonnave, Niki Zadeh et al.

Summary

A climate experiment can take months to finish even when the simulation runs quickly once it has access to a supercomputer. It may spend time waiting for its next allocation, writing data for scientific analysis, or running components that finish at different times and have to wait for one another. The same experiment can also look fast in isolation while consuming enough computing time to leave little room for other runs. Balaji and colleagues propose the Computational Performance Model Intercomparison Project, or CPMIP, to measure these aspects of Earth system simulation in the settings where scientists actually run their experiments.

The paper distinguishes the speed of an individual simulation from the amount of simulation a research group can complete within a fixed allocation. It measures the former in simulated years per day and the latter through the cost of a simulated year in core hours. It also measures the pace of an experiment from its first job submission to the arrival of its final output, giving queue delays and interruptions a place in the accounting. Other metrics describe what the simulation represents, the hardware it runs on, the overhead of coordinating its components, its memory use, its data output, and its estimated energy cost. The authors design these measures around information that centers can normally obtain from run timings, job records, files, and hardware specifications.

The examples show why these measurements can lead to different decisions. On Gaea’s c2 partition, the CM4 configuration achieved 4.5 simulated years per day in speed mode at a cost of 16,000 core hours per simulated year. On c3, it achieved 10 at a cost of 7000. Meanwhile, the ESM2G throughput configuration ran at 26.4 simulated years per day during active execution but averaged 11.4 over the experiment. Gaps in the output timestamps led the authors to identify deliberate pauses in that run. A separate comparison found substantial coupling overhead in a high-resolution configuration, then used another pair of configurations to examine whether the apparent penalty could be attributed to resolution.

The results are preliminary comparisons across centers, machines, and configurations. The authors propose collecting the same measurements systematically during CMIP6, where common scientific experiments would make comparisons easier to interpret. The aim is to help centers estimate what they can afford to run, diagnose delays during production, and assess new hardware in terms of the scientific work it can support.

Deep dive: CPMIP: measurements of real computational performance of Earth system models in CMIP6

CPMIP measures how quickly Earth system simulations run, what they cost, and where delays arise during real climate experiments. · about 35 minutes to read

The problem and its context

Computing capacity shapes the experiment

An Earth system simulation represents interacting processes in the atmosphere, ocean, land, and ice. Scientists can use more computing capacity to represent those processes at finer resolution, to calculate processes that were previously prescribed, or to run more members of an ensemble. Each choice answers a different scientific need. Finer resolution can bring smaller-scale processes into view. More complexity can introduce interactions and feedbacks within the simulated system. More ensemble members can help scientists characterize how outcomes vary when they change the starting conditions slightly.

The ensemble is important because the system is sensitive to initial conditions. The paper traces that issue to Lorenz’s work on predictability. A collection of runs with perturbed initial conditions gives scientists a distribution of outcomes to examine. The amount of simulation that can be completed across the ensemble then matters directly. For an individual run that must finish before other work can begin, the relevant constraint is the completion time of that run. One computing allocation can therefore support phases of an experiment with different priorities.

Spinup illustrates the distinction. A climate simulation can begin in an idealized state and need a long integration before it supplies a near-equilibrium state suitable for starting further experiments. The spinup has to reach that point before the runs that depend on it can proceed. Afterward, multiple runs may be possible in parallel. The first phase favors reducing the elapsed time of a particular integration. For the later phase, the amount of simulated time that can be produced across many runs is frequently the better guide to how to spend the allocation.

The computer influences which scientific expansion is feasible. The paper gives the example of a fast interconnect supporting the communication that comes with finer resolution. A collection of more loosely connected computers can still be suitable for ensemble members that run independently. A system with adequate fast memory can help support configurations with many variables and instructions. Even before a run is submitted, a center has to judge whether its hardware can support the combination of resolution, complexity, and ensemble size the scientific question calls for.

What conventional benchmarks measure

Peak floating-point performance is a theoretical rate. It describes how much floating-point arithmetic the hardware could carry out per unit time if the relevant units were fully occupied and the available arithmetic concurrency were exploited. Keeping those units busy requires the application to supply work and data at the necessary pace. The paper treats sustained performance on a running program as a more practical measurement, then asks how much the choice of that program changes what the measurement tells scientists.

Linpack provided a shared program for comparisons among machines. It measures sustained performance on a linear algebra workload and became the basis for prominent supercomputer rankings. The paper recounts an early concern with using such a benchmark to characterize applications whose performance depends heavily on memory. Arithmetic units can spend time waiting for data even when the machine has substantial theoretical arithmetic capacity. STREAM addressed the importance of memory bandwidth, and the roofline representation brought memory bandwidth and computational intensity together as limits on performance.

Benchmark suites such as the NAS Parallel Benchmarks and the HPC Challenge Suite broadened the range of operations used to characterize a machine. They gave researchers ways to investigate effects such as memory bandwidth, cache behavior, and parallel arithmetic. The paper also discusses HPCG, which uses an elliptic solver to complement the Linpack-based measurement. It presents the gap between benchmark results and theoretical peak as a reason to be cautious when using peak ratings to project application performance, especially as machines move towards finer-grained parallelism.

These measurements help identify properties of the machine. A center planning a climate experiment needs related information at a different scale. It wants to know how long its simulation will occupy the system, how much output it will generate, how many runs fit within its allocation, and where an observed delay originates. A benchmark may illuminate a particular reason for poor performance. Answering the planning questions also requires observing what the complete application and its workflow do.

What changes when the components run together

An Earth system simulation contains components with different patterns of computation. The paper contrasts a land calculation with an atmospheric dynamical core. The land calculation can have many variables describing processes inside a cell and little dependence on neighboring cells. The dynamical core, which solves the equations of fluid motion, can use relatively few principal variables and still depend heavily on information from other cells. The first pattern can create a substantial local memory burden. The second can make communication a constraint on distributing the work.

Even dynamical cores vary. The paper describes the use of spectral methods, finite differences, finite volumes, and finite elements, on structured as well as unstructured discretizations. These choices affect how the computation is divided and how it exchanges information. A core can be a sensible target for optimization because of the work it performs. Its behavior on its own gives a partial view of the application that also computes radiation, clouds, or exchanges with the ocean.

The authors describe dynamical cores as generally exhibiting weak scaling. In this setting, more computing resources can make a larger problem feasible at a comparable rate of execution. Strong scaling asks how much faster the same problem finishes when it gets more resources. For a fixed discretization, the gains from adding resources can taper off. This matters to a climate center because running a finer configuration in a familiar amount of time and finishing the current configuration sooner are different outcomes. Adding local physical work can improve apparent scaling by increasing the work done on each parallel element, even as it adds to the work needed to produce the result.

A complete atmospheric component also carries many fields for physical processes in addition to the main variables of the dynamical core. The loads on threads and on memory can consequently change when the physical calculations are enabled. Beyond the atmosphere, codes for different parts of the Earth system may execute at the same time with their own processor layouts. The paper calls this coarse-grained concurrency. Other components can be scheduled in sequence. The variety of arrangements is also the subject of an earlier study the paper cites. The software architecture of climate models

When components execute concurrently, each may reach a point where it needs information from another. A component that arrives early can leave processors occupied while it waits. Furthermore, the software responsible for the exchange may have to transfer fields between independently chosen grids and respect constraints on the quantities passed between them. The best processor layout for an independently timed component can therefore differ from the layout that makes the coupled system efficient. The complete run has to account for the cost of the exchange and for the time that the allocation is held while some components are waiting.

What changes when the run becomes an experiment

Scientific output affects performance in different ways depending on how it is written. With synchronous input and output, the processors doing the integration can have to stop and write data. With asynchronous output, separate processors can handle writing while the integration continues. The second arrangement can reduce interruptions visible in an integration timer while still charging the experiment for the reserved processors. An experiment that produces many diagnostics also asks more of storage and can spend additional time moving or processing the data.

Climate integrations can extend over centuries or millennia of simulated time. Sustaining them can require a succession of jobs on a shared machine. Machine interruptions, queue policies, and the workflow that handles job continuation and output can all affect the final delivery date. The duration of active computation tells the user how fast the integration advances when it runs. The full elapsed duration tells the user how quickly the experiment actually produces its final history files.

That distinction also changes the type of diagnosis a performance observation supports. A scaling curve might tell a team that adding processors gives little improvement in integration speed. It says less about whether a different job size would fit the queue better, whether output handling delays subsequent jobs, or whether a pause was part of the scientific work. CPMIP takes the simulation, its resource allocation, and the experiment that surrounds it as distinct things to measure. The authors envisage using those records alongside conventional benchmarks and scaling studies.

The method, step by step

Start with the simulation being measured

A CPMIP record begins with a particular configuration on a particular platform. The configuration determines which components and variables are present and how finely their domains are represented. The platform record identifies the hardware on which the measurements were made. The run supplies another set of conditions, including how many cores were assigned, the purpose of the resource layout, and the diagnostics requested. A reader needs these details to tell whether a reported difference reflects a change in the calculation, in the machine, or in the way the experiment was run.

The authors separate characteristics that are largely fixed by the configuration from measurements that depend on the run. Resolution and the number of prognostic variables can be documented from the configuration itself. Integration pace needs a representative period of active execution. The actual pace of delivery needs a long record of jobs and output. Output cost and data intensity depend on the diagnostic requirements. The same configuration can therefore have a reusable description of its scientific workload and several different production performance records.

Collecting CPMIP measurements from a production experiment

The steps in order.

Collecting CPMIP measurements from a production experimentStep 1: Record component grids and prognostic variables1. Record component grids and prognostic variablesStep 2: Describe the machine and allocated cores2. Describe the machine and allocated coresStep 3: Identify the speed or throughput configuration3. Identify the speed or throughput configurationStep 4: Time a representative production segment4. Time a representative production segmentStep 5: Track submission and final output timestamps5. Track submission and final output timestampsStep 6: Account for coupling, memory, output, and energy6. Account for coupling, memory, output, and energyStep 7: Compare measurements under documented run conditions7. Compare measurements under documented run conditions

Describe the spatial resolution and the evolving state

Resolution begins with the number of independent spatial values represented by each component. In a conventional grid, this may be expressed as a count of grid points or cells. The method also accommodates numerical representations where the relevant count is the number of retained elements or coefficients. Subdivisions of a code that share the same discretization do not each imply a new independent grid. The component index identifies a part of the system with its own spatial representation.

G꜀ ≡ Nₕ × N𝓏

Here G꜀ is the number of spatial degrees of freedom of component c. Nₕ counts the horizontal degrees of freedom, and N𝓏 counts the vertical levels. The multiplication sign combines the horizontal and vertical counts, and ≡ indicates a definition. A conventional horizontal grid can obtain its count from the product of its dimensions. A spectral configuration can count retained spherical harmonic elements, while an unstructured finite-element configuration can use its horizontal element count.

G ≡ ∑꜀ G꜀

G is the total spatial resolution measure for the coupled system. The summation sign with index c adds the spatial counts G꜀ over the independently discretized components. The authors also ask for representative horizontal and vertical cell sizes in kilometers. A point count says how many spatial degrees of freedom the calculation handles. A representative spacing says something about the physical scale of the discretization, even when the grid spacing varies across the domain.

The paper defines complexity using prognostic variables. These are variables whose evolution the simulation maintains as part of its state. The authors prefer a count from the configuration or code. The count refers to the processes and options actually in use. A source tree can contain alternatives that are inactive in a given experiment, and two implementations of broadly similar processes can differ in the amount of code they contain. Counting lines of source would give those differences an influence on the reported complexity.

If a direct count is unavailable, the authors suggest estimating it from the amount of state saved in a restart file. A restart file stores the information needed to resume the simulation. In the byte-based form for double precision, the estimate is:

V꜀ ≡ S꜀ / G꜀ / 8

V꜀ is the estimated number of prognostic variables for component c. S꜀ is the size in bytes of the stored state for that component, and G꜀ is its spatial count. The slash means division. The 8 converts bytes to words when each stored value occupies 8 bytes. If the size is already expressed in words, the conversion has already been applied. The interpretation is that the file represents a complete state, with one stored value per spatial degree of freedom for each counted field.

That interpretation is sensitive to the time-stepping scheme. A restart file for a leapfrog scheme, for example, can need the current and preceding states to restart correctly. The file can then contain more stored values than the count of distinct evolving variables would suggest. Intermediate copies can also inflate an estimate if they are included in the size used. A maintainer who can identify the active variables directly can avoid basing the complexity count on assumptions about the restart representation.

V ≡ ∑꜀ V꜀

V is the configuration-wide complexity count, V꜀ is the count for component c, and ∑꜀ adds the counts across components. The paper also uses C as a name for this overall complexity in its discussion. It uses C again in the coupling formula for a different quantity. The aggregate complexity tells the reader how many prognostic variables the coupled configuration contains. It gives the same weight to a variable on a small grid as to one on a large grid.

F ≡ ∑꜀ G꜀ V꜀

F is the total represented state count in the paper’s factorization. For each component c, G꜀ is the spatial count and V꜀ is the prognostic-variable count. The adjacent terms are multiplied within the component, then the products are summed. This keeps each set of variables paired with the discretization on which it lives. Reporting spatial resolution and complexity separately lets the reader see whether a large state count comes mainly from finer grids or from more evolving fields. The factorization says how much state is represented. The amount and kind of work performed on that state depend on the numerical methods and simulated processes.

Record the machine and choose the performance objective

The platform description identifies the machine and its chip and gives the number of cores, the clock frequency in GHz, and the theoretical maximum number of double-precision operations in a single clock cycle. The authors call the last quantity clock-cycle concurrency. Machine and chip names help identify configuration details, including those relating to memory and the file system. The paper recognizes that a core is an imperfect unit of comparison across hardware. It remains a unit that centers can commonly report and that frequently figures in how an allocation is charged.

The number of cores available on the platform and the number allocated to a given run serve different purposes. The machine description characterizes the available system. The run description records the portion consumed by the experiment. A job may be charged by complete nodes, with all cores on the assigned nodes counting against the allocation. A metric intended to reflect that allocation takes the charged cores into account, even if some carry no application work.

The authors distinguish speed mode, or S-mode, from throughput mode, or T-mode. Speed mode favors the layout that achieves the greatest rate of simulation for a single instance. Throughput mode favors the layout that spends the fewest core hours for each simulated year. As processors are added, the simulation may continue to speed up even after the added cores begin to cost more than the shorter runtime saves. A center can use a scaling study to locate the useful layouts, then retain the distinction when it records production measurements.

Time active execution and elapsed delivery

Simulated years per day, abbreviated SYPD, measures how much simulated time the coupled system advances per 24 h of active execution. The authors prefer timings from a segment of a production run, typically covering at least a month of simulated time and often 1 or more years. Startup and shutdown can take an unusually large share of a short test. A long enough segment makes the timing more representative of repeated integration and its usual output load. The paper calls for measuring SYPD separately for speed and throughput modes.

Core hours per simulated year, or CHSY, measures the cost of producing that simulated year in terms of the charged compute allocation. The measurement multiplies the active runtime in hours for a simulated year by the number of allocated cores. The definition includes the time a reserved core spends waiting inside the job. This is why a run can achieve a higher SYPD at a higher CHSY. The first metric reflects the rate at which an individual run advances, and the second reflects the price paid for that advance in the shared resource budget.

Nₚ = CHSY × SYPD / 24

Nₚ is the number of allocated cores. CHSY is core hours per simulated year and SYPD is simulated years per day of active execution. Multiplying the rates gives core hours per day, and dividing by 24, the number of hours in the reporting day, returns the core count. The equals sign expresses the relationship among measurements taken for the same configuration and run conditions. Applying it to a long-run rate that includes time outside the allocation would mix the two clocks used by the paper.

The second clock begins at submission of the first job and ends when the final history file arrives on the storage file system. A history file holds the simulation output used for analysis. That endpoint makes the delivered output part of the measurement. The authors call the resulting measure actual simulated years per day, or ASYPD, and again distinguish speed and throughput configurations.

ASYPD ≡ N / (tₙ − t₀)

ASYPD is the experiment’s average simulated years delivered per elapsed day. N is the run length in simulated years. t₀ marks submission of the first job, and tₙ is the timestamp of the history file for simulated year N. The minus sign takes the difference between the timestamps, which is expressed in days for this metric. The parentheses group that elapsed duration as the denominator. The result incorporates intervals between jobs and any pauses that fall before the final measured delivery.

When the active rate is substantially higher than the delivery rate, the difference indicates that the integration timer accounts for only part of the experiment’s duration. The timestamps establish how much the full workflow matters to the result. Scheduler records, run logs, or a closer look at the history files are needed to identify what filled the intervening time. This allows the same basic metric to flag workflow trouble across centers that may use different schedulers or production systems.

Convert allocated compute time into an energy estimate

For energy, the authors use records that a center can obtain at machine level. Over a shared budgeting interval, they take the platform’s total energy use and its available aggregate core hours. The aggregate hours, denoted by A, are the machine’s total core count multiplied by the interval T in hours. The energy total E is measured over that same interval and expressed in joules. In the paper’s examples, the platform energy can include infrastructure such as cooling and disks.

JPSY ≡ CHSY × E / A

JPSY is the estimated joules per simulated year. CHSY is the run’s core-hour cost per simulated year, E is the platform energy in joules over the budgeting interval, and A is the aggregate core hours of the platform over that interval. E / A assigns a common energy cost to a core hour on the platform. Multiplication by CHSY applies that average to the computing allocation needed for a simulated year.

For runs sharing the same machine averages, the estimated energy cost moves with CHSY. Across platforms, the energy assigned to a core hour can differ. The paper discusses direct measurement as a possible successor to this estimate. Its proposed actual joules per simulated year, or AJPSY, would reflect energy used by the simulation and its workflow, including data movement and storage. The paper relates that goal to earlier work on energy to solution and treats routine fine-grained metering as a prerequisite for putting the more detailed measure into use.

Account for coupling and waiting

The coupling calculation compares the resource cost of the coupled job with the resource cost of its component calculations. Imagine a diagram with processors across the page and elapsed time down the page. The complete job occupies an enclosing rectangle. Inside it are regions where particular components are executing. A component that finishes early can leave an unoccupied part of the rectangle while it waits for a dependent component. The enclosing job still carries that resource cost.

C ≡ (Tₘ Pₘ − ∑꜀ T꜀ P꜀) / (Tₘ Pₘ)

C is the coupling overhead as a fraction of the whole job’s processor-time. Tₘ is the wall-clock runtime of the coupled system and Pₘ is its processor allocation. Their product is the resource cost of the enclosing rectangle. For component c, T꜀ is the timed component execution and P꜀ is its processor allocation. The sum adds the component processor-time products. Subtracting that sum leaves the processor-time outside the timed component work, and dividing by the complete processor-time makes the result a fraction of the allocation.

The authors propose placing basic timers around component work so that waiting is excluded from the component time. This matters because a profiler can assign time to a coupling routine even while it is waiting for another component. At the same time, the coupler may be doing work of its own, such as conservative interpolation or a conversion of units between components. The metric includes coupling work and load imbalance together. It is intended to be collectable across applications that draw the boundary between those activities in different ways.

Measure memory relative to the saved state

The memory measure uses the complete saved state as a reference size. The argument is that the state is the minimum information needed to describe the evolving system, while other data used during execution can in principle be derived from it. Programs hold extra data for reasons that include efficiency, numerical requirements, and output handling. The metric gives those allocations a common basis for comparison.

Mᵢ ≡ ∑꜀ S꜀

Mᵢ is the idealized state-size reference for memory. S꜀ is the saved state size of component c, and the sum adds those sizes across components. The sizes here use the same units as the runtime memory reading. The reference includes as much state as is counted by the saved representation. Its interpretation therefore depends on what the restart files actually retain.

B ≡ (M − Nₚ × X) / Mᵢ

B is the dimensionless memory bloat ratio. M is the measured runtime resident memory for the run, Nₚ is the core count, and X is the executable footprint used for the instruction-size correction. The expression Nₚ × X estimates that footprint across the allocated cores. The numerator subtracts that estimate from the measured resident memory, and division by Mᵢ expresses the result in units of the reference state size. The resident set size describes memory occupied during execution. CPMIP uses its high-water mark, the peak reported by the system.

The instruction correction assumes copies of executable code are resident across the processing elements. Paging or sharing can make the estimate too large, so the authors call for care in applying it. A job’s end report can supply its memory high-water mark. The paper also makes available memuse.c, a small routine that reads resident memory on a processing element under a Linux-based operating system.

An example with halos explains why even a carefully designed calculation uses more memory than the state-size reference. A halo stores nearby values from neighboring domains so that a process can work near the edge of its own assigned region. For a 20 × 20 region and a halo of width 2 along each horizontal dimension, the paper gives an array area of 576 with the halo and 400 without it, a factor of 1.44. For a 10 × 10 region, the corresponding areas are 196 and 100, producing a factor of 1.96. With the smaller region, the halo occupies more space relative to the interior. The paper contrasts that increase with the much larger memory growth that can arise from keeping global arrays as the domain is distributed over more processing elements.

Measure output cost and data intensity

For synchronous output, the proposed comparison uses an ordinary production run and a corresponding run with diagnostic output disabled. The difference in CHSY captures the resource cost associated with enabling that work. The paper expresses it as a fraction of the cost of the normal run.

D ≡ (CHSY − CHSY(no I/O)) / CHSY

D is the fractional data-output cost. CHSY is the core hours per simulated year with the regular output enabled, and CHSY(no I/O) is the corresponding cost with that output disabled. The minus sign isolates the additional measured cost, and division by the regular-run cost gives its share of the total. If enabling diagnostics also enables calculations that prepare the output, the comparison can include those calculations along with the writing.

When output runs asynchronously, a separate pool of processors can be assigned to the output server. The paper suggests using the allocation of that pool as a simpler way to characterize output cost where a paired run is unavailable. Its displayed expression for this case is:

D ≡ (Pₘ − P(I/O)) / Pₘ

Here Pₘ is the complete processor allocation and P(I/O) is the allocation for asynchronous input and output. The subtraction leaves the allocation outside the output server. The division expresses that remainder as a share of the whole. There is a discrepancy between the description of the server’s allocation share and the expression as printed, which gives its complement. Interpreting an asynchronous result thus requires knowing which share was reported. The authors also favor the paired comparison when diagnostics add computation and point out that the accounting should reflect whole nodes when those are the units actually charged.

Data intensity addresses the volume of output per unit of compute allocation. The paper obtains the data volume per simulated year from the experiment’s output directories and divides it by CHSY.

Data intensity ≡ (GB per simulated year) / CHSY

GB denotes gigabytes of output, and CHSY is the core hours needed for a simulated year. The division gives gigabytes per compute hour, reported as GB/CH. This metric characterizes the data burden relative to the computing burden. Absolute output volume answers a storage question, while data intensity helps relate file-system needs to the amount of compute capacity used.

Together, these records can be collected at several points of the same experiment. The configuration provides the spatial and state counts. The allocation and platform records describe the hardware. Timers provide integration and component measurements, while scheduler and file timestamps describe delivery. Runtime records and output directories provide memory and data information. The paper’s examples use this procedure with existing runs and selected comparisons, and the authors make the underlying data for their tables and figures available in raw form.

Experiments and results

What was compared

The study brings together measurements from several modeling centers using configurations that differ in resolution, complexity, machine, and mode of operation. It illustrates the metrics with settings including GFDL’s CM2.6 and ESM2G, as well as configurations such as EC-Earth3.2 and HadGEM3-GC2. The primary comparison is between production performance records. There is no single common scientific task, train and test split, or leaderboard baseline. Particular analyses use their own reference condition, such as the same configuration in throughput mode, the same code on older hardware, or a corresponding run with diagnostic output disabled.

The main table reports available combinations of spatial resolution, complexity, active rate, core-hour cost, coupling, output cost, data intensity, memory, realized rate, and platform. Some measurements are absent. The energy analysis adds monthly platform energy and aggregate core hours to estimate energy per simulated year. A hardware comparison separately holds the CM4 configuration fixed while comparing runs in both modes on Gaea partitions. This separation makes it possible to distinguish what the heterogeneous survey suggests from what the narrower hardware comparison directly observes.

Active speed and the cost of a simulated year

A scaling study of the GFDL c96l32 configuration on c3 illustrates why the paper records both modes. The run can reach 50 simulated years per day, while the choice for best use of an allocation is around 35 simulated years per day. The paper reports that the throughput setting uses 1200 processors, compared with 1600 for the faster setting. The higher rate is useful when a particular integration is on the schedule’s critical path. The lower core-hour cost is useful when the group wants to produce a larger total amount of simulated time with its available allocation.

The same pattern appears in the CM2.6 measurements on gaea/c2. The speed configuration achieves 2.2 SYPD and costs 2.12 × 10⁵ core hours per simulated year. The throughput configuration achieves 1.1 SYPD and costs 1.81 × 10⁵ core hours per simulated year. The paper describes the slower configuration as the normal production choice. For this example, a faster completion time for an individual integration comes with a higher total charge for each simulated year.

The ESM2G pair shows how the choice can change over the life of the same scientific project. On gaea/c1, speed mode reaches 36.5 SYPD and throughput mode reaches 26.4 SYPD. Speed mode suits the spinup, when the immediate need is to obtain a state from which subsequent experiments can begin. Throughput mode lowers the number of core hours spent per simulated year and is the usual choice after that. The comparison establishes the resource tradeoff in these settings. It does not assign the same value to a day saved during spinup and a core hour saved during an ensemble.

ESM2G production modes on gaea/c1 by core hours per simulated year

Throughput mode uses fewer core hours for each simulated year.

ESM2G production modes on gaea/c1 by core hours per simulated yearESM2G speed mode: 279ESM2G speed mode279ESM2G throughput mode (this paper): 235ESM2G throughput mode (this paper)235
The numbers
System or settingcore hours per simulated year
ESM2G speed mode279
ESM2G throughput mode (this paper)235

Resolution and complexity in the multicenter records

The authors examine a subset of throughput configurations in a plot of spatial resolution against simulated years per day. Each point carries a visual indication of complexity. The broad relationship is that higher spatial resolution goes with fewer simulated years per day, with substantial scatter. The scatter is expected because the records include different codes and machines. The size of the represented state also varies because configurations with similar spatial counts can carry different sets of prognostic fields.

The paper contrasts atmosphere–ocean general circulation configurations with Earth system configurations that add processes involving chemistry and carbon. The former tend to occupy the less complex part of the comparison. The authors expect groups of similar complexity and comparably performing hardware to make the resolution relationship clearer. A point with unusually low throughput relative to such peers could motivate an investigation of whether the code or platform is performing poorly. The current result supports using the plot to look for candidates for investigation. The mixed workload leaves the expected pace for an individual configuration uncertain.

The CM2.6 and ESM2G examples illustrate the importance of keeping the two workload descriptors in view. In the main table, CM2.6 is listed with a spatial count of 4.9 × 10⁸ and complexity of 18 prognostic variables. ESM2G is listed with a spatial count of 3.9 × 10⁶ and complexity of 63. The much larger grid count belongs to the configuration with the smaller prognostic-variable count. A comparison drawn only from the count of variables would miss the scale of the discretization, while a comparison drawn only from the grid count would leave out the additional evolving processes.

Coupling, memory, and scientific output

Coupling overhead varies markedly with configuration and mode. The authors compare the lower-resolution ESM2G and higher-resolution CM2.6, which are built from the same modeling system. In their discussion of the speed runs, they describe coupling cost rising from 1 to 25 % across that pair. For throughput, they describe a rise from 25 to 62 %. Their follow-up on the high-cost CM2.6 configuration points to scope for better load balance. A second pair, CM4H and CM4L, gives a different ordering, with lower coupling overhead in the configuration with the finer ocean. The full comparisons are therefore more informative about the diagnosis of a particular configuration than about a general resolution penalty.

The memory results motivate use of a normalized ratio. The paper describes memory bloat values on the order of 10 − 100 relative to the idealized state size. The ratio can be large because the saved state excludes many arrays and buffers that make the computation practical. Its interpretation depends on the reason for the additional memory. A large value could reflect decomposition, diagnostics, temporary data, or the way the implementation stores arrays. The measurement is useful for finding cases to examine because the comparison has already accounted for the size of the represented state.

The output comparison measures the cost of running with scientific diagnostics against a run with that diagnostic output disabled. In its discussion, the paper gives examples ranging from 6.5 % in low-resolution configurations to 24 % at high resolution. The high-cost example is CM2.6, whose eddy-resolving ocean is accompanied by frequent output used to study eddy statistics. The result pertains to that combination of calculation and scientific output. A different diagnostic schedule could change the fraction even on the same grid.

The authors describe data intensity as tending to fall as resolution rises and to grow with complexity in their sample. This is a statement about output divided by compute cost. A finer configuration could have a lower rate in GB/CH because computation becomes more expensive relative to its output. The metric alone leaves the absolute volume of files open. Reading the data volume and its compute-normalized counterpart together gives a clearer picture of what a center needs to store and how storage demand relates to the computing installation.

The gap between a running job and a delivered experiment

The ESM2G throughput case gives a clear example of what the second clock captures. The main table reports 26.4 SYPD during active execution and 11.4 ASYPD over the experiment. The team considered several sources of the gap. Workflow delays could arise when transferring or post-processing output. Queue waits could introduce gaps between successive jobs. Scientists could also stop and resume the run for their own reasons.

Inspection of the history files revealed substantial breaks in their timestamps at several points in the experiment. The authors identified deliberate pauses in this case. The active integration metric continued to describe what the system did during execution. The elapsed metric described what was delivered over the full interval, including the decisions that interrupted it. The observation identifies the value of inspecting both records before deciding where to direct a performance investigation.

A matched comparison on Gaea

The hardware comparison uses the developing CM4 configuration at a reported spatial resolution of 1.2 × 10⁸ on both gaea/c2 and gaea/c3. The older partition uses Interlagos processors rated at 3.6 GHz and a Gemini interconnect. The newer uses Haswell processors rated at 2.3 GHz and an Aries interconnect. The platform table reports clock-cycle concurrency of 4 for c2 and 16 for c3. The individual clock rating therefore captures only one part of the hardware change.

CM4 on Gaea c2 and c3 in both modes by simulated years per day

The newer partition delivers a higher active simulation rate in both modes.

CM4 on Gaea c2 and c3 in both modes by simulated years per daygaea/c2 throughput mode: 3.5gaea/c2 throughput mode3.5gaea/c2 speed mode: 4.5gaea/c2 speed mode4.5gaea/c3 throughput mode: 7.5gaea/c3 throughput mode7.5gaea/c3 speed mode (this paper): 10gaea/c3 speed mode (this paper)10
The numbers
System or settingsimulated years per day
gaea/c2 throughput mode3.5
gaea/c2 speed mode4.5
gaea/c3 throughput mode7.5
gaea/c3 speed mode (this paper)10

The core-hour measurements add a second comparison. On c2, CM4 costs 15,000 core hours per simulated year in throughput mode and 16,000 in speed mode. On c3, the cost is 7000 core hours per simulated year in both layouts. The observed increase from 7.5 to 10 simulated years per day on c3 thus accompanies an unchanged cost at the precision reported in the table. The c2 pair shows an increase in cost when the team chooses the faster layout. The authors take the c3 result as evidence of improved scaling and connect it to the newer interconnect.

The paper reports a core-for-core speedup of 2.2X for the newer machine. It then considers the different question of total capacity. The newer partition has fewer cores, and the authors estimate that c3 provides about 87 % of the capacity of c1 and c2 combined for the GFDL workload. The paper gives theoretical ratings of 1.77 PF for c3 and 1.12 PF for c1 and c2 combined. The peak arithmetic ratings and the workload estimate place the systems in different orders. The result matters for a center whose decision depends on how much aggregate science it can produce over an allocation cycle.

Energy per simulated year

For the energy estimates across centers, the authors report that the sampled platforms have fairly similar energy profiles and that much of the variation in estimated energy cost follows CHSY. The budgets provide a way to put compute use into energy terms, but each run inherits the energy-per-core-hour average for its platform. This qualifies what can be learned from comparing configurations on the same machine and makes differences in machine averages important when the hardware changes.

For the CM4 hardware comparison, the c2 speed and throughput estimates are 8.92 × 10⁸ and 8.36 × 10⁸ joules per simulated year, respectively. On c3, both are reported at 3.40 × 10⁸ joules per simulated year. The paper describes the migration as bringing a 60 % decrease in JPSY. The authors attribute it partly to reduced core-hour use and in part to the energy characteristics of the platform. The estimates connect a purchase or operating decision to the energy cost of producing simulated time, while retaining the accounting assumptions of the platform-average method.

What the ablations show

The paper contains no formal ablation series. It does offer comparisons that vary the run mode, disable diagnostic output, change the hardware for the same code, or examine an apparent coupling effect against another configuration pair. These comparisons have different degrees of control. Changing an output setting can give a paired cost estimate. Comparing across a suite of production runs is better suited to detecting a pattern worth investigating.

Disabling diagnostics estimates a workload-specific cost

The comparison with diagnostic output disabled is the closest thing in the paper to removing one part of the workload and measuring the consequence. With the ordinary run as the reference, the paired comparison estimates how much core-hour use is attributable to producing the requested output. The large CM2.6 result has a specific scientific explanation in the study. Its high-frequency output supports the examination of ocean eddies. That makes the diagnostic requirement part of the explanation for the observed cost.

What the comparison isolates is the contribution of the enabled output workload as a whole. Calculations needed to prepare a diagnostic may stop along with the writes. The metric can therefore guide a center’s planning for that experiment even when it leaves the separate costs of data preparation and file access unresolved. For asynchronous output, the assigned server resources give a cheaper approximation to collect. A production pair can capture effects beyond the server reservation itself.

Changing resource layouts separates urgency from capacity

Comparing speed and throughput configurations changes the processor layout while pursuing the same simulation. This makes the comparison relevant to choosing how to run an experiment. The CM2.6 and ESM2G measurements show that a layout with a shorter time to solution can cost more core hours per simulated year. The c96l32 scaling example also shows why a center can settle on a point where the run still benefits from extra processors but the return in throughput per allocation has started to diminish.

The matched CM4 comparison shows that this tradeoff depends on the platform. The c2 layouts differ in their measured core-hour cost. The same metric for the c3 layouts is reported at the same value even as the active simulation rate changes. This is evidence about the attainable layouts on each platform for CM4. Because processor, network, and other platform properties change together, the comparison assesses the systems as used by the application. The authors’ explanation involving the interconnect is a hardware interpretation of that combined change.

Checking a second resolution pair changes the coupling diagnosis

The ESM2G and CM2.6 comparison first raises the possibility that the overhead of coupling rises as the grid gets finer. That inference would be tempting because the configurations come from the same modeling system. The coupling measure, however, includes both time spent coordinating components and the cost of holding processors that are waiting. A layout that is poorly balanced can therefore produce the same kind of increase as a more expensive exchange algorithm.

The authors report that it is particularly hard to balance the components at lower processor counts when each component permits only certain layouts. They also note that the work can change with conditions in the simulation, giving convective activity as an example. Their closer look at the CM2.6 case suggested that a better configuration could have reduced the observed overhead. The comparison between CM4H and CM4L supports questioning a general resolution explanation, because the higher ocean resolution comes with lower coupling cost in that pair.

These observations leave open how the interpolation or exchange routines scale in isolation. Their direct result is that the combined cost can change direction across configuration pairs. The metric can make a poorly balanced setup visible during production preparation, when a center still has a chance to experiment with the layout. A diagnosis of the underlying cause needs the follow-up inspection that the authors describe.

Output timestamps help explain a gap in delivered performance

The comparison between ASYPD and SYPD varies the measurement boundary instead of the simulation. It takes the same scientific work and asks how quickly it advances during active jobs and how quickly it is delivered across the whole experiment. The ESM2G example shows why the latter is a diagnostic trigger as well as a planning figure. The gap draws attention to periods the integration timer has no reason to record.

The timestamps provide the additional evidence that separates this example from a generic claim about slow queues or workflow software. Investigators could see intervals between history files and trace the discrepancy to pauses. The same measured gap on another run might have a different cause. The distinction between flagging a delay and establishing its origin is part of what makes the proposal usable across installations.

Limitations

Limits the authors state

The authors describe the multicenter results as preliminary. The measurements come from different configurations, platforms, and experiments, and the table has missing entries. For a comparison intended to identify differences among Earth system configurations, the authors favor collecting records from the same scientific experiment. A common protocol would make it easier to interpret a difference in throughput, data production, or memory use. A broader set of records would also let researchers restrict a comparison to a platform or to a group with similar complexity.

Several metrics change with the experiment. Output cost and data intensity depend on the diagnostics requested. Actual simulated years per day depends in part on conditions prevailing on the machine during the run, which is why the authors ask for a long production interval. A long measurement helps represent the sustained experience of running the experiment. Deliberate pauses can still be a substantial part of that experience and can require separate explanation when the data are used for planning.

The authors also identify assumptions behind the state and memory measures. A restart file can contain multiple time levels of a variable or other copies, which makes file size an uncertain substitute for a count of prognostic fields. The ideal memory size is a normalization reference. Scientific calculations need additional storage for things such as halos and the accumulation of averages, and system buffers can add memory outside an application developer’s direct control. The instruction-size correction also depends on how the system maps and shares executable code.

The energy measure assigns an average machine cost to each core hour. The authors see value in that approximation for machine comparison, especially where detailed metering is unavailable. They identify a more complete goal in actual energy measurement across computation, data movement, and storage. The study’s JPSY estimates give a basis for comparison while leaving the energy footprint of a particular job and its surrounding workflow unresolved.

Limits that follow from the comparisons

The measured relationship between resolution and throughput gives an empirical description of the surveyed configurations. Establishing a scaling relationship for a specific numerical method would require holding more of the workload fixed. Changes in grids may change the time resolution, the communication load, or the practical processor layout. Changes in complexity can bring different kinds of calculations with unequal computational and memory costs. The metrics give those comparisons better descriptors without reducing the work to a common operation of fixed cost.

Likewise, the CM4 study assesses a hardware change experienced as a package. It holds the application configuration steady and reports outcomes directly relevant to the center. A separate estimate of the network contribution would require a comparison that could vary the network independently of the processor and other platform changes. The aggregate capacity estimate also has the scope the authors give it, the GFDL workload. A center with other configurations or different resource layouts would need corresponding observations.

Coupling cost combines potentially distinct causes by design. A high fraction can justify inspecting component timing and processor assignments, but the fraction alone leaves open whether the main cost is interpolation, synchronization, or an uneven component layout. Memory bloat has a similar diagnostic scope. A ratio describes how far runtime memory lies above the chosen state reference, while understanding the allocation requires knowledge of what the program stores and why. The ambiguity in the printed asynchronous I/O expression is a separate issue of comparability, since the server share and the share left after subtracting it carry opposite meanings for that accounting.

Finally, a simulated year is a unit of computational production within a stated experiment. The paper’s measurements do not establish equivalent scientific quality across simulations that generate the same number of years, nor do they assign a common scientific value to higher resolution, additional processes, or a larger ensemble. The same caution applies to interpreting a low energy cost per simulated year. Scientific suitability for the experiment remains a condition of the comparison.

What came after

The paper sets out a plan to collect CPMIP records routinely during CMIP6 through ES-DOC. The proposed collection would put measurements from different centers alongside shared experiment descriptions. It would also make subsets of more comparable runs available, for example by letting investigators examine results from similar platforms or configurations. The authors further propose an emulator backed by the resulting database to help centers anticipate how a configuration might perform on a machine used elsewhere.

The authors also envisage extensions after the basic metrics have been collected. Direct energy metering could give a more complete account than the machine-average allocation. Project-specific measures could capture the time and computation required to standardize output for CMIP, an activity whose cost matters to the data producer even though the standardized files benefit users. These are directions proposed in the paper. Subsequent studies implementing or testing them are undocumented here.

Cite

Cite as V. Balaji, Éric Maisonnave, Niki Zadeh, Bryan Lawrence, Joachim Biercamp, Uwe Fladrich, Giovanni Aloisio, RUSTY BENSON, Arnaud Caubel, J. Durachta, Marie‐Alice Foujols, Grenville M. S. Lister, Silvia Mocavero, Seth D. Underwood and Garrett Wright. 2017. CPMIP: measurements of real computational performance of Earth system models in CMIP6. Geoscientific model development.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.5194/gmd-10-19-2017

@inproceedings{balaji2017cpmip,
  title = {{CPMIP: measurements of real computational performance of Earth system models in CMIP6}},
  author = {V. Balaji, Éric Maisonnave, Niki Zadeh, Bryan Lawrence, Joachim Biercamp, Uwe Fladrich, Giovanni Aloisio, RUSTY BENSON, Arnaud Caubel, J. Durachta, Marie‐Alice Foujols, Grenville M. S. Lister, Silvia Mocavero, Seth D. Underwood and Garrett Wright},
  booktitle = {Geoscientific model development},
  year = {2017},
  doi = {10.5194/gmd-10-19-2017},
  url = {https://doi.org/10.5194/gmd-10-19-2017}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/balaji-2017-cpmip-measurements-real-computational-performance/