nanog mailing list archives
Re: DPDK and energy efficiency
From: William Herrin <bill () herrin us>
Date: Tue, 23 Feb 2021 14:04:09 -0800
On Mon, Feb 22, 2021 at 11:24 PM Etienne-Victor Depasquale <edepa () ieee org> wrote:
Beyond RX/TX CPU affinity, in DANOS you can further tune power consumption by changing the adaptive polling rate. It doesn’t, per the survey, "keep utilization at 100% regardless of packet activity.”Robert, you seem to be conflating DPDK with DANOS' power control algorithms that modulate DPDK's default behaviour. Keep in mind that this is a bare-bones survey intended for busy, knowledgeable people (the ones you'd find on NANOG) -
Hi, Since you understand that, I'm not really clear what you're asking in the survey. DPDK doesn't inherently do much in the way of power management. The polling loops are in the application side of the software, not the DPDK libraries or NIC driver. It's up to the application author to decide to detect idleness in the polling loop and take action to reduce CPU load. If they go for a simple busy-wait, the dataplane cores run at 100% all the time regardless of packet load. This has the expected impact on the server's power consumption. Note that DPDK applications are usually intended to run in very-high data rate environments where no gains are likely to be realized by avoiding a busy-wait loop. Regards, Bill Herrin -- William Herrin bill () herrin us https://bill.herrin.us/
Current thread:
- Re: DPDK and energy efficiency, (continued)
- Re: DPDK and energy efficiency Jared Geiger (Feb 22)
- Re: DPDK and energy efficiency Robert Bays (Feb 22)
- Re: DPDK and energy efficiency Etienne-Victor Depasquale (Feb 22)
- Re: DPDK and energy efficiency Etienne-Victor Depasquale (Feb 22)
- Re: DPDK and energy efficiency Robert Bays (Feb 23)
- Re: DPDK and energy efficiency Etienne-Victor Depasquale (Feb 23)
- Re: DPDK and energy efficiency Douglas Fischer (Feb 24)
- Re: DPDK and energy efficiency Robert Bays (Feb 24)
- Re: DPDK and energy efficiency Etienne-Victor Depasquale (Feb 24)
- Re: DPDK and energy efficiency Etienne-Victor Depasquale (Feb 27)
- Re: DPDK and energy efficiency Robert Bays (Feb 22)
- Re: DPDK and energy efficiency Jared Geiger (Feb 22)
- Re: DPDK and energy efficiency William Herrin (Feb 23)
- Re: DPDK and energy efficiency Etienne-Victor Depasquale (Feb 23)
- Re: DPDK and energy efficiency Etienne-Victor Depasquale (Feb 23)
- Re: DPDK and energy efficiency William Herrin (Feb 23)
- Re: DPDK and energy efficiency Etienne-Victor Depasquale (Feb 23)
- Re: DPDK and energy efficiency Jared Geiger (Feb 22)