testing

command
v0.0.0-...-aac39ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

README

Testing the graph driver

This document describes how the LCFS graph driver's performance is benchmarked against other graph drivers.

Building the test tool

Checkout the LCFS repository and build the test suite

# mkdir -p $GOPATH/src/github.com/portworx/
# git clone git@github.com:/portworx/lcfs
# cd lcfs/testing
# go build

You will need to customize the test suite to use your specific devices for running the test.

Running the tests

The following tests can be run with Docker using any graph driver. To compare the results, run these tests with different graph drivers.

To run the scalability tests, that is, time to create/destroy N containers, run this test:

# ./graphctl run --test Scalability  --driver portworx/lcfs

This will start N containers of fedora/apache image and remove those.


To test the speed of pulling and removing 30 images, run this test:

# ./graphctl run --test SpeedOfPull --driver portworx/lcfs

This will pull 30 popular images and remove those serially. Then those images are pulled and removed in parallel.


To test the speed of the build time for docker sources, run this test:

# ./graphctl run --test BuildSpeed --driver portworx/lcfs

This will check out docker sources and measure the time for building that.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL