OpenVPN Kernel Driver Patches Updated For Improving VPN Performance

Written by Michael Larabel in Linux Networking on 2 October 2024 at 06:19 AM EDT. 16 Comments
LINUX NETWORKING
For those making use of OpenVPN for your virtual private network (VPN) needs, years in the making has been an "OVPN" Linux kernel driver to enhance the performance by offloading more of the work to kernel-space.

OpenVPN is a user-space program but in development the past several years has been the OVPN kernel driver for data channel offloading to allow for more of the data channel processing to happen within kernel space. The OVPN driver appears as a simple virtual network device driver and allows more of the VPN network processing to be handled within the kernel.

This driver has been in development for several years and today brought the eighth iteration of the patches. With the v8 patches there are various changes to the Netlink API used by the OVPN driver and other updates. This driver continues to be worked on by OpenVPN Inc directly.

Benchmarks previously posted by OpenVPN Inc show the big performance uplift brought by the kernel Data Channel Offload (DCO) capabilities:

OpenVPN DCO performance


Those interested in this OpenVPN "OVPN" Linux kernel driver that aims to eventually get into the mainline Linux kernel can find the v8 patches on the Linux kernel mailing list for review.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week