Skip to content

jeremyeder/docker-performance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Docker Performance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.3%
  • Shell 32.7%