Policy
Simulation
Group

Pension Projection Models

Key Feature: Fast Running

While the input specification and output analysis ease-of-use features make the PSG models fast to use, they are also fast when executing a run (that is, reading the input databases, performing the requested simulation, and writing the output files). The execution time of a run can vary substantially depending on the nature of the run and on the kind of computer running the models.

The PSG models are designed to take advantage of multi-core computers when operating in OLC mode and when executing stochastic (multi-scenario) runs in ESP mode or RCS mode, so run times will fall substantially in coming years as standard computers have increasingly many cores.

Execution times for several types of runs are described below, followed by notes on how distributed-processing techniques are used to achieve massive speedups by running the Linux version of the PSG models on many cloud-computing servers that can be rented inexpensively by the hour.

The following execution times are for PSG model runs that use 2009 Trustees Report intermediate-cost and other baseline assumptions and that execute under Windows 7 on a Dell Studio XPS 435MT computer equipped with one quad-core, hyper-threaded Intel i7-920 chip running at 2.66 gigahertz. This computer is equipped with a SATA disk drive rotating at 7200 RPM and with six gigabytes of RAM, which is far more memory than needed by the PSG models even when eight threads of execution are being used in an OLC mode run.

A single-scenario, non-stochastic CBA mode run executes in less than one second.

A stochastic CBA mode run, which simulates 1000 macro scenarios and uses the standard 75 year social security actuarial test period executes in about 0.9 minutes.

A single-scenario, non-stochastic OLC mode run, which generates a one-in-a-thousand sample for each of 151 cohorts born since 1935 and uses the standard 75 year social security actuarial test period, executes in about 2.8 minutes, with the execution time split about evenly between pension and social security benefit calculations. This execution time is for an OLC run that simulates eight birth cohorts simultaneously.

A single-scenario ESP mode run, which generates a two percent sample of the 1995 birth cohort, simulates employer-sponsored pensions but not social security, and writes detailed pension output, executes in about 1.6 minutes. Note that the two percent sample excludes the spouses of sample individuals, so the total number of life histories simulated is more than twice as many as the 120,000 sample individuals included in the output files.

A single-scenario RCS mode run, which generates a two percent sample of the 1995 birth cohort, simulates current-law-policy social security as well as pensions, and writes detailed benefit output, executes in about 2.6 minutes.

Stochastic runs take proportionately longer, so stochastic OLC mode runs will require many hours to execute even on an eight-core computer. Experience has shown that analytically useful stochastic ESP and RCS mode runs can be specified using a modest per-scenario sample size that implies run times of only about an hour.

These run execution times are very fast relative to other models that simulate U.S. pensions and social security. Most users will find run execution speed to be no problem when using the PSG models.

The problem of long stochastic OLC mode run times, plus the unusual need of one model user to execute from several hundred to a few thousand runs at a time, led to the development in early 2008 of a Linux version of the PSG models and in 2009 of the AWS Toolkit, which together allow stochastic runs to be executed in pieces simultaneously on many Amazon Web Services (AWS) computers. Using this distributed-processing approach with 25 eight-core AWS computers, each of which rents for $0.68 per hour, a stochastic OLC mode run with 500 scenarios can be executed in one hour.

Other key features.


This page was last revised on September 1, 2010.