<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>reflections.concept-delivery.com&#187; performance</title>
	<atom:link href="http://reflections.concept-delivery.com/tag/performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://reflections.concept-delivery.com</link>
	<description>Reflections on delivering your concepts.</description>
	<lastBuildDate>Tue, 28 Apr 2009 21:44:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Sorting: bufsize and sortsize</title>
		<link>http://reflections.concept-delivery.com/2009/03/sorting-bufsize-and-sortsize/</link>
		<comments>http://reflections.concept-delivery.com/2009/03/sorting-bufsize-and-sortsize/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 22:18:59 +0000</pubDate>
		<dc:creator>Reflections</dc:creator>
				<category><![CDATA[SAS]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://reflections.concept-delivery.com/?p=308</guid>
		<description><![CDATA[Initial results for sorting data suggest that a small sortsize improves sortation, whilst the time taken is largely independent of the buffer size (bufsize) used to create the file. These are only initial findings &#8211; based on a single set of observations for one size of dataset &#8211; and these taken on a day when [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://concept-delivery.com/_reflections/wp-content/uploads/2009/03/sortspeed-150x150.jpg" alt="sortspeed" title="sortspeed" width="150" height="150" class="alignnone size-thumbnail wp-image-304" />Initial <a href="http://reflections.concept-delivery.com/about/sas/sas-performance/buffer-size-and-sorting-data/">results for sorting data</a> suggest that a small <code>sortsize</code> improves sortation, whilst the time taken is largely independent of the buffer size (<code>bufsize</code>) used to create the file.</p>
<p>These are only initial findings &#8211; based on a single set of observations for one size of dataset &#8211; and these taken on a day when the server complained of memory problems.</p>
<p>Curious!</p>
<p>I will update this page when I have more confidence in the results</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/performance' rel='tag' target='_self'>performance</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://reflections.concept-delivery.com/2009/03/sorting-bufsize-and-sortsize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting data into memory</title>
		<link>http://reflections.concept-delivery.com/2009/01/getting-data-into-memory/</link>
		<comments>http://reflections.concept-delivery.com/2009/01/getting-data-into-memory/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 16:09:38 +0000</pubDate>
		<dc:creator>Reflections</dc:creator>
				<category><![CDATA[SAS]]></category>
		<category><![CDATA[buffers]]></category>
		<category><![CDATA[bufno]]></category>
		<category><![CDATA[bufsize]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://reflections.concept-delivery.com/?p=28</guid>
		<description><![CDATA[Buffers seem to be the first step, specifically the bufsize and bufno system options. These tell SAS&#174; how much data is read into memory: bufsize sets the size of a page in the file cache and bufno sets the number of pages to be read in one go. The product gives the memory requirement: bufsize [...]]]></description>
			<content:encoded><![CDATA[<p>Buffers seem to be the first step, specifically the <code>bufsize</code> and <code>bufno</code> system options. </p>
<p>These tell <a href="http://reflections.concept-delivery.com/?page_id=74">SAS&reg;</a> how much data is read into memory: <code>bufsize</code> sets the size of a page in the file cache and <code>bufno</code> sets the number of pages to be read in one go.<br />
<span id="more-28"></span><br />
The product gives the memory requirement: <code>bufsize</code> x <code>bufno</code>.</p>
<p>After extensive testing, see <i><a href="http://reflections.concept-delivery.com/?page_id=34">Buffer size and CPU time</i></a> for details, it appears that using the full 2GB produces the best results, but is a very greedy way of accomplishing a good result. It seems that for our set up a memory allocation of 256MB produces results that are nearly as good, and the best settings for this are achieved with <code>bufsize = 256M</code> and <code>bufno = 1024</code>. </p>
<p>Incidentally, 256MB seems to be a useful number to know as it works well as the <code>sortsize</code> setting for sorting.</p>
<p>The idea behind the testing was the SAS technical note <a href="http://support.sas.com/resources/papers/IOthruSGIO.pdf">Achieving Better I/O Throughput Using SGIO</a>. </p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/buffers' rel='tag' target='_self'>buffers</a>, <a class='technorati-link' href='http://technorati.com/tag/bufno' rel='tag' target='_self'>bufno</a>, <a class='technorati-link' href='http://technorati.com/tag/bufsize' rel='tag' target='_self'>bufsize</a>, <a class='technorati-link' href='http://technorati.com/tag/data' rel='tag' target='_self'>data</a>, <a class='technorati-link' href='http://technorati.com/tag/memory' rel='tag' target='_self'>memory</a>, <a class='technorati-link' href='http://technorati.com/tag/performance' rel='tag' target='_self'>performance</a>, <a class='technorati-link' href='http://technorati.com/tag/SAS' rel='tag' target='_self'>SAS</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://reflections.concept-delivery.com/2009/01/getting-data-into-memory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Performance considerations for SAS</title>
		<link>http://reflections.concept-delivery.com/2009/01/performance-considerations-for-sas/</link>
		<comments>http://reflections.concept-delivery.com/2009/01/performance-considerations-for-sas/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 15:07:41 +0000</pubDate>
		<dc:creator>Reflections</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[SAS]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[v8]]></category>

		<guid isPermaLink="false">http://reflections.concept-delivery.com/?p=25</guid>
		<description><![CDATA[Having recently taken over as SAS&#174; admin, I&#8217;m having fun and games trying to establish quite what is where, &#8230;, and why. We&#8217;re using v8, planning to upgrade to v9 shortly, and the box seems very slow. This may be because the server is doing more work &#8211; more users and larger datasets than I [...]]]></description>
			<content:encoded><![CDATA[<p>Having recently taken over as <a href="http://reflections.concept-delivery.com/?page_id=74">SAS&reg;</a> admin, I&#8217;m having fun and games trying to establish quite what is where, &#8230;, and why. </p>
<p>We&#8217;re using v8, planning to upgrade to v9 shortly, and the box seems very slow. This may be because the server is doing more work &#8211; more users and larger datasets than I was used to &#8211; but nonetheless it seems a little sluggish and I&#8217;m suspicious of Win2k3, having been happy with Unix.<br />
<span id="more-25"></span><br />
I&#8217;ve been reading up on performance and, to put it gently, there seems to be an opportunity to tune the system.</p>
<p>Firstly memory usage: our system has 3.2GB of memory but performance counters on the server suggest that only a fraction of this (say a tenth to a quarter) is used at any one time. </p>
<p>Paging: performance monitor logs show cache file usage and paging is very high &#8211; typically in the thousands. This is more to do with the way SAS reads data, a page at a time via the file cache, than a memory issue. Nonetheless I would be keen to bring this figure down as I&#8217;m concerned that the high usage stats may be creating a bottle-neck.</p>
<p>Looking into this further revealed that a typical SAS session, running on the server, uses about 12MB of memory. At this rate we could comfortably accomodate two hundred users &#8211; we currently have closer to thirty and it unusual to have more than twenty sessions running concurrently. </p>
<p>My plan: to <strong>increase</strong> memory usage so we can <a href="http://reflections.concept-delivery.com/?p=28">get data into memory</a> quickly.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/config' rel='tag' target='_self'>config</a>, <a class='technorati-link' href='http://technorati.com/tag/performance' rel='tag' target='_self'>performance</a>, <a class='technorati-link' href='http://technorati.com/tag/SAS' rel='tag' target='_self'>SAS</a>, <a class='technorati-link' href='http://technorati.com/tag/v8' rel='tag' target='_self'>v8</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://reflections.concept-delivery.com/2009/01/performance-considerations-for-sas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

