<?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: TIme stamp accuracy in Itanium in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/time-stamp-accuracy-in-itanium/m-p/5897209#M102983</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check out the following excellent OpenVMS techincal Journal #15 article.&lt;/P&gt;&lt;P&gt;Come back when questions remain&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://h71000.www7.hp.com/openvms/journal/v15/consistency_check.pdf" target="_blank"&gt;http://h71000.www7.hp.com/openvms/journal/v15/consistency_check.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hth,&lt;/P&gt;&lt;P&gt;Hein.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Dec 2012 12:40:34 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2012-12-12T12:40:34Z</dc:date>
    <item>
      <title>TIme stamp accuracy in Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-stamp-accuracy-in-itanium/m-p/5896809#M102982</link>
      <description>&lt;P&gt;I have extracted this statement from HoffmanLabs about time stamp accuracy:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="courier new,courier" size="2"&gt;The VAX hardware interrupts occur at &lt;STRONG&gt;centisecond (10 millisecond; 10 ms&lt;/STRONG&gt;) intervals.&amp;nbsp; The centisecond is the limit of the accuracy, though the precision of the quadword time storage is 100 nanoseconds (100 ns).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="courier new,courier"&gt;Alpha system hardware can interrupt at and can update the time at a rate of &lt;STRONG&gt;1024 ticks per second&lt;/STRONG&gt;, and those Alpha systems that do this can then periodically employ what is called an “accuracy bonus” to cause the average tick rate to be 1000 ticks per second; the same as VAX.&amp;nbsp; This means that both the accuracy is less than the precision of the time values, and that there's a very slight drift within the time values, until the drift is reset with the next &amp;amp;ldqup;accuracy bonus”.&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So VAX and Alpha have a&amp;nbsp;centisecond (10ms) accuracy?&amp;nbsp; Time stamps in files have centiseconds accuracy only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does Itanium have the same centisecond accuracy even if the precision is in nanoseconds (ns)? How many ticks per second can Itanium do to update the time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Noel&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 03:56:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-stamp-accuracy-in-itanium/m-p/5896809#M102982</guid>
      <dc:creator>Gesmundo</dc:creator>
      <dc:date>2012-12-12T03:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: TIme stamp accuracy in Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-stamp-accuracy-in-itanium/m-p/5897209#M102983</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check out the following excellent OpenVMS techincal Journal #15 article.&lt;/P&gt;&lt;P&gt;Come back when questions remain&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://h71000.www7.hp.com/openvms/journal/v15/consistency_check.pdf" target="_blank"&gt;http://h71000.www7.hp.com/openvms/journal/v15/consistency_check.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hth,&lt;/P&gt;&lt;P&gt;Hein.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 12:40:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-stamp-accuracy-in-itanium/m-p/5897209#M102983</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2012-12-12T12:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: TIme stamp accuracy in Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-stamp-accuracy-in-itanium/m-p/5897717#M102984</link>
      <description>&lt;P&gt;Noel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Your questions&amp;nbsp;confuse "Precision" and "Accuracy" (not helped by the text you've quoted using both terms apparently interchangeably).&amp;nbsp;Percision and Accuracy&amp;nbsp;are very different things, please think about what you really want to ask.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Precision" is the smallest time difference&amp;nbsp;that the system can/will discriminate.&amp;nbsp;For OpenVMS&amp;nbsp;standard&amp;nbsp;time services the theoretical precision is 100nsec (the definition of the data type), but in practice&amp;nbsp;it's 10msec (the actual interval at which&amp;nbsp;clock&amp;nbsp;is&amp;nbsp;incremented). The article Hein refers to discusses new services&amp;nbsp;on Itanium&amp;nbsp;which can return higher precision times, but says nothing about Accuracy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Accuracy" refers to how closely the time tracks some reference source (with all the theoretical issues surrounding comparison of clocks, cue Mr Einstein)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding &amp;nbsp;"Timestamp accuracy"&amp;nbsp; I'm assuming you mean precision? As far as I know the file system uses the lower precision time services, so the precision&amp;nbsp;of file system time stamps is, in practice,&amp;nbsp;10msec. I don't expect that to change, but, in theory, you could write code which uses the higher precision time services to write your own time stamps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding accuracy, you'll need to look further. From memory, the architected accuracy is 0.01% for the software clock and 0.005% for hardware, both of which&amp;nbsp;are rather poor when compared with (say) a standard wristwatch. Again from memory, I believe the software clock can drift by as much as 8 seconds per day and still be within architected tolerance. In practice&amp;nbsp;systems&amp;nbsp;usually perform much better, especially if you use a time sync service, like NTP. You need to remember that your computer is NOT a chronometer (on the other hand, those tolerances were set back in the 1970's, so the cost and&amp;nbsp;performance of hardware have both&amp;nbsp;improved significantly)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The costs of&amp;nbsp;improving accuracy is typically exponential, so manufacturers choose a compromise&amp;nbsp;which minimises cost and meet the expected requirements of a majority of customers. If you have specific requirements&amp;nbsp;for higher accuracy, you can purchase external time sources which improve accuracy (but not precision).&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 21:02:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-stamp-accuracy-in-itanium/m-p/5897717#M102984</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2012-12-12T21:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: TIme stamp accuracy in Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-stamp-accuracy-in-itanium/m-p/5898589#M102985</link>
      <description>&lt;P&gt;To John: the cited text intends to use the terms "precision" (fractional digits) and "accuracy" (correctness) quite carefully; following what you write. &amp;nbsp; &amp;nbsp;If you should see an error with the usage on that page, please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To Hein: thanks for the link. &amp;nbsp;I've added that as a comment to the web page &amp;lt;&lt;A target="_blank" href="http://labs.hoffmanlabs.com/node/735"&gt;http://labs.hoffmanlabs.com/node/735&lt;/A&gt;&amp;gt; the OP was copying text from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To the OP: In general, what is the application? &amp;nbsp;If you're writing stuff to a log file, timestamps - whether precise or not, and whether accurate or not - tend to be problematic at best. &amp;nbsp;It can be better to use a counter as the identifier, and maintain the timestamp separately within the record. &amp;nbsp;The counter gives you the order, while the timestamp gives you an index into the host's view of "when" something happened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're dealing with different sorts of tracking, there might be different time bases that could be useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VMS timekeeping is somewhat of a mess &amp;lt;&lt;A target="_blank" href="http://labs.hoffmanlabs.com/node/124"&gt;http://labs.hoffmanlabs.com/node/124&lt;/A&gt;&amp;gt;, and it &amp;nbsp;pays to know the details of that. &amp;nbsp;While the VMS clock-drifting mechanism won't ever set the time backwards, it does alter the "ticking" to improve the accuracy. &amp;nbsp;The clock can be set backwards by the operator, or by the daylight saving time mechanisms. &amp;nbsp;When working with a cluster, the member hosts within a cluster can have slightly different time values, which means that a time value used as an index might not have the intended result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within a cluster, it's also feasible to have two identical timestamps. &amp;nbsp;That's a shade easier with the lower-accuracy timestamps, but it's still possible with the higher-accuracy timekeeping.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you need accuracy, the VMS hardware and software clocks stink. &amp;nbsp;You'll need to use an external time base.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're looking at the precision, then maybe something like a GUID or UUID value might be a better choice as a "unique" number. &amp;nbsp;Or a counter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And a request: &amp;nbsp;p&lt;SPAN&gt;lease consider reporting confusion about or errors with the text directly to the web site. &amp;nbsp;Whether reports of questions or confusion posted over here get noticed is far from certain. &amp;nbsp;(It was more a case of luck that I saw this, as I don't follow HPEB.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2012 18:29:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-stamp-accuracy-in-itanium/m-p/5898589#M102985</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2012-12-13T18:29:45Z</dc:date>
    </item>
  </channel>
</rss>

