Skip to navigation

Benchmarking AIStore

View as MarkdownOpen in Claude

How to benchmark with AIStore

The tool we have developed is called AIS Loader (aisloader) - a load generator to benchmark and stress-test AIStore, or any S3-compatible backend. AIS Loader generates arbitrary read/write workloads including those (synthetic) ones that mimic training and inference workloads. The latter allows to run benchmarks in isolation and avoid compute-side bottlenecks, if any.

For usage, run: aisloader, or aisloader usage, or aisloader --help.

To get started, go to the aistore root directory and run:

$ make aisloader
$ $GOPATH/bin/aisloader

Following in this document are a few easy usage examples and dry-run instructions. For detailed description and more examples, please see aisloader readme.

Basic Examples

For the most recently updated command-line options and examples, please run aisloader or aisloader usage.

  1. Time-based 100% PUT into ais bucket. Upon exit, the objects PUT by the run are deleted (and the bucket is destroyed if the run created it):

    $ aisloader -bucket=nvais -duration 10s -numworkers=3 -minsize=1K -maxsize=1K -pctput=100 -provider=ais -cleanup=true
  2. 100% GET from an ais bucket:

    $ aisloader -bucket=nvais -duration 5s -numworkers=3 -pctput=0 -provider=ais -cleanup=false
  3. Mixed 30%/70% PUT and GET of variable-size objects to/from a Cloud bucket. PUT will generate random object names and is limited by the 10GB total size. With cleanup enabled, upon completion all objects PUT by the run will be deleted:

    $ aisloader -bucket=nvaws -duration 0s -numworkers=3 -minsize=1024 -maxsize=1MB -pctput=30 -provider=aws -totalputsize=10G -cleanup=true
  4. PUT 2000 objects named as aisloader/hex({0..2000}{loaderid}):

    $ aisloader -bucket=nvais -numworkers=3 -pctput=100 -minsize=1K -maxsize=1K -loaderid=11 -loadernum=20 -maxputs=2000 -subdir=aisloader -cleanup=false
  5. PUT 30% of random TAR files and 70% GET of transformed TARs to TFRecords with tar2tf transformation.

    $ aisloader -bucket=nvaws -duration=5m -numworkers=3 -pctput=30 -readertype=tar -etl=tar2tf -cleanup=false

AIS Loader full documentation

Full aisloader documentation, including more examples and full options list, is available here.