<?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: What MEMSIZE and SORTSIZE should I choose? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/453433#M114581</link>
    <description>I usually keep SORTSIZE closer to MEMSIZE, in you case perhaps 10GB. Nor sure why SAS have two seperate options?</description>
    <pubDate>Thu, 12 Apr 2018 02:54:19 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2018-04-12T02:54:19Z</dc:date>
    <item>
      <title>What MEMSIZE and SORTSIZE should I choose?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/453289#M114531</link>
      <description>&lt;P&gt;I have a DELL XPS 15 with 16gb of RAM and I would like to maximize the performance of SAS.&lt;/P&gt;&lt;P&gt;I have changed the MEMSIZE in the config file to 12 gb and SORTSIZE to 6GB. Would this be optimal? What other options should I change? How about REALMEMSIZE&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, is there a way to change MEMSIZE by running some code?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 16:52:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/453289#M114531</guid>
      <dc:creator>somebody</dc:creator>
      <dc:date>2018-04-11T16:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: What MEMSIZE and SORTSIZE should I choose?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/453324#M114540</link>
      <description>&lt;P&gt;As far as I know, Memsize allocation is a configuration/initialization option and not post-startup option.&lt;/P&gt;
&lt;P&gt;Therefore I don't think you can run code to change the memsize value. But I could stand corrected if otherwise,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 18:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/453324#M114540</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2018-04-11T18:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: What MEMSIZE and SORTSIZE should I choose?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/453433#M114581</link>
      <description>I usually keep SORTSIZE closer to MEMSIZE, in you case perhaps 10GB. Nor sure why SAS have two seperate options?</description>
      <pubDate>Thu, 12 Apr 2018 02:54:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/453433#M114581</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-04-12T02:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: What MEMSIZE and SORTSIZE should I choose?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/453512#M114602</link>
      <description>&lt;P&gt;Here are&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- &lt;A title="Configuration and Tuning Guidelines for SAS ® 9  in Microsoft Windows Server 2008" href="http://support.sas.com/resources/papers/WindowsServer2008ConfigurationandTuning.pdf" target="_self"&gt;Paper&lt;/A&gt; related to Configuration and Tuning Guidelines for SAS ® 9&amp;nbsp; in Microsoft Windows Server 2008, that may give you some ideas&lt;/P&gt;
&lt;P&gt;- &lt;A title="SAS® system option settings for best performance in UNIX and Windows environments" href="http://support.sas.com/kb/46/954.html" target="_self"&gt;SAS Tech Support Usage Note&lt;/A&gt; illustrating SAS® system option settings for best performance in UNIX and Windows environments&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 11:55:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/453512#M114602</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2018-04-12T11:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: What MEMSIZE and SORTSIZE should I choose?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/458321#M116290</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/98381"&gt;@somebody&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;MEMSIZE and SORTSIZE are totally different, and should not have the same value.&lt;/P&gt;
&lt;P&gt;See the schema &lt;A href="https://communities.sas.com/t5/General-SAS-Programming/What-s-the-meaning-of-value-MIN-and-MAX-of-SORTSIZE-system/m-p/371526#M47450" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Apr 2018 09:03:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/458321#M116290</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-04-29T09:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: What MEMSIZE and SORTSIZE should I choose?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/458402#M116328</link>
      <description>&lt;P&gt;Increasing your MEMSIZE and SORTSIZE settings to much higher values is unlikely to improve performance much. It will certainly improve performance if you have set them too small but in my experience SAS only uses the memory and sort size it requires for any particular job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tuning your SAS code is likely to have a much better payoff with regards to performance, the downside being the extra work required.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Apr 2018 22:27:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/458402#M116328</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-04-28T22:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: What MEMSIZE and SORTSIZE should I choose?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/458429#M116344</link>
      <description>&lt;P&gt;&amp;gt;Would this be optimal? What other options should I change?&lt;/P&gt;
&lt;P&gt;You need to use o&lt;FONT face="courier new,courier"&gt;ptions fullstimer&lt;/FONT&gt; and look at the log, to see where the bottlenecks in your process are.&lt;/P&gt;
&lt;P&gt;Are your table sorts all internal sorts (in memory only)?&lt;/P&gt;
&lt;P&gt;Is you CPU waiting for the disks to give it data?&lt;/P&gt;
&lt;P&gt;Or is the CPU the bottleneck?&lt;/P&gt;
&lt;P&gt;When you know where the bottleneck is, you start looking for solutions.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Apr 2018 10:04:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/458429#M116344</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-04-29T10:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: What MEMSIZE and SORTSIZE should I choose?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/458876#M116484</link>
      <description>&lt;P&gt;it is not really a bottleneck as it still ran with the default setting. However it was quite slow compared to after increasing the MEMSIZE and SORTSIZE. My dataset is quite large (&amp;gt;50gb) and sometimes I need to run regressions with fixed effects and double clustering. My experience is increasing the MEMSIZE helps my code to run a bit faster&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 00:09:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/458876#M116484</guid>
      <dc:creator>somebody</dc:creator>
      <dc:date>2018-05-01T00:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: What MEMSIZE and SORTSIZE should I choose?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/458878#M116486</link>
      <description>&lt;P&gt;For regressions on that kind of volume, you could try having REALMEMSIZE close to the total amount of available RAM, maybe around 14 GB depending on what else is running.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Option MEMSIZE should be larger still, since it includes the paging space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that option SUMSIZE only affects procedures&amp;nbsp;MEANS, OLAP, REPORT, SUMMARY, SURVEYFREQ, SURVEYLOGISTIC, SURVEYMEANS, and TABULATE, so not regressions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To see how much RAM is available for SAS to use at any point in time, you can run&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;%put Free RAM =&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;%sysfunc(putn(%sysfunc(getoption(xmrlmem))/1024**2,comma10.))MB;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 00:30:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-MEMSIZE-and-SORTSIZE-should-I-choose/m-p/458878#M116486</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-05-01T00:30:16Z</dc:date>
    </item>
  </channel>
</rss>

