<div dir="ltr">Thanks Stephen again for your help.<div>I will check out what you mentioned about CPU features.</div><div><br></div><div>By the way, regarding my earlier question about using DPDK memif in a Docker container.</div><div>I made a patch in the memif driver of DPDK so it uses a TCP socket instead of a UNIX domain socket.</div><div>This made it possible to communicate between a Docker container and an application outside the container using DPDK memif.</div><div>This patch only works without the "zero-copy" option for DPDK memif.</div><div>But the throughput of DPDK memif without zero-copy is rather good anyway.</div><div><br></div><div>Regards</div><div>Staffan</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den tis 22 feb. 2022 kl 02:49 skrev Stephen Hemminger <<a href="mailto:stephen@networkplumber.org">stephen@networkplumber.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 21 Feb 2022 21:28:08 +0100<br>
Staffan Wiklund <<a href="mailto:staffan491@gmail.com" target="_blank">staffan491@gmail.com</a>> wrote:<br>
<br>
> Stephen, thanks for your answer.<br>
> I realize the statement is very vague.<br>
> I was thinking of if there was something common in the design of Intel and<br>
> AMD CPUs respectively that has an impact on their use by DPDK applications.<br>
> Do you know if there is such a common design difference between Intel and<br>
> AMD CPUs or is it just a matter of using an Intel or AMD CPU with the<br>
> requested performance?<br>
> <br>
> Regards<br>
> Staffan<br>
<br>
I am not a CPU expert. But compare memory bandwidth, clock rate, PCI Express version<br>
and support for AVX support (for some features). There a few places in DPDK<br>
that can use AVX512 but it is limited <br>
<a href="https://doc.dpdk.org/guides/howto/avx512.html" rel="noreferrer" target="_blank">https://doc.dpdk.org/guides/howto/avx512.html</a><br>
<br>
Also there is a tradeoff with more cores, NUMA, etc as well as cost.<br>
<br>
Don't believe simple tribal knowledge, you need to look under the covers.<br>
</blockquote></div>