DPDK Summit North America presentations are online!
Skip to main content
All Posts By

benthomas

DPDK Governing Board Meeting Summary – 6/20/23

By Governing Board Minutes

Tech Board Updates
The 23.07 release of DPDK is in the works, and stabilization work is underway to prep for a July release. Release notes link up has occurred. The API freeze happened along with the C1 on the week of June 5th, and the PMD feature freeze is anticipated for June 21. Extensive work is also underway to clear up a large backlog of patches. Finally, there has been extensive internal discussion about when and how to break ABI and API; policy is already in place for both, but there has been internal discussion about how the community would like to see things change in this area.

Community Lab Updates
A number of patch series have been submitted by UNH to the DPDK CI public repository and are being reviewed for formatting and maintenance aesthetics. Once that review is done, merges will take place. These are the final setups as deployed in the lab, and the lab is running with them. This has been submitted to the CI, and they will merge this before the end of June, assuming that everything looks satisfactory. There is additional development work happening with respect to DTS; the target is to get these in as part of the 23.07 release. Following this release, the lab will start automatically testing with DTS. The upstream improvements that go into DTS upstream will be automatically deployed in the lab. There has also been additional change with respect to distros being maintained in the lab. Fedora 35-36 are end of life, so the lab has moved on to Fedora 37-38. And finally, the lab is working on hardening up some of its reporting.

Events Summary
DPDK Summit 2023 is planned for September 12-13 in Dublin Ireland; the CFP is live and accepting proposals, and registrations are underway. There was brief discussion about the possibility of adding an additional on-site DPDK event for either late September 2023 or November or December 2023, but this is only a matter of discussion. This matter is still under review.

Finance Updates
There have not been significant changes in this area. The project is in a healthy financial place, with a decent surplus, and putting available monies toward additional investments that are being used to promote the project and grow the community.

Marcomms Updates
As DPDK’s new marketing coordinator, Ben Thomas of Linux Foundation has been strategically increasing the project’s presence with a multi-tiered approach that includes: publishing the monthly newsletter (on the DPDK website with its own tab), ramping up social media, developing and publishing multiple end user stories with several ready for publication and others soon to be, updating DPDK’s summit branding, and reviewing all channel analytics and responding accordingly.

DPDK Dispatch May

By Monthly Newsletter

Here’s 7 things you should know this month from the DPDK community.

1. Main Announcements

  • The new point release of DPDK, version 22.11.4, is now available. 

This release includes bug fixes and improvements for better performance.

Get it here

Thanks to the authors who helped with backports and to Red Hat, NVIDIA and Intel who helped with validation.

2. Upcoming events

  • DPDK Summit Dublin, Sep. 12-13, 2023 is coming up quickly, book your flights and hotels now. 

3. Social Poll Results

  • Results from our social poll that may be of interest – Are you a developer who also enjoys gaming? 72% percent of the DPDK community love gaming/game when they have the time

4. Blogs, User Stories and Developer Spotlights

  • Submit a blog here
  • Submit a developer spotlight here

5. DPDK & Technologies in the news:

6. DPDK Help Articles

7. Performance Reports & Meeting Minutes

This newsletter is sent out to DPDK members, it’s a collaborative effort. If you have a project release, pull request, community event, and/or relevant article you would like to be considered as a highlight for next month, please reply to marketing@dpdk.org

Thank you for your continued support and enthusiasm.

DPDK Team.

SmartShare Systems Leverages DPDK to Significantly Increase WAN Optimization

By User Stories

The Company / Product

SmartShare Systems is a small privately held company founded in 2006 by Morten Brørup in Denmark. SmartShare Systems develops innovative network appliances and related services with R&D in Denmark and hardware manufacturing in Taiwan. Their solutions have quickly become popular and are currently used by schools, commercial businesses, apartment buildings, hotels, military bases, cruise ships and internet service providers. The products are sold through value-added resellers, with expertise in the field of networks and system integration. SmartShare’s main product line, the StraightShaper products, is focused on WAN Optimization. WAN Optimization is typically used to reduce the data consumption on a costly WAN link. However, the primary purpose of the StraightShaper appliance is to make the WAN link (typically an internet connection) run smoothly for every user. WAN Optimization is relevant when users don’t have access to unlimited WAN bandwidth, or if the network infrastructure doesn’t have infinite bandwidth capacity, e.g:

  • A drilling rig crew sharing a VSAT satellite internet connection.
  • Soldiers in a military camp in the middle of nowhere, sharing whatever internet connection is available.
  • Cruise ship guests using on-board Wi-Fi, sharing the ship’s LTE/5G antenna array or Starlink satellite internet connection while at sea.
  • Students taking their final exams online at the school gym, sharing the school’s fiber internet connection.
  • (But probably not for a family of four sharing a gigabit fiber internet connection at home.)

