Skip to main content

Pangeo IO benchmarking package

Project description

Benchmarking

Benchmarking & Scaling Studies of the Pangeo Platform

Creating an Environment

To run the benchmarks, it's recommended to create a dedicated conda environment by running:

conda env create -f ./binder/environment.yml

This will create a conda environment named pangeo-bench with all of the required packages.

You can activate the environment with:

conda activate pangeo-bench

and then run the post build script:

./binder/postBuild

Benchmark Configuration

The benchmark-configs directory contains YAML files that are used to run benchmarks on different machines. So far, the following HPC systems' configs are provided:

$ tree ./benchmark-configs/
benchmark-configs/
├── cheyenne.yaml
└── hal.yaml
└── wrangler.yaml

In case you are interested in running the benchmarks on another system, you will need to create a new YAML file for your system with the right configurations. See the existing config files for reference.

Running the Benchmarks

from command line

To run the benchmarks, a command utility pangeobench is provided in this repository. To use it, you simply need to specify the location of the benchmark configuration file. For example:

#  running a weak scaling analysis
./pangeobench benchmark-configs/cheyenne.readwrite.yaml
#  running a strong scaling analysis
./pangeobench benchmark-configs/cheyenne.write.yaml
./pangeobench benchmark-configs/cheyenne.read.yaml
$ ./pangeobench --help
Usage: pangeobench [OPTIONS] CONFIG_FILE

Options:
  --help  Show this message and exit.

Running the Benchmarks

from jupyter notebook.

To run the benchmarks from jupyter notebook, install 'pangeo-bench' kernel to your jupyter notebook enviroment, then start run.ipynb notebook. You will need to specify the configuration file as described above in your notebook.

To install your 'pangeo-bench' kernel to your jupyter notebook enviroment you'll need to connect a terminal of your HPC enviroment and run following command.

source activate pangeo-bench
ipython kernel install --user --name pangeo-bench

Before starting your jupyternotebook, you can verify that if your kernel is well installed or not by follwing command

jupyter kernelspec list

Benchmark Results

Benchmark results are persisted in the results directory by default. The exact location of the benchmark results depends on the machine name (specified in the config file) and the date on which the benchmarks were run. For instance, if the benchmarks were run on Cheyenne supercomputer on 2019-09-07, the results would be saved in: results/cheyenne/2019-09-07/ directory. The file name follows this template: compute_study_YYYY-MM-DD_HH-MM-SS.csv

Visualization

Visualisation can be done using jupyter notebooks placed in analysis directories.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pangeobench-0.0.post204.tar.gz (8.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pangeobench-0.0.post204-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file pangeobench-0.0.post204.tar.gz.

File metadata

  • Download URL: pangeobench-0.0.post204.tar.gz
  • Upload date:
  • Size: 8.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pangeobench-0.0.post204.tar.gz
Algorithm Hash digest
SHA256 9ae23976ad65dfb62032b0906f1d127f5595145965632886e7b3463b75dc71df
MD5 245f9b03fa94550386d3e647a853b25e
BLAKE2b-256 74f02d0d98bd575762152573ae8176c7829fee25261b5d26dce85ea225a6d489

See more details on using hashes here.

File details

Details for the file pangeobench-0.0.post204-py3-none-any.whl.

File metadata

  • Download URL: pangeobench-0.0.post204-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pangeobench-0.0.post204-py3-none-any.whl
Algorithm Hash digest
SHA256 a7d82e33701a9f39fe66580dbb7e935efe64b319c59d19615be8c361eb35ab9f
MD5 1eb3cff20125ebb2401df1afd040b38a
BLAKE2b-256 17b9a3a5b8b6390b07521e208a5cf02fc11a356f054f7189196b00e20e9f11c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page