<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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.” <br></blockquote><div>Robert, you seem to be conflating DPDK </div><div>with DANOS' power control algorithms that modulate DPDK's default behaviour.</div><div><br></div><div>Let me know what you think; otherwise, I'm pretty confident that DPDK does:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">"keep utilization at 100% regardless of packet activity.”   </blockquote><div><br></div><div>Keep in mind that this is a bare-bones survey intended for busy, knowledgeable people (the ones you'd find on NANOG) -</div><div>not a detailed breakdown of modes of operation of DPDK or DANOS.</div><div>DPDK has been designed for fast I/O that's unencumbered by the trappings of general-purpose OSes, </div><div>and that's the impression that needs to be forefront.</div><div>Power control, as well as any other dimensions of modulation, </div><div>are detailed modes of operation that are well beyond the scope of a bare-bones 2-question survey </div><div>intended to get an impression of how widespread DPDK's core operating inefficiency is.</div><div><br></div><div>Cheers,</div><div><br></div><div>Etienne </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 22, 2021 at 10:20 PM Robert Bays <<a href="mailto:robert@gdk.org" target="_blank">robert@gdk.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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.”  Adaptive polling changes in DPDK optimize for tradeoffs between power consumption, latency/jitter and drops during throughput ramp up periods.  Ideally your DPDK implementation has an algorithm that tries to automatically optimize based on current traffic patterns.<br>
<br>
In DANOS refer to the “system default dataplane power-profile” config command tree for adaptive polling settings.  Interface RX/TX affinity is configured on a per interface basis under the “interfaces dataplane” config command tree.<br>
<br>
-robert<br>
<br>
<br>
> On Feb 22, 2021, at 11:46 AM, Jared Geiger <<a href="mailto:jared@compuwizz.net" target="_blank">jared@compuwizz.net</a>> wrote:<br>
> <br>
> DANOS lets you specify how many dataplane cores you use versus control plane cores. So if you put a 16 core host in to handle 2GB of traffic, you can adjust the dataplane worker cores as needed. Control plane cores don't stay at 100% utilization. <br>
> <br>
> I use that technique plus DANOS runs on VMware (not oversubscribed) which allows me to use the hardware for other VMs. NICS are attached to the VM via PCI Passthrough which helps eliminate the overhead to the VMware hypervisor itself.<br>
> <br>
> I have an 8 core VM with 4 cores set to dataplane and 4 to control plane. The 4 control plane cores are typically idle only processing BGP route updates, SNMP, logs, etc.<br>
> <br>
> ~Jared<br>
> <br>
> On Sun, Feb 21, 2021 at 11:30 PM Etienne-Victor Depasquale <<a href="mailto:edepa@ieee.org" target="_blank">edepa@ieee.org</a>> wrote:<br>
> Hello folks,<br>
> <br>
> I've just followed a thread regarding use of CGNAT and noted a suggestion (regarding DANOS) that includes use of DPDK.<br>
> <br>
> As I'm interested in the breadth of adoption of DPDK, and as I'm a researcher into energy and power efficiency, I'd love to hear your feedback on your use of power consumption control by DPDK.<br>
> <br>
> I've drawn up a bare-bones, 2-question survey at this link: <br>
> <br>
> <a href="https://www.surveymonkey.com/r/J886DPY" rel="noreferrer" target="_blank">https://www.surveymonkey.com/r/J886DPY</a>. <br>
> <br>
> Responses have been set to anonymous.<br>
> <br>
> Cheers,<br>
> <br>
> Etienne<br>
> <br>
> -- <br>
> Ing. Etienne-Victor Depasquale<br>
> Assistant Lecturer<br>
> Department of Communications & Computer Engineering<br>
> Faculty of Information & Communication Technology<br>
> University of Malta<br>
> Web. <a href="https://www.um.edu.mt/profile/etiennedepasquale" rel="noreferrer" target="_blank">https://www.um.edu.mt/profile/etiennedepasquale</a><br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><span style="color:rgb(136,136,136);font-family:tahoma,sans-serif">Ing. Etienne-Victor Depasquale</span><br style="color:rgb(136,136,136);font-family:tahoma,sans-serif"><span style="color:rgb(136,136,136);font-family:tahoma,sans-serif">Assistant Lecturer</span><br style="color:rgb(136,136,136);font-family:tahoma,sans-serif"><span style="color:rgb(136,136,136);font-family:tahoma,sans-serif">Department of Communications & Computer Engineering</span><br style="color:rgb(136,136,136);font-family:tahoma,sans-serif"><span style="color:rgb(136,136,136);font-family:tahoma,sans-serif">Faculty of Information & Communication Technology</span><br style="color:rgb(136,136,136);font-family:tahoma,sans-serif"><span style="color:rgb(136,136,136);font-family:tahoma,sans-serif">University of Malta</span><div>Web. <a href="https://www.um.edu.mt/profile/etiennedepasquale" target="_blank">https://www.um.edu.mt/profile/etiennedepasquale</a><br></div></div></div>