The key WAN Optimization technologies in the StraightShaper products are:

  • User Load Balancing: Distributing the available bandwidth to the active users ensures that everyone has bandwidth all the time. This can include configuration options to assign various priorities and bandwidths to individual subscribers.
  • Bufferbloat Prevention: All network products have buffers, where the packets can queue up and
    cause increased latency. This is known as “network lag” by online gamers and “bufferbloat” by network professionals. By managing the buffers with this in mind, bufferbloat can be prevented, so the users are not exposed to excessive delays when using the internet.
  • Dynamic Quality of Service: Automatically detecting and prioritizing voice packets over data packets ensures good sound quality for IP telephony.
  • Caching: Caching e.g. DNS replies reduces the total time it takes to load a web page, if someone else has recently visited the same web site.
  • Content Filtering: By optionally blocking certain internet services that use a lot of bandwidth, internet link capacity is freed up for other purposes.

“Development velocity is much higher with DPDK than it was with our Linux kernel-based product line. With DPDK, we only have to develop what we need, and it makes our application code cleaner than when trying to fit our code into some other framework.”
MORTEN BRØRUP, CTO, SMARTSHARE SYSTEMS

The Challenge – WAN Optimization and the Linux kernel:

Some years ago, as bandwidth demands increased, SmartShare’s initial StraightShaper product, based on the Linux kernel, started facing challenges as Linux is not designed for highly specialized packet processing, nor does it support it well. This presented two main challenges:

  • Performance: The Linux kernel’s “qdisc” shaping system does not scale to multiple cores per network interface, and rewriting the kernel would be a major effort; the product could not scale beyond a few gigabits per second, which customers were starting to look for.
  • Complexity: The Linux kernel’s IP stack is extremely advanced and feature-rich, which is great for many purposes. In the Linux kernel, each packet passes through a large number of predefined functions and hooks, and depending on various criteria, packets take different routes through these functions and hooks. SmartShare’s products only use very few of these features, and don’t always fit perfectly into the predefined routes of the functions and hooks. Those other features, however,
    would sometimes get in the way and create unwanted complexity for SmartShare’s developers.

It became clear that with customer demand for bandwidths beyond 1 Gbit/s on the rise, the Linux kernel-based StraightShaper was not scalable.

“We have customers today that we wouldn’t have if we didn’t use DPDK, leading to revenue that would not be generated otherwise.”
MORTEN BRØRUP, CTO, SMARTSHARE SYSTEMS

The Solution

Given the scalability issues of the Linux kernel in specialized packet processing, combined with anticipation of increased customer demands for high bandwidth, SmartShare Systems decided to develop the next generation StraightShaper solutions using DPDK instead of the Linux kernel. DPDK enables developers to decide which functions the packets pass through, and when. This allows
developers to design their own flow (vs. adapting to pre-set routes through the system), and can pick and choose from DPDK libraries and functions.

However, this meant writing a whole new architecture from scratch to support and scale to multiple cores for increased processing, analysis and egress packet scheduling. Most publicly known DPDK projects are based on a “run-to-completion” design. The SmartShare StraightShaper CSP uses a lot of packet buffering, so SmartShare chose a “pipeline” design and developed its framework such that
available CPU cores are assigned to one or more pipeline stages as appropriate.

The Results

When we started using DPDK, it was more or less an ambition to create a version of the existing product, but based on DPDK to generate added performance (e.g. more than 1 Gbit/s). It quickly became clear that working with DPDK makes it much easier to develop these network appliances; and
DPDK’s well-documented library of functions is robust, mature and reliable.

Performance Impact

When the development of the DPDK based StraightShaper CSP firmware began back in 2016 — with the goal of creating a version of the existing product but with added performance — it was internally named “the 10 Gbit/s project”, because that was the problem it was supposed to solve. However, when the new DPDK based product was ready for testing, it was quickly apparent that not only did it push 10 Gbit/s, but easily pushed much more. Referring to it as “the 100 Gbit/s project” would be more appropriate, as the DPDK based firmware easily handles that, and more.

“When we started development of our DPDK based StraightShaper CSP firmware back in 2016, we named it ‘the 10 Gbit/s project’ because that was the problem it was supposed to solve. Now, we know that ‘the 100 Gbit/s project’ would be more appropriate, as our DPDK based firmware can easily handle that, and more!”

MORTEN BRØRUP, CTO, SMARTSHARE SYSTEMS

The Benefits – Impact on Complexity

As mentioned previously, DPDK enables developers to pick and choose which functions packets pass through, and when. This greatly simplifies the entire process and generates results faster and more efficiently.

DPDK enables adding more advanced features to the product, such as specific bandwidth allocation, bufferbloat prevention, and bandwidth shaping within the network core (i.e. inside the SmartShare appliance vs. in low-cost switches at the edge of the network).

Because the SmartShare manages the bandwidth in the core of the network, where the bandwidth capacity is extremely high, bursts and microbursts can be easily absorbed and smoothed out, so they don’t reach the edge of the network and cause packet drops and/or latency issues.

Currently, SmartShare Systems maintains both the Linux kernel-based product line (“StraightShaper”) and the more high-end DPDK-based product line (“StraightShaper CSP”). The new StraightShaper CSP has been deployed in customers’ production networks since 2019, and is a fully mature product,
which continuously evolves with improvements and new features with each firmware release.

Looking ahead, SmartShare Systems has plans to add all features of the initial Linux kernel-based product into the DPDK version. They are also looking at other new projects that leverage DPDK for other use cases, still under development