<?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: TDC in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/tdc/m-p/4087750#M13505</link>
    <description>justin,&lt;BR /&gt;&lt;BR /&gt;  Logical I/O is an I/O sent to the file system. It's specified in terms of file system structures. Physical I/O is directed at the physical disk. It's specified in terms of disk structure (obviously, a LOGIO is at some stage converted into a PHYIO, but I'd guess that PHYIOs generated as a result of a LOGIO are not counted in your statistics)&lt;BR /&gt;&lt;BR /&gt;  IOCNT count be the sum of LOGIO and PHYIO, or it could count all I/Os that are directed to the device, even if they're serviced by a cache somewhere along the way. (sorry, I don't know how TDC defines the fields, have you looked in the documentation?).&lt;BR /&gt;&lt;BR /&gt;What do you mean by "I cant seem to be able to generate any realistic data for disk reads and writes". What does your data look like, and why do you think it's unrealistic?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Make sure you remember that there are numerous layers of software between your programs and the disk surface. Thus, if you have a program that reads the same record in a file numerous times, there are potentially several places where that data might be cached, so even if you generate 100 reads, you may only see a single read I/O (indeed, you should hope that is the case!). Similarly, if you write the same record, or several nearby records, even numerous times, the updates may coalesce into a single write I/O.&lt;BR /&gt;&lt;BR /&gt; Disk I/O is comparatively VERY expensive, so software does it's best to only go out to disk when absolutely necessary (pop quiz... if we scale up the time it takes for a CPU to add 2 integers, calling it 1 second. On that time scale, how long does a disk read from a locally attached drive take?)&lt;BR /&gt;&lt;BR /&gt;You can trust that the data collected is accurate. What's the real problem you're trying to solve?</description>
    <pubDate>Wed, 17 Oct 2007 17:15:27 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2007-10-17T17:15:27Z</dc:date>
    <item>
      <title>TDC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tdc/m-p/4087749#M13504</link>
      <description>I was wondering if anyone had information about how the tdc collects disk I/O. After extracting the data collection file there are three fields for total bytes read. DSK.TDC_DSK_RD_IOCNT&lt;BR /&gt;DSK.TDC_DSK_RD_LOGIOCNT&lt;BR /&gt;DSK.TDC_DSK_RD_PHYIOCNT&lt;BR /&gt;&lt;BR /&gt;Does anyone what the difference between these three are. I cant seem to be able to generate any realistic data for disk reads and writes i have generated reads and writes and not seen any data that will recognize this. &lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Wed, 17 Oct 2007 15:34:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tdc/m-p/4087749#M13504</guid>
      <dc:creator>justin hales</dc:creator>
      <dc:date>2007-10-17T15:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: TDC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tdc/m-p/4087750#M13505</link>
      <description>justin,&lt;BR /&gt;&lt;BR /&gt;  Logical I/O is an I/O sent to the file system. It's specified in terms of file system structures. Physical I/O is directed at the physical disk. It's specified in terms of disk structure (obviously, a LOGIO is at some stage converted into a PHYIO, but I'd guess that PHYIOs generated as a result of a LOGIO are not counted in your statistics)&lt;BR /&gt;&lt;BR /&gt;  IOCNT count be the sum of LOGIO and PHYIO, or it could count all I/Os that are directed to the device, even if they're serviced by a cache somewhere along the way. (sorry, I don't know how TDC defines the fields, have you looked in the documentation?).&lt;BR /&gt;&lt;BR /&gt;What do you mean by "I cant seem to be able to generate any realistic data for disk reads and writes". What does your data look like, and why do you think it's unrealistic?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Make sure you remember that there are numerous layers of software between your programs and the disk surface. Thus, if you have a program that reads the same record in a file numerous times, there are potentially several places where that data might be cached, so even if you generate 100 reads, you may only see a single read I/O (indeed, you should hope that is the case!). Similarly, if you write the same record, or several nearby records, even numerous times, the updates may coalesce into a single write I/O.&lt;BR /&gt;&lt;BR /&gt; Disk I/O is comparatively VERY expensive, so software does it's best to only go out to disk when absolutely necessary (pop quiz... if we scale up the time it takes for a CPU to add 2 integers, calling it 1 second. On that time scale, how long does a disk read from a locally attached drive take?)&lt;BR /&gt;&lt;BR /&gt;You can trust that the data collected is accurate. What's the real problem you're trying to solve?</description>
      <pubDate>Wed, 17 Oct 2007 17:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tdc/m-p/4087750#M13505</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-10-17T17:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: TDC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tdc/m-p/4087751#M13506</link>
      <description>Thanks for your response&lt;BR /&gt;&lt;BR /&gt;What Im trying to do is to use the information from TDC to graph disk I/O. This will be very usefull to see what disks are used most and when.&lt;BR /&gt;&lt;BR /&gt;What ive been doing is running the data collector on a node and generating disk reads and writes in ten minute intervals(its a test node all its running is the data collector). I cant see any increase in reads or writes in the data. Also when I generate the graphs there is an average of about 20MB being written when nothing is running on the node except for the data collector.</description>
      <pubDate>Wed, 17 Oct 2007 17:50:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tdc/m-p/4087751#M13506</guid>
      <dc:creator>justin hales</dc:creator>
      <dc:date>2007-10-17T17:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: TDC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tdc/m-p/4087752#M13507</link>
      <description>justin,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Also when I generate the graphs there is &lt;BR /&gt;&amp;gt;an average of about 20MB being written &lt;BR /&gt;&amp;gt;when nothing is running on the node except &lt;BR /&gt;&amp;gt;for the data collector.&lt;BR /&gt;&lt;BR /&gt;  What do you suppose the data collector does with the data it collects? Ask Mr Heinsenberg ;-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;generating disk reads and writes in ten &lt;BR /&gt;&amp;gt;minute intervals(its a test node all its &lt;BR /&gt;&amp;gt;running is the data collector). I cant see &lt;BR /&gt;&amp;gt;any increase in reads or writes in the data&lt;BR /&gt;&lt;BR /&gt;  Try:&lt;BR /&gt;&lt;BR /&gt;$ SHOW MEM/CACHE/FULL&lt;BR /&gt;&lt;BR /&gt;  XFC is a wonderous thing. If there's nothing else running, there's LOTS of available memory to cache stuff. I know of a system that ran for an entire week with the system disk popped out of the storage shelf. Everything was handled out of cache.&lt;BR /&gt;&lt;BR /&gt;  It's VERY difficult to design a realistic benchmark program for disk I/O.</description>
      <pubDate>Wed, 17 Oct 2007 18:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tdc/m-p/4087752#M13507</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-10-17T18:06:19Z</dc:date>
    </item>
  </channel>
</rss>

