<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atsumu-t2</author_name>
  <author_url>https://blog.hatena.ne.jp/atsumu-t2/</author_url>
  <blog_title>atsumu-t2の日記</blog_title>
  <blog_url>https://atsumu-t2.hatenadiary.org/</blog_url>
  <categories>
    <anon>shell</anon>
  </categories>
  <description>scpでは暗号化なしでもCPUがボトルネックになってしまうため、tarとnc(netcat)を組み合わせてディレクトリを高速に転送する。※ncは転送の途中でコネクションが閉じられてもエラーを返さないので注意 # 転送先 nc -l -p PORT | tar xf -# 転送元 tar cfO - DIR | nc HOST PORTネットワーク帯域をほぼ1Gbps使い切っても、CPU使用率は転送先、転送元ともにncとtar合わせて10%以下で済んだ。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatsumu-t2.hatenadiary.org%2Fentry%2F20140825%2F1408946698&quot; title=&quot;ncでディレクトリを転送する - atsumu-t2の日記&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>2014-08-25 15:04:58</published>
  <title>ncでディレクトリを転送する</title>
  <type>rich</type>
  <url>https://atsumu-t2.hatenadiary.org/entry/20140825/1408946698</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
