<?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 PHREG is slow and not using available RAM and CPU in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/PHREG-is-slow-and-not-using-available-RAM-and-CPU/m-p/830199#M35570</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of our SAS users is using proc PHREG on a VM that has 4 vCPUs and 128GB RAM with the following config but code is running slow and only 7 GB RAM is in use out of 128. Ay Hypervisor level the consumed memory is almost 100%. Can it be because of the&amp;nbsp;&lt;SPAN&gt;MEMMAXSZ&amp;nbsp;value? Or something else?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-REALMEMSIZE 100G&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-MEMSIZE 102G&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-MAXMEMQUERY MAX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-BUFSIZE 16M&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-BUFNO 16&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-MEMMAXSZ 100G&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-SORTSIZE 100G&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-SUMSIZE 100G&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2022 23:39:40 GMT</pubDate>
    <dc:creator>jamilahmed</dc:creator>
    <dc:date>2022-08-24T23:39:40Z</dc:date>
    <item>
      <title>PHREG is slow and not using available RAM and CPU</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PHREG-is-slow-and-not-using-available-RAM-and-CPU/m-p/830199#M35570</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of our SAS users is using proc PHREG on a VM that has 4 vCPUs and 128GB RAM with the following config but code is running slow and only 7 GB RAM is in use out of 128. Ay Hypervisor level the consumed memory is almost 100%. Can it be because of the&amp;nbsp;&lt;SPAN&gt;MEMMAXSZ&amp;nbsp;value? Or something else?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-REALMEMSIZE 100G&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-MEMSIZE 102G&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-MAXMEMQUERY MAX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-BUFSIZE 16M&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-BUFNO 16&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-MEMMAXSZ 100G&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-SORTSIZE 100G&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-SUMSIZE 100G&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 23:39:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PHREG-is-slow-and-not-using-available-RAM-and-CPU/m-p/830199#M35570</guid>
      <dc:creator>jamilahmed</dc:creator>
      <dc:date>2022-08-24T23:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: PHREG is slow and not using available RAM and CPU</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PHREG-is-slow-and-not-using-available-RAM-and-CPU/m-p/830249#M35578</link>
      <description>Have you seen this page&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/A-method-to-speed-up-PROC-PHREG-when-doing-a-Cox-regression/ta-p/223571" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/A-method-to-speed-up-PROC-PHREG-when-doing-a-Cox-regression/ta-p/223571&lt;/A&gt; and the thread &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/my-phreg-takes-forever-to-run/td-p/236496" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/my-phreg-takes-forever-to-run/td-p/236496&lt;/A&gt;?&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Aug 2022 09:28:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PHREG-is-slow-and-not-using-available-RAM-and-CPU/m-p/830249#M35578</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2022-08-25T09:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: PHREG is slow and not using available RAM and CPU</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PHREG-is-slow-and-not-using-available-RAM-and-CPU/m-p/830455#M35580</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/3492"&gt;@JosvanderVelden&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I will suggest these pages to the SAS users.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 23:16:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PHREG-is-slow-and-not-using-available-RAM-and-CPU/m-p/830455#M35580</guid>
      <dc:creator>jamilahmed</dc:creator>
      <dc:date>2022-08-25T23:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: PHREG is slow and not using available RAM and CPU</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PHREG-is-slow-and-not-using-available-RAM-and-CPU/m-p/830460#M35581</link>
      <description>&lt;P&gt;Check CPU usage while the program is running. Is it using close to 100% or not? If it is close to 100% then the program is CPU bound and memory usage is not the issue. How large is the dataset being analysed (number of rows and columns)? IO can be an issue for large datasets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also check the CPU time versus real time figures reported for PHREG in the SAS log. Again if CPU time is similar to the real time then PHREG has a CPU bottleneck. If real time is much greater than CPU time then that suggests IO is the bottleneck.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 01:13:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PHREG-is-slow-and-not-using-available-RAM-and-CPU/m-p/830460#M35581</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-08-26T01:13:55Z</dc:date>
    </item>
  </channel>
</rss>

