<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>slankdev</author_name>
  <author_url>https://blog.hatena.ne.jp/slankdev/</author_url>
  <blog_title>高速通信計算研究所</blog_title>
  <blog_url>https://slankdev.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>雑記状態なので、この記事もとても汚いことを了承してください。 DPDKはpthreadwを用いてスレッド操作を行っている。 内部でset affinityを行い、複数のCPUでスレッドを共有しないように固定している らしいが、実際に複数CPUで共有実行を行った場合と、単一CPUで動作をおこなった場合 どの程度性能に差がでるのかを検証してみた。 比較対象, 評価方法 比較対象 単一CPUで固定して動作させるthread 固定しないで動作させたthread 評価方法 thread遅延 (無限loopの一回の遅延[clock]) ソースコード #include &lt;slankdev/system.h&gt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fslankdev.hatenablog.com%2Fentry%2F2017%2F05%2F01%2F230647&quot; title=&quot;Thread Affinityによる性能実験 - 高速通信計算研究所&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-05-01 23:06:47</published>
  <title>Thread Affinityによる性能実験</title>
  <type>rich</type>
  <url>https://slankdev.hatenablog.com/entry/2017/05/01/230647</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
