Skip to content

tstenborg/Stan-Overclocking-Benchmarker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stan-Overclocking-Benchmarker

Benchmarking Stan under Dynamic Overclocking with ThrottleStop.


Example runtimes for Stan's Bayesian inference with and without system overclocking.

Figure 1. Example runtimes for Stan's Bayesian inference with and without system overclocking. Inference of type Ia supernovae cosmological parameters was used as an example problem. Runtime variance was lower under overclocking. Hyperthreading was counterproductive. Execution configurations, moderated by ThrottleStop, were...

   Top (left) overclocking, physical cores, (right) no overclocking, physical cores.
   Bottom (left) overclocking, logical cores, (right) no overclocking, logical cores.

Adapted from Stenborg (2025), below.


Key Files

  • StanOverclockingBenchmarker.Rmd    R markdown. Incorporates Stan's R interface, RStan.

Software Requirements

  • Ghostscript 10.00.0.
  • PowerShell.
  • R.
  • R IDE, e.g., RStudio.
  • ThrottleStop (recommended).
  • Windows 11.

Ghostscript    The code was not designed for use with Ghostscript more recent than version 10.00.0.

PowerShell    Typically installed by default in Windows 10 and 11.

ThrottleStop    The code was designed for use with ThrottleStop, but will run without it.

Windows    The code was designed for Windows 11. It may run on Windows 10.

Software Configuration

Admin Execution    The code is designed for execution with administrator privileges, i.e. RStudio was invoked via the Windows "Run as administrator" option.

Ghostscript    It's assumed Ghostscript is available on the system, and an invocation path has been set in the RStudio environment variables "GS_CMD" and "R_GSCMD", i.e., the path to a relevant executable such as "gswin64c.exe".

Stan    Please ensure the RStan package is installed in R. It's assumed R and RStudio have been configured to enable execution of RStan code. For more information, see: The R Interface to Stan.

Reference

Stenborg, TN 2025, "Benchmarking Stan under Dynamic Overclocking with ThrottleStop", in S Gaudet, D Bohlender, S Gwyn, A Hincks, and P Teuben (eds), Astronomical Data Analysis Software and Systems XXXII, Astronomical Society of the Pacific Conference Series, vol 538, pp. 265–268.

About

Benchmarking Stan under Dynamic Overclocking with ThrottleStop.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages