Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by dajonker on Tuesday November 07, 2017 @06:27AM
(#15642488)
How would I test this? If I just create two (preemptible) n1-standard-1 VMs with the latest debian image and I use "ping" with the internal IP address then I get on average 0.138 ms
I do get impressive bandwidth (1.95 Gbits/sec) using iperf.
Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by boulos on Tuesday November 07, 2017 @11:52AM
(#15644978)
ping is sadly not a great test program. You should do a TCP_RR run with netperf instead. For best results, try one of our newer regions/zones (with newer fabric and NICs) like us-east4-b or europe-west2-c. An n1-std-1 is also a single hyperthread, so you may want a larger instance as well.
Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by dajonker on Wednesday November 08, 2017 @03:04AM
(#15650536)
Thanks, got 34 µs in europe-west2-c with n1-standard-4 machines (also have about 8 Gbits/sec bandwidth between machines!).
Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by jsolson on Thursday November 09, 2017 @10:22AM
(#15663105)
:)
Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by acdha on Monday November 06, 2017 @11:26PM
(#15641077)
Thanks — I was disappointed not to see any absolute values in the post
Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by FBISurveillance on Tuesday November 07, 2017 @01:01AM
(#15641331)
Is this available on GKE? Any action required (e.g. node pool flags) on our side to get this working?
Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by boulos on Tuesday November 07, 2017 @01:10AM
(#15641364)
Yep! GKE just runs atop GCE. No work required on your side.
That reminds me though: you have to be communicating over the internal IP addresses, not the external ones (I hope the Services stuff does the right thing automatically). Firewall rules and such are different for internal versus external IPs (people often want a simple "deny all external traffic"), so that's sadly still a performance cliff.
Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by jsolson on Tuesday November 07, 2017 @01:07AM
(#15641354)
Yes, this is enabled for all VMs running on Compute Engine (which includes GKE VMs), however the in-guest iptables &c. bits add non-trivial overhead (I don't have numbers handy, apologies).
Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by FBISurveillance on Tuesday November 07, 2017 @01:14AM
(#15641374)
Thanks, good to know.
Regarding in-guest iptables -- there's not much we can do on GKE/Kubernetes about that. I serve about 1.2M requests per second on my GKE cluster through GLB and see this overhead very well.
Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by boulos on Tuesday November 07, 2017 @01:19AM
(#15641394)
The new Alias IP stuff should help with that (though I imagine there will still be some iptables shenanigans left, so I'm not sure how much it will help)
Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by FBISurveillance on Tuesday November 07, 2017 @01:24AM
(#15641407)
AFAIK for GLB to work with GKE (via GLBC) I would still need NodePort service that routes exclusively via iptables?
FWIW I also look forward to IPVS in k8s 1.9 that should improve this slightly.
Disclosure: I work on Google Cloud.