-
Notifications
You must be signed in to change notification settings - Fork 191
a question about the performance of docker and hyperd #668
Comments
hyperd is intended to be deployed on physical machine by default, and it employs hypervisor to provide isolated containers. For running in VMs, you could try to use xenpv driver with xen 4.9 environment, ref: https://blog.hyper.sh/performance_runv_gce.html . |
@gnawux Interesting! I actually had the same performance issue when running hyperd on aws vm. So using runV with the xen pv mode will be better for that use case? Do we have permission to use the xen pv mode on aws vm? BTW, have you guys investigated how this can be integrated with kubernetes? |
@gnawux deployed hyperd on physical machine end up with:
docker run -it centos7_go
compared with cc-time of docker run -it --cpus 4 --memory 8589934592 centos7_go
|
I did a simple benchmark test on hyperd and docker using wrk and nginx, but found that hyperd is quite slower than docker, below is the detailed result:
hyperd
container:
hyperctl run -td --name web --memory=1024 nginx
test command:
wrk -t12 -c400 -d30s http://192.168.123.6
test result:
docker
container:
docker run -td --name web --memory=1024M nginx
test command:
wrk -t12 -c400 -d30s http://172.17.0.2
test result:
Docker and hyperd are on a same virtual machine with memory=2048M and vcpu=1.
Was I doing something wrong or the benchmark is not suitable? Cause the result seems incredible
The text was updated successfully, but these errors were encountered: