<?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: Real Time vs CPU time in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/288335#M59437</link>
    <description>Awesome - thanks a lot for the info.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Much appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;C.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 30 Jul 2016 15:00:41 GMT</pubDate>
    <dc:creator>Cobrad</dc:creator>
    <dc:date>2016-07-30T15:00:41Z</dc:date>
    <item>
      <title>Real Time vs CPU time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/287743#M59239</link>
      <description>&lt;P&gt;Dear SAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the difference between Real Time and CPU Time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What makes the one faster than the other? I have noticed in my log that sometimes when a data step runs quickly the CPU Time can be longer than the Real Time, but on the long/large run times the Real Time is always very much longer than the CPU Time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for you help!!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 09:22:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/287743#M59239</guid>
      <dc:creator>Cobrad</dc:creator>
      <dc:date>2016-07-28T09:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Real Time vs CPU time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/287776#M59252</link>
      <description>Quick/simple answer, but I am sure someone will provide a far more technical response.&lt;BR /&gt;&lt;BR /&gt;Real Time is the actual, real world, time that the step takes to run and will be the same as if you timed it with a stopwatch (not possible as you won't know the precise moment the step starts and stops).&lt;BR /&gt;&lt;BR /&gt;CPU Time is the amount of time the step utilises CPU resources. If the machine on which the step is running has only a single CPU then the total CPU time would always be less than than the real time.&lt;BR /&gt;&lt;BR /&gt;However, with multiple processor machines, the load is spread across multiple CPU's and the total CPU time (as reported on the log) may be longer than the real time, e.g. a data step may take 2.6 seconds of real time to execute but the load is spread across 4 CPUs, utilising 1 second of resource on each, so the CPU time will be 4 seconds, i.e. 1.4 seconds longer than the real time.&lt;BR /&gt;&lt;BR /&gt;The nature of the step will heavily influence the real and CPU times, processing data will utilise the CPU but data i/o will increase real time as the data is read from and written back to disk.&lt;BR /&gt;&lt;BR /&gt;There is a lot of information about performance techniques, utilising in-memory processing, etc., available on the web.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Thu, 28 Jul 2016 12:42:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/287776#M59252</guid>
      <dc:creator>rivieralad</dc:creator>
      <dc:date>2016-07-28T12:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Real Time vs CPU time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/287781#M59253</link>
      <description>Thanks Chris&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This really helps a lot!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Have a great day.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;C.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jul 2016 13:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/287781#M59253</guid>
      <dc:creator>Cobrad</dc:creator>
      <dc:date>2016-07-28T13:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Real Time vs CPU time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/287867#M59273</link>
      <description>&lt;P&gt;You might be interested in setting the system option FULLSTIMER for some jobs to show more performance related information. The default setting&amp;nbsp;is usually&amp;nbsp;NOFULLSTIMER .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If interested add:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options FULLSTIMER;&lt;/P&gt;
&lt;P&gt;before the data step or procedures you are interested in.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 16:24:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/287867#M59273</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-07-28T16:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Real Time vs CPU time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/288335#M59437</link>
      <description>Awesome - thanks a lot for the info.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Much appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;C.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 30 Jul 2016 15:00:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/288335#M59437</guid>
      <dc:creator>Cobrad</dc:creator>
      <dc:date>2016-07-30T15:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Real Time vs CPU time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/438528#M109352</link>
      <description>&lt;P&gt;Hello Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply. I have a question (or confusion) w.r.t. real time definition here. In my view, SAS has its Real World defined in terms of Code, CPUs, Memory, Network, Hardware etc. which in turn may be interacting with system say an Oracle database which has similar Real World. So, please correct me If I am wrong. I interpreted your answer as...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Real World is - When a user's program gets executed on SAS system and assume it is creating and printing a SAS DataSet by fetching some data from an Oracle database, then real world time means the total turn around time for the entire operation including Compile time, Syntax checking, Memory allocation, data set creation and so on until data is being printed and displayed to the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CPU Time is - For this entire set of activities, how much time is taken by CPU only? But isn't everything needs a CPU time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please guide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Sandeep&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 00:30:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/438528#M109352</guid>
      <dc:creator>sgarg-tester</dc:creator>
      <dc:date>2018-02-20T00:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Real Time vs CPU time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/438533#M109353</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;gt;But isn't everything needs a CPU time?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;No. Often, the CPU is waiting for the disk or the network, or even the RAM, and can't process anything. Idle CPU time is not CPU time.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 01:41:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Real-Time-vs-CPU-time/m-p/438533#M109353</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-02-20T01:41:35Z</dc:date>
    </item>
  </channel>
</rss>

