-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
k8s perf #9
Comments
Bare machine performance: running CoreDNS with:
Now do a port forward with iptables (to mimic kube-proxy):
And hit port 1053
Now hitting the pod running CoreDNS w/ flannel and docker:
Testing:
|
Starting a docker container the sets up port forwarding:
Testing from the other server:
This is not using flannel, because I'm hitting the docker forwarded port directly. |
Conclusion(?) once it hits docker we loose 40% performance? |
A type0 server is used: this is currently:
|
cc @johnbelamaric 40% of performance is eaten by docker.... |
@miekg It's hard to tell, are you hitting the forwarded port from the same host? |
Wow, that does seem excessive. I'll ask the question on the docker-networking slack, see if someone there has any insight. |
It's via a remote host, master to a node in the cluster. No local traffic.
But still smells like userspace proxy.
…On 16 May 2017 5:30 pm, "John Belamaric" ***@***.***> wrote:
@miekg <https://github.com/miekg> Try it from a different host if you are
not already - @cpuguy83 <https://github.com/cpuguy83> mentioned in the
slack channel that local traffic will go through a user space proxy for
port forwarding.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAVkW4c3IuwJ4opYY-9S1vLKT35ioR5zks5r6c8HgaJpZM4NcqHZ>
.
|
@miekg Can you try hitting the bridge IP directly? |
Sure, but how do you do that remotely?
On 16 May 2017 5:36 pm, "Brian Goff" <[email protected]> wrote:
@miekg <https://github.com/miekg> Can you try hitting the bridge IP
directly?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAVkW84A4V2V9NRaIRJGpO1C1aKF3JH8ks5r6dB4gaJpZM4NcqHZ>
.
|
@miekg Setup a static route. |
Hmm, not sure if I follow:
Where the .217 is node1 where (in some form of another) CoreDNS will run. But both master and node1 run docker (because k8s cluster). |
docker version: 1.11.2-0~xenial see moby/moby#7857 as well |
Sorry, different versions of Try:
|
I'm doing some simple perf tests on a k8s cluster:
Cluster is running in packet. Nodes are type 0 machines.
The text was updated successfully, but these errors were encountered: