DPDK patches and discussions
 help / color / mirror / Atom feed
* Inquiry About DPDK's Roadmap for Dynamic CPU Scaling Support
       [not found] <CGME20250328033731epcms5p1393d177ee4de90debad11e9578e758f9@epcms5p1>
@ 2025-03-28  3:37 ` 郭春霞
  2025-04-08 13:27   ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: 郭春霞 @ 2025-03-28  3:37 UTC (permalink / raw)
  To: dev; +Cc: 张士亚, 金明, SRC-B Security

[-- Attachment #1: Type: text/html, Size: 25870 bytes --]

[-- Attachment #2: Type: image/png, Size: 15092 bytes --]

[-- Attachment #3: Type: image/png, Size: 22957 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Inquiry About DPDK's Roadmap for Dynamic CPU Scaling Support
  2025-03-28  3:37 ` Inquiry About DPDK's Roadmap for Dynamic CPU Scaling Support 郭春霞
@ 2025-04-08 13:27   ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2025-04-08 13:27 UTC (permalink / raw)
  To: 郭春霞
  Cc: dev, 张士亚, 金明, SRC-B Security

On Fri, 28 Mar 2025 12:37:31 +0900
郭春霞 <cx.guo@samsung.com> wrote:

> Dear DPDK Team,
> 
> I hope this email finds you well. 
> 
> I'm writing to inquire about DPDK's future plans regarding dynamic CPU initialization support, particularly in Kubernetes environments where exclusive CPU Pod scaling is being enhanced.
> 
> Backgroud:
> With Kubernetes upcoming improvements to InPlacePodVerticalScaling for exclusive CPU Pods (Guaranteed QoS Pods), we have encountered a limitation when using DPDK:
> • A Pod initialized with 5 exclusive CPUs can have DPDK’s EAL successfully bind and utilize these cores.
> • However, when the Pod scales up (e.g., adding 2 new CPUs), DPDK currently lacks native mechanisms to detect and initialize the newly allocated cores. This forces us to either restart the Pod (causing service disruption) or leave additional CPUs underutilized.
> 
> Key Questions:
> • Is there an active DPDK roadmap item to support binded and initialized CPUs scaling up and down?
> • If not, would the DPDK community consider contributions in this area, especially given Kubernetes’ evolving CPU management capabilities?
> 
> We believe such functionality would significantly benefit cloud-native NFV workloads. Any guidance or references to ongoing work would be greatly appreciated.
> 
> Reference Link:
> 
>         InPlacePodVerticalScaling Enhancements for guaranteed pods: https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/1287-in-place-update-pod-resources/README.md#future-enhancements
> 
>         A PR to implement guaranteed pods resize: https://github.com/kubernetes/kubernetes/pull/129719
> 
> Thank you for your time and expertise. Looking forward to your insights.

I have seen no plans for doing this. It would mostly impact the application.
One way of doing it now would be launch DPDK application with max possible CPU's and instead
of using remote_launch across all workers, be more selective.

It doesn't make sense for DPDK to grow direct access to Kubernetes API's.
But maybe the kernel API for hotplug has something.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-08 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20250328033731epcms5p1393d177ee4de90debad11e9578e758f9@epcms5p1>
2025-03-28  3:37 ` Inquiry About DPDK's Roadmap for Dynamic CPU Scaling Support 郭春霞
2025-04-08 13:27   ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).