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/