<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kankinkon</author_name>
  <author_url>https://blog.hatena.ne.jp/kankinkon/</author_url>
  <blog_title>Afro-Blue</blog_title>
  <blog_url>https://kankinkon.hatenadiary.org/</blog_url>
  <categories>
    <anon>UNIX</anon>
  </categories>
  <description>システムコールに時間がかかる理由 バッファサイズによって読み書きのシステムコールの回数が変わる。システムコールには時間がかかるため、回数の多いプログラムは実行時間が遅くなり他のユーザーが使いたい時間を占有してしまう。 システムコールに時間がかかる理由は次のとおり。 プロセスのためのメモリがユーザー空間にあり、カーネルはシステム空間にある。ディスクはカーネルからアクセスする。例えばreadシステムコールを実行してカーネルにデータを要求すると、ディスクからプロセスにデータを転送するコードはカーネルの一部にあるので、制御はユーザー空間のコードからシステム空間のカーネルコードにジャンプする。CPUはカ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkankinkon.hatenadiary.org%2Fentry%2F20120517%2F1337207229&quot; title=&quot;バッファリング - Afro-Blue&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>2012-05-17 07:27:09</published>
  <title>バッファリング</title>
  <type>rich</type>
  <url>https://kankinkon.hatenadiary.org/entry/20120517/1337207229</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
