Git Product home page Git Product logo

docker-performance's Introduction

docker-performance

Repository to accompany http://redhat.slides.com/jeremyeder/performance-analysis-of-docker#/

# git clone https://github.com/jeremyeder/docker-performance.git
# docker build -t c7perf --rm=true - < /root/docker-performance/Dockerfiles/Dockerfile_c7perf
# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
c7perf              latest              f275641e482b        38 seconds ago      663.7 MB
centos              centos7             1a7dc42f78ba        2 weeks ago         236.4 MB

# mkdir /results
# chcon -Rt svirt_sandbox_file_t /results
# docker run -it -v /results:/results c7perf bash
# /root/docker-performance/bench/sysbench/run-sysbench.sh cpu test1
# cat /results/*histogram

# docker run --cpuset=1 --memory=1G -it r7perf bash
# yum install ~/docker-performance/utils/stress*

# cd /var/lib/docker/execdriver/native/X
# watch -n1 -d 'nsinit stats | egrep -A2 'usage'"
# free -m -s 1

# stress -c 1 -m 1 --vm-bytes 1G
# stress -c 1 -m 1 --vm-bytes 2G

Reference:
...
# cat /etc/hostname
2bf50285b249
# chcon --reference /var/lib/docker/devicemapper/mnt/2bf50285b249d1513c5481a992b12495fc8e8e0d3fdf2b2345b760c5fd675db1 /results

PR5910

docker-performance's People

Contributors

jeremyeder avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.