<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: vmstat in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/vmstat/m-p/4345390#M34995</link>
    <description>It's difficult that network I/O will cause high wait times. In my experience, high wait times is always caused by disk I/O.&lt;BR /&gt;&lt;BR /&gt;You should monitor your network traffic with iptraf, or maybe, install collectl (collect for linux). It's an excelent performance tool.</description>
    <pubDate>Fri, 30 Jan 2009 12:36:11 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2009-01-30T12:36:11Z</dc:date>
    <item>
      <title>vmstat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vmstat/m-p/4345386#M34991</link>
      <description>help me understand the 'us' and 'sy'&lt;BR /&gt;please correct me if I am wrong&lt;BR /&gt;&lt;BR /&gt;in vmstat output, under the CPU column &lt;BR /&gt;'us' and 'sy'&lt;BR /&gt;&lt;BR /&gt;man vmstat  &lt;BR /&gt;us: Time spent running non-kernel code. (user time, including nice time)&lt;BR /&gt;sy: Time spent running kernel code. (system time)&lt;BR /&gt;&lt;BR /&gt;i did a small test&lt;BR /&gt;# for i in `seq 1 300`; do oowriter; done&lt;BR /&gt;the value of 'us' increases&lt;BR /&gt;&lt;BR /&gt;but when i did&lt;BR /&gt;# dd if=/dev/urandom of=dd.img bs=1K count=10000&lt;BR /&gt;the value of 'sy' increases&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Question: whats the non-kernel code ? &lt;BR /&gt;&lt;BR /&gt;My view/knowledge: &lt;BR /&gt;software/applications(e.g OpenOffice, gimp, email clients etc) and daemons(web/dhcp/dns/mail), databases(oracle.mysql etc) are non-kernel code ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Question: what are the running kernel code ?&lt;BR /&gt;&lt;BR /&gt;My view/knowledge:&lt;BR /&gt;if I save some text using OpenOffice, then OpenOffice  instructs the kernel(Linux) to do the work then the 'sy' value will increase ? am i right ?&lt;BR /&gt;&lt;BR /&gt;i.e if execute some apps/db/daemons then the time to load/execute thos software/apps/daemons will be reflected by the 'us'&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;if the software do some processing(calculation, and manipulation, creation and deletion of files, and saving in the file) then the vlaue will be reflected in 'sy' column ?&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Tue, 27 Jan 2009 10:58:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vmstat/m-p/4345386#M34991</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2009-01-27T10:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vmstat/m-p/4345387#M34992</link>
      <description>&amp;gt;&amp;gt;&amp;gt; oftware/applications(e.g OpenOffice, gimp, email clients etc) and daemons(web/dhcp/dns/mail), databases(oracle.mysql etc) are non-kernel code&lt;BR /&gt;&lt;BR /&gt;Yes.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; if I save some text using OpenOffice, then OpenOffice instructs the kernel(Linux) to do the work then the 'sy' value will increase ? am i right ?&lt;BR /&gt;&lt;BR /&gt;Yes&lt;BR /&gt;&lt;BR /&gt;The sy will be increased when the program ask to the kernel to do part of the job, normally, through a system call:&lt;BR /&gt;&lt;BR /&gt;Swapping is a process that will use high sy time, because it has to deal with pages allocation/deallocation and device handling.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.cs.up.ac.za/programming/asm/derick_tut/syscalls.html" target="_blank"&gt;http://docs.cs.up.ac.za/programming/asm/derick_tut/syscalls.html&lt;/A&gt;</description>
      <pubDate>Tue, 27 Jan 2009 15:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vmstat/m-p/4345387#M34992</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-01-27T15:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vmstat/m-p/4345388#M34993</link>
      <description>thanks, for explaining and  acknowledging  ;-)&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jan 2009 05:12:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vmstat/m-p/4345388#M34993</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2009-01-28T05:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vmstat/m-p/4345389#M34994</link>
      <description>one last question in this thread :)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;how do I know the reason behind the high value of wa, i.e, is it because the high network I/O&lt;BR /&gt;or high disk I/O&lt;BR /&gt;&lt;BR /&gt;I know the high value of 'bi' and 'bo'(disk I/O) is also the cause of high value of 'wa', but how do I know that if the high rate of network I/O is also involved in the high vlaues of 'wa'&lt;BR /&gt;&lt;BR /&gt;Regard</description>
      <pubDate>Fri, 30 Jan 2009 11:17:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vmstat/m-p/4345389#M34994</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2009-01-30T11:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: vmstat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vmstat/m-p/4345390#M34995</link>
      <description>It's difficult that network I/O will cause high wait times. In my experience, high wait times is always caused by disk I/O.&lt;BR /&gt;&lt;BR /&gt;You should monitor your network traffic with iptraf, or maybe, install collectl (collect for linux). It's an excelent performance tool.</description>
      <pubDate>Fri, 30 Jan 2009 12:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vmstat/m-p/4345390#M34995</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-01-30T12:36:11Z</dc:date>
    </item>
  </channel>
</rss>

