<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naoki86star</author_name>
  <author_url>https://blog.hatena.ne.jp/naoki86star/</author_url>
  <blog_title>naoki86star</blog_title>
  <blog_url>https://naoki86star.hatenablog.com/</blog_url>
  <categories>
    <anon>Computer Networking</anon>
    <anon>cloud/vps</anon>
  </categories>
  <description>前置き 最近は海外VPSの量も減らしてきました。*1 VPS間の通信遅延なんかは、netdata+fping w/ grafanaでだいたい評価できるのだけども、ちょっと数字をだしてみたくなったので自前測定。 原理 IPv4/udp で、ノード間を片方向独立で測定 送った側の送信時刻をudp小パケットに書いて送る、受信側は受信側の時計で受信時刻を記録→NTPによる変動影響は含まれてしまう 送信間隔は1sec固定、gettimeofday()+nanosleep()で制御 受信側の間隔も1sec間隔＋遅延の揺らぎとなるので、それでNTPの影響がキャンセルできる方法ないか考えてみたかった。 考察 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaoki86star.hatenablog.com%2Fentry%2F2020%2F02%2F25%2F020000&quot; title=&quot;VPS間遅延測定 - naoki86star&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/naoki86star/20200224/20200224191721.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-02-25 02:00:00</published>
  <title>VPS間遅延測定</title>
  <type>rich</type>
  <url>https://naoki86star.hatenablog.com/entry/2020/02/25/020000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
