This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 373
qps performance of nginx running in kata container has big fluctuation #670
Comments
/cc @grahamwhaley sinse he is working on PnP stuff |
/cc @bekars |
There are some new founds about fluctuation of QPS of nginx, please see test data:
The data shows with the same configurations(vcpu =1 or 8; worker processes = 1 or 8, concurrency = 100/200/500): Thanks |
egernst
pushed a commit
to egernst/runtime
that referenced
this issue
Feb 9, 2021
This wrapper is for opentracing functions, once that we move to another tracer this will help us to simplify the work by just modifying the name of the function in a variable instead of renaming all of them in the different files. Fixes kata-containers#670 Signed-off-by: Gabriela Cervantes <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
qps performance of nginx running in kata container has big fluctuation
kata runtime 1.1.0 &1.2.0
under test machine 1:
HW: physical core number:24 logical core :48 Mem: 188G
OS: Ubuntu 16.04
nignx version: 1.15.2
nginx image(nginx image is pulled from public image hub of docker.io)
ulimit -n =1024576
storage driver: direct-lvm mode;
vcpu = 1,2, 4,8, 32;
nginx worker =1, 8;
under test machine 2:
HW: physical core number:4 logical core :8 Mem: 16G
OS: Centos 7.3
nignx version: 1.15.2
nginx image(nginx image is pulled from public image hub of docker.io)
ulimit -n =1024
storage driver: direct-lvm mode;
vcpu=1, 2, 4, 8;
nginx worker = 1, 8;
Expected result
qps performance of nginx should be stable and there is s small fluctuation around a value;
for example, nginx running on runc will have a very fluctuation value( <+5% &<-5%) around the average value in the same environment;
Actual result
on the other test machine to run "ab -n 10000 -c 100/200/500/1000 http://targetip:8080/" to stress the qps performance of nginx running in above machines 1 &2;
we can find, the qps result will with big fluctuation as below:
in machine1 : vcpu = 4, 8, nginx worker =8, qps with average value ~30000, the worst value is ~10000, the best value is ~60000;
other vcpu and nginx worker number will have the same big fluctuation;
in machine 2: vcpu = 4, 8, nginx worker =8, qps with average value ~8000, the worst value is ~5000, the best value is ~9500;
Meta details
found the same issue on kata-runtime 1.2.0 and the log as below:
Running
kata-collect-data.sh
version1.2.0 (commit 0bcb32f)
at2018-08-31.14:03:26.534724570+0800
.Runtime is
/bin/kata-runtime
.kata-env
Output of "
/bin/kata-runtime kata-env
":Runtime config files
Runtime default config files
Runtime config file contents
Config file
/etc/kata-containers/configuration.toml
not foundOutput of "
cat "/usr/share/defaults/kata-containers/configuration.toml"
":Image details
Initrd details
No initrd
Logfiles
Runtime logs
Recent runtime problems found in system journal:
Proxy logs
Recent proxy problems found in system journal:
Shim logs
No recent shim problems found in system journal.
Container manager details
Have
docker
Docker
Output of "
docker version
":Output of "
docker info
":Output of "
systemctl show docker
":Have
kubectl
Kubernetes
Output of "
kubectl version
":Output of "
kubectl config view
":Output of "
systemctl show kubelet
":No
crio
Packages
No
dpkg
Have
rpm
Output of "
rpm -qa|egrep "(cc-oci-runtimecc-runtimerunv|kata-proxy|kata-runtime|kata-shim|kata-containers-image|linux-container|qemu-)"
":The text was updated successfully, but these errors were encountered: