News: 0001476435

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Device Memory TCP Nears The Finish Line For More Efficient Networked Accelerators

([Linux Networking] 4 Hours Ago Device Memory TCP)


A year ago Google engineers posted [1]experimental Linux code for Device Memory TCP for more efficient transferring of data from GPUs/accelerators to network devices without having to go through a host CPU memory buffer. After going through many rounds of review, Device Memory TCP appears to be nearing the finish line.

Device Memory TCP "Devmem TCP" is a Linux kernel feature being baked to allow transferring data to and/or from device memory efficiently without having to bounce the data through a host memory buffer. Due to high memory/network bandwidth requirements particularly for AI training with many interconnected systems and relying on TPUs / GPUs / NPUs / other accelerator device types in general, the goal has been to avoid memory copies through the host system memory when sending or receiving data from those discrete devices across the network.

Device Memory TCP brings socket APIs to allow sending device memory across the network directly and to receive incoming network packets directly into device memory. This both helps with avoiding host memory bandwidth pressure as well as reducing PCI Express bandwidth pressure in not having to go through the PCIe root complex.

It appears Device Memory TCP is wrapping up with [2]the prep patches having been queued last week into the networking subsystem's "net-next.git" tree. Thus the prep patches for Device Memory TCP at least will land for Linux 6.11. There's still a week or two to see if the Device Memory TCP work itself will be queued up too into net-next ahead of the v6.11 merge window, otherwise it's looking like it will arrive for v6.12 which should be exciting given that it will likely be the 2024 LTS kernel version.



[1] https://www.phoronix.com/news/Linux-Device-Memory-TCP

[2] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=df18948d331eacc213cfc9e8ffc84a07dfd4dcd1



S.Pam

pomac

ol3geezer

The truth is that Christian theology, like every other theology, is not only
opposed to the scientific spirit; it is also opposed to all other attempts
at rational thinking. Not by accident does Genesis 3 make the father of
knowledge a serpent -- slimy, sneaking and abominable. Since the earliest
days the church as an organization has thrown itself violently against every
effort to liberate the body and mind of man. It has been, at all times and
everywhere, the habitual and incorrigible defender of bad governments, bad
laws, bad social theories, bad institutions. It was, for centuries, an
apologist for slavery, as it was the apologist for the divine right of kings.
-- H. L. Mencken