cloudfoundry/grootfs-bench

Name: grootfs-bench

Owner: Cloud Foundry

Description: null

Created: 2016-08-25 14:02:58.0

Updated: 2016-10-28 15:46:20.0

Pushed: 2017-07-06 15:27:15.0

Homepage: null

Size: 597

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

GROOTFS BENCH

Benchmarking tool for grootfs

Usage
:
rootfs-bench - grootfs awesome benchmarking tool

E:
rootfs-bench --gbin <grootfs-bin> --store <store-path> --log-level <debug|info|warn> --images <n> --concurrency <c> --base-image <docker:///img>

ION:
.1.0

ANDS:
 help, h  Shows a list of commands or help for one command

AL OPTIONS:
-gbin value                      path to grootfs bin (default: "grootfs")
-images value                    number of images to create (default: "500")
-concurrency value               what the name says (default: "5")
-store value                     store path (default: "/var/lib/grootfs")
-driver value                    filesystem driver
-log-level value                 what the name says (default: "debug")
-base-image value                base image to use
-with-quota                      add quotas to the image creation
-nospin                          turn off the awesome spinner, you monster
-json                            return the result in json format
-parallel-clean                  run a concurrent clean operation
-parallel-clean-interval value   interval at which to call clean during concurrent operations in seconds. parallel-clean must also be set (default: 6)
-parallel-delete-interval value  interval at which to call delete during concurrent operations in seconds. parallel-clean must also be set (default: 3)
-help, -h                        show help
-version, -v                     print the version

Example:

tfs-bench --gbin /var/vcap/jobs/grootfs/bin/grootfs \
          --store /var/vcap/store/grootfs \
          --images 20 \
          --concurrency 5 \
          --parallel-clean \
          --base-image docker:///ubuntu
          --base-image docker:///alpine
          --base-image docker:///cirros


l images requested.: 20
urrency factor.....: 5
g Quota?...........: false
llel Clean?........: true
er of cleans.......: 3
er of deletes......: 6
....................
l duration.........: 5.696163453s
es per second......: 3.511135
age time per image.: 1.405277
l errors...........: 0
r Rate.............: 0.000000

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.