Skip to content

rickydebojeet/data-perf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

data-perf

Use Machine Learining to predict the performance of a container. We need to collect data to train the models.

Setup the server then run the client to collect data.

  • To run the container:
curl http://<ip>:8080/dockerStart.php?memory=<memory-size>m&swap=<swap-size>g&cpus=<cpu>&device-io=<io-rate>mb&name=<container-name>&port=<port>
  • Test Container:
curl http://<ip>/server.php?size=<io-size>&cpuLoad=<cpu-load>
  • Stop contatiner:
curl http://<ip>:8080/dockerStop.php?name=<container-name>
  • For load testing using httperf:
httperf --client=0/1 --server=<ip> --port=<port> --uri="/server.php?size=<io-size>&cpuLoad=<cpu-load>" --send-buffer=4096 --recv-buffer=16384 --num-conns=<number-of-connections> --rate=<rate>

Note: Use the modified httperf from this repo.

About

ML based performance analysis of containers

Resources

Stars

Watchers

Forks

Languages