Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by fulafel on Monday November 06, 2017 @11:17PM
(#15641047)
This bit, "Some of the most valuable enhancements enable VMs built on supporting Linux kernels to exploit offload/multi-queue capabilities"
I was wondering what is offloaded. I guess virtio-net is a good keyword, thanks.
Re:Andromeda 2.1 reduces GCP’s intra-zone latency by 40%
by jsolson on Monday November 06, 2017 @11:25PM
(#15641075)
At the time Andromeda was originally introduced it took a fairly recent Linux kernel to get support for multi-queue networking and offloads with virtio-net. Today anything even moderately recent has support baked in -- specifically Linux 3.8 and above include multi-queue support (as well as the offloads we support).
In terms of specific offloads, the big ones are TCP segmentation offload (TSO) and TCP large receive offload (LRO). These substantially reduce the compute burden on the guest. Less impactful (although still important) are checksum calculation and verification offload.
(I was the tech lead for the hypervisor side of this launch — Jake, the post's author, leads the fast-path team for the Andromeda software switch)
For example, here's the script we install in our guest images and encourage people to run to make sure interrupts are paired to queues: https://github.com/GoogleCloudPlatform/compute-image-package...
Disclosure: I work on Google Cloud but don't know much about networking.