<?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>Solutions Log &#187; performance</title>
	<atom:link href="http://solutions.unixsherpa.com/tag/performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutions.unixsherpa.com</link>
	<description>by Dan Reiland</description>
	<lastBuildDate>Fri, 16 Apr 2010 20:28:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Disable Spotlight in Mac OS X 10.6 Snow Leopard</title>
		<link>http://solutions.unixsherpa.com/2009/10/01/disable-spotlight-in-mac-os-x-10-6-snow-leopard/</link>
		<comments>http://solutions.unixsherpa.com/2009/10/01/disable-spotlight-in-mac-os-x-10-6-snow-leopard/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 19:22:06 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Apple OSX]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[spotlight]]></category>
		<category><![CDATA[text processing]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=201</guid>
		<description><![CDATA[On occasion I need to process large volumes of text locally. Spotlight dutifully attempts to index this data, bringing my system to a crawl. Proactively disabling Spotlight is a sure way to avoid such issues and here is how to do it: Disabling Spotlight in Snow Leopard is pretty easy, launch the Terminal and type [...]]]></description>
			<content:encoded><![CDATA[<p>On occasion I need to process large volumes of text locally. Spotlight dutifully attempts to index this data, bringing my system to a crawl.</p>
<p>Proactively disabling Spotlight is a sure way to avoid such issues and here is how to do it:</p>
<p>Disabling Spotlight in Snow Leopard is pretty easy, launch the Terminal and type the following command:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> mdutil <span style="color: #660033;">-a</span> <span style="color: #660033;">-i</span> off</div></div>
<p>This tells the Spotlight manager to disable all indexing on all volumes, the command will require your administrative password to execute.</p>
<p>Re-enabling Spotlight in Mac OS X 10.6 Snow Leopard is just as easy, just reverse the command to:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> mdutil <span style="color: #660033;">-a</span> <span style="color: #660033;">-i</span> on</div></div>
<p>Now Spotlight indexing will be back on and work as usual.</p>
<p><strong>NOTE:</strong> mds and mdsworker will persist in the process table; this is normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/10/01/disable-spotlight-in-mac-os-x-10-6-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable opportunistic locking with Sun SMB service on Solaris Nevada</title>
		<link>http://solutions.unixsherpa.com/2009/07/08/enable-opportunistic-locking-with-sun-smb-service-on-solaris-nevada/</link>
		<comments>http://solutions.unixsherpa.com/2009/07/08/enable-opportunistic-locking-with-sun-smb-service-on-solaris-nevada/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 23:13:01 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[cifs]]></category>
		<category><![CDATA[nevada]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[snv]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=80</guid>
		<description><![CDATA[The primary reason for implementing this is performance. From Microsoft: Opportunistic locking (oplock) is a mechanism that allows a server to tell a client process that a requested file is only being used by that process. The client can safely do read-ahead and write-behind as well as local caching, knowing that the file will not [...]]]></description>
			<content:encoded><![CDATA[<p>The primary reason for implementing this is performance.</p>
<p>From Microsoft:</p>
<blockquote><p>
Opportunistic locking (oplock) is a mechanism that allows a server to tell a client process that a requested file is only being used by that process. The client can safely do read-ahead and write-behind as well as local caching, knowing that the file will not be accessed or changed in any way by another process while the opportunistic lock is in effect. The server notifies the client when a second process attempts to open or modify the locked file.<br />
Reference: <a href="http://msdn.microsoft.com/en-us/library/dd327670.aspx">http://msdn.microsoft.com/en-us/library/dd327670.aspx</a>
</p></blockquote>
<p>The snippet:</p>
<pre>
svccfg -s smb/server setprop smbd/oplock_enable=boolean: true
</pre>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/07/08/enable-opportunistic-locking-with-sun-smb-service-on-solaris-nevada/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
