<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Jignesh Shah&#039;s Blog</title>
	<atom:link href="http://jkshah.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jkshah.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 21 Jan 2010 00:58:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jkshah.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/8b6b3986a673789ef9aa15f09fe2dd77?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Jignesh Shah&#039;s Blog</title>
		<link>http://jkshah.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jkshah.wordpress.com/osd.xml" title="Jignesh Shah&#039;s Blog" />
	<atom:link rel='hub' href='http://jkshah.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Sun rules in PeopleSoft NA Payroll Benchmarks</title>
		<link>http://jkshah.wordpress.com/2010/01/20/sun-rules-in-peoplesoft-na-payroll-benchmarks/</link>
		<comments>http://jkshah.wordpress.com/2010/01/20/sun-rules-in-peoplesoft-na-payroll-benchmarks/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 00:58:31 +0000</pubDate>
		<dc:creator>jkshah</dc:creator>
				<category><![CDATA[Sun Solutions]]></category>

		<guid isPermaLink="false">http://jkshah.wordpress.com/2010/01/20/sun-rules-in-peoplesoft-na-payroll-benchmarks/</guid>
		<description><![CDATA[Sun previously had published record numbers with PeopleSoft NA Payroll&#160; 240K benchmark using Sun F5100 Flash Storage Array&#160;.&#160; However Giri just announced a follow-on benchmark which beats even that number using twice the number of streams using the Sun Enterprise M4000 server&#160;and Sun F5100 Flash Storage Array. Read more&#160;on Giri Mandalika&#8217;s blog. &#160; &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=315&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sun previously had published record numbers with <a href="http://www.oracle.com/apps_benchmark/doc/peoplesoft/performance-report/PS9-NA-PAY-9_ORA_Sun_M4000.pdf">PeopleSoft NA Payroll&nbsp; 240K benchmark using Sun F5100 Flash Storage Array</a>&nbsp;.&nbsp; However <a href="http://blogs.sun.com/mandalika">Giri</a> just announced a follow-on <a href="http://blogs.sun.com/mandalika/entry/peoplesoft_na_payroll_240k_ee">benchmark which beats even that number</a> using twice the number of streams using the <a href="http://www.oracle.com/apps_benchmark/doc/ps9-na-pay-9_16_ora_sun_m4000.pdf">Sun Enterprise M4000 server&nbsp;and Sun F5100 Flash Storage Array</a>. </p>
<p>Read more&nbsp;on <a href="http://blogs.sun.com/mandalika/entry/peoplesoft_na_payroll_240k_ee">Giri Mandalika&#8217;s blog</a>.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jkshah.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jkshah.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jkshah.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jkshah.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jkshah.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jkshah.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jkshah.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jkshah.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jkshah.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jkshah.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jkshah.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jkshah.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jkshah.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jkshah.wordpress.com/315/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=315&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jkshah.wordpress.com/2010/01/20/sun-rules-in-peoplesoft-na-payroll-benchmarks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3125dfab0ff80ed3c8b661ad5427a50c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jkshah</media:title>
		</media:content>
	</item>
		<item>
		<title>New Year, New Role and New Build</title>
		<link>http://jkshah.wordpress.com/2010/01/13/new-year-new-role-and-new-build/</link>
		<comments>http://jkshah.wordpress.com/2010/01/13/new-year-new-role-and-new-build/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 03:00:00 +0000</pubDate>
		<dc:creator>jkshah</dc:creator>
				<category><![CDATA[OpenSolaris]]></category>

		<guid isPermaLink="false">http://jkshah.wordpress.com/2010/01/13/new-year-new-role-and-new-build/</guid>
		<description><![CDATA[Happy New Year.&#160;Its a new year&#160;and I have started a new role in Applications Integration Engineering which is part of the Sun Storage 7000 &#8211; Unified Storage Systems group. AIE&#8217;s main charter is to integrate ISV products with Sun Storage 7000 family. I hope to continue working with databases and other applications and specially how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=316&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Happy New Year.&nbsp;Its a new year&nbsp;and I have started a new role in Applications Integration Engineering which is part of the <a href="http://www.sun.com/storage/disk_systems/unified_storage/index.jsp">Sun Storage 7000 &#8211; Unified Storage Systems</a> group. AIE&#8217;s main charter is to integrate ISV products with Sun Storage 7000 family. I hope to continue working with databases and other applications and specially how it interacts and integrates with the FISHworks based products. Years ago, interestingly, I don&#8217;t think I would have recommended NFS to be used with any database application. But looks like it is now way more stabilized in its current form. Then there is also iSCSI. But there is yet another way to connect to these systems soon which I think is more attractive to me and maybe even other database folks at large. More about that when time is right.</p>
<p>&nbsp;Anyway with the new role, I thought it was time to update my existing OpenSolaris (b128a) to the latest OpenSolaris build 130. I must admit this has been the first OpenSolaris upgrade which was not as smooth as expected. First things first I got hit with bug with the naming of /dev repository. I first heard about the bug from <a href="/drapeau/entry/opensolaris_bug_and_workaround_package">George Drapeau</a> but even though I worked around it I could still not upgrade to the latest build.&nbsp; Then I heard from <a href="/mandy/">Mandy</a> about the problem that if I had ever installed from /contrib repository I could still not upgrade to the latest build with the changed /dev name. I uninstalled all the software from /contrib and crossing my fingers the pkg image-update command still failed. Of course I then realized I probably had couple of packages from the /pending repository and even the Sun /extra repository. Uninstalling all the extra software was not fun but still the darn thing did not upgrade. Finally gave up and read about this forced upgrade using -f&nbsp; as follows</p>
<p><font face="courier new,courier,monospace"># pkg image-update -f</font></p>
<p>and it worked. It started downloading the updates and finally created a new boot environment with the new build.</p>
<p>However the reboot to the new environment just stuck at the graphical boot with the orange bar going from left to right. After 5 minutes I killed the power and rebooted and this time used &quot;e&quot; on the grub menu and deleted the splashfile, foreground and background lines and changed the kernel boot line from console=graphics to console=text and pressed &quot;b&quot; to boot using the modified grub entry. I figured out that the X server refused to start. Cutting a long story short (it actually took me almost a day) to figure a simple solution, re-move my custom <font face="courier new,courier,monospace">/etc/X11/xorg.conf</font> (which I was forced to create few upgrades (b111a)&nbsp;&nbsp;ago) so the X server can use its new defaults to start without any problems.</p>
<p>Of course that worked till I got the login and when I entered my login information, I ended with a white screen. Arrg yet another <a href="http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6912450">bug</a>. Reading the mailing list got the following solution</p>
<p><font size="2" face="courier new,courier,monospace">$ pfexec /usr/sbin/unlink /usr/lib/xorg/modules/extensions/GL<br />$ pfexec ln -s ../../../../../var/run/opengl/server /usr/lib/xorg/modules/extensions/GL</font></p>
<p>With the above changes, finally rebooting the desktop&nbsp;into fresh working build 130 of OpenSolaris and I was ready to try out the&nbsp;new Thunderbird 3.0 and&nbsp;Firefox 3.5. Of course AWN (the mac like dock) worked for most part but the dock preferences refused to start. I did file a bug and it seems that it will be fixed in b131 but the quick&nbsp;fix is to edit</p>
<p><font face="courier new,courier,monospace">/usr/bin/awn-manager</font> and replace the first line</p>
<p><font face="courier new,courier,monospace">#!/usr/bin/python</font></p>
<p>to</p>
<p><font face="courier new,courier,monospace">#!/usr/bin/python2.6</font></p>
<p>and that should allow you to see your AWN dock preferences once again.</p>
<p>If you ask me was it worth all the pain to upgrade to this new version. My simple answer is yes</p>
<p>Few thing fixed for me:</p>
<ul>
<li>The new login screen is much nicer (in last few builds I could hardly read what I was typing in the login name text field on a widescreen monitor. </li>
<li>On build 128a I saw that the screen saver unlock screen was taking a long time to respond which seems to have gone away with this build. </li>
<li>I like the full text search capabilities of Thunderbird 3.0 </li>
</ul>
<p>Of course your reasons may be different then mine to upgrade and who knows build 131 might be out soon in next week or two then it probably might be a smoother upgrade if you can wait for it. (I can&#8217;t.)</p></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jkshah.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jkshah.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jkshah.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jkshah.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jkshah.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jkshah.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jkshah.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jkshah.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jkshah.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jkshah.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jkshah.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jkshah.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jkshah.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jkshah.wordpress.com/316/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=316&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jkshah.wordpress.com/2010/01/13/new-year-new-role-and-new-build/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3125dfab0ff80ed3c8b661ad5427a50c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jkshah</media:title>
		</media:content>
	</item>
		<item>
		<title>Accelerate your Payroll Performance with F20 PCIe Card</title>
		<link>http://jkshah.wordpress.com/2009/10/12/accelerate-your-payroll-performance-with-f20-pcie-card/</link>
		<comments>http://jkshah.wordpress.com/2009/10/12/accelerate-your-payroll-performance-with-f20-pcie-card/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 03:00:00 +0000</pubDate>
		<dc:creator>jkshah</dc:creator>
				<category><![CDATA[Sun Solutions]]></category>

		<guid isPermaLink="false">http://jkshah.wordpress.com/2009/10/12/accelerate-your-payroll-performance-with-f20-pcie-card/</guid>
		<description><![CDATA[I guess you already heard about Sun Storage F5100 Flash Array and its world record benchmarks.&#160;&#160; But it&#8217;s not F5100 that I am going to talk about but its smaller sibling called Sun Flash Accelerator F20 PCIe Card.&#160; The name is a mouthful like all Sun product names so I will just call it &#34;The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=317&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I guess you already heard about <a href="http://www.sun.com/storage/disk_systems/sss/f5100/">Sun Storage F5100 Flash Array</a> and its <a href="http://finance.yahoo.com/news/Sun-Microsystems-Unveils-bw-1927975107.html?x=0&amp;.v=1">world record benchmarks</a>.&nbsp;&nbsp;</p>
<p>But it&#8217;s not F5100 that I am going to talk about but its smaller sibling called <a href="http://www.sun.com/storage/disk_systems/sss/f20/">Sun Flash Accelerator F20 PCIe Card</a>.&nbsp; The name is a mouthful like all Sun product names so I will just call it &quot;The Accelerator Card&quot; in the remainder of this blog entry.&nbsp; Of course the idea is not to start with the answer and find a problem with it. But I am going to narrate&nbsp; is how we saw a problem and then thought of using this answer to solve the problem.</p>
<p>Recently our group <a href="/isve/entry/isv_engineering">ISV-E</a> was doing our standard thing of&nbsp; <a href="/jkshah/entry/improving_opensolaris_for_open_source">making applications run best on Sun</a>. In this particular project with PeopleSoft Enterprise 9.0 on M5000 system using Sun Storage 6540, we encountered a problem that certain batch jobs where taking a long time to execute. Peoplesoft Enterprise 9.0 actually have ways to breakup jobs and run them in parallel so as to use the multi-core of the multi-processor system. But yet we could not really leverage the system enough to be satisfactory.&nbsp; In this project they were using Oracle Database 11g. I got to give it to Oracle, they do have good tools. We used Oracle Enterprise Manager and saw for the troubled batch process, it was showing lot of blue color in its output.</p>
</p>
<p><img src="http://jkshah.wordpress.com/Payroll-OEM.jpg" /></p>
</p>
<p>Also looking at the top Objects, the tool reported which tables and index were&nbsp; troublesome which was causing that amount of blue appear in the chart. This &quot;Blue&quot; problem is what led us to an idea to test out the Accelerator Card in the system and see if can help out here. What we did was created a few tablespaces and spread them out on the four Flash Modules on the Accelerator Card and moved the highly active (or &quot;hot&quot; ) tables and indices to the newly created tablespace. What we saw was simply huge reduction in the blue area and more green. That lead to the slogan in our team</p>
<p><i>&quot;Go Green with the Accelerator Card !&quot;</i> </p>
<p>The Accelerator card not only reduced the time on this process but many other batch processes which had high IO components.&nbsp; Here is a relative comparison of how it helped (with additional slight boost from upgrading SPARC64 VII from 2.4Ghz to 2.53Ghz CPUs).</p>
<p><img src="http://jkshah.wordpress.com/Payroll-Results.jpg" /></p>
</p>
<p>Of course the next question is what if you take the same thing to its bigger sibling, Sun Storage F5100 Flash Array, well that&#8217;s exactly what we did and as they say the rest is history.(Hint: Read the <a href="http://finance.yahoo.com/news/Sun-Microsystems-Unveils-bw-1927975107.html?x=0&amp;.v=1">world records</a> link and search for PeopleSoft)&nbsp; For more information check out Vince&#8217;s blog entry on&nbsp;<a href="/BestPerf/entry/oracle_peoplesoft_payroll_sun_sparc"> PeopleSoft Enterprise Payroll 9.0 NA</a> and also&nbsp; <a href="/BestPerf/entry/why_sun_storage_f5100_is">Why Sun Storage F5100 is good for PeopleSoft 9.0 NA Payroll application</a>.</p>
<p>Truly if you use Oracle and use Oracle Enterprise Manager to monitor your application performance and are turning blue by seeing lot of Blue area in the chart then just remember </p>
<p><i>&quot;Go Green with the Accelerator Card !&quot;</i></p>
<p></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jkshah.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jkshah.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jkshah.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jkshah.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jkshah.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jkshah.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jkshah.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jkshah.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jkshah.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jkshah.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jkshah.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jkshah.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jkshah.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jkshah.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=317&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jkshah.wordpress.com/2009/10/12/accelerate-your-payroll-performance-with-f20-pcie-card/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3125dfab0ff80ed3c8b661ad5427a50c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jkshah</media:title>
		</media:content>

		<media:content url="http://jkshah.wordpress.com/Payroll-OEM.jpg" medium="image" />

		<media:content url="http://jkshah.wordpress.com/Payroll-Results.jpg" medium="image" />
	</item>
		<item>
		<title>Infobright Tuning on OpenSolaris/Solaris 10</title>
		<link>http://jkshah.wordpress.com/2009/09/14/infobright-tuning-on-opensolarissolaris-10/</link>
		<comments>http://jkshah.wordpress.com/2009/09/14/infobright-tuning-on-opensolarissolaris-10/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 03:00:00 +0000</pubDate>
		<dc:creator>jkshah</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://jkshah.wordpress.com/2009/09/14/infobright-tuning-on-opensolarissolaris-10/</guid>
		<description><![CDATA[Recently I was working on a project which used Infobright as the database. The version tested was 3.1.1 both on OpenSolaris as well as Solaris 10. Infobright is like a column-oriented database engine for MySQL primarily targeted towards data warehouse, data mining type of project deployments. While everything was working as expected, one thing we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=318&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I was working on a project which used <a href="http://www.infobright.com">Infobright</a> as the database. The version tested was 3.1.1 both on OpenSolaris as well as Solaris 10. Infobright is like a column-oriented database engine for MySQL primarily targeted towards data warehouse, data mining type of project deployments. </p>
<p>While everything was working as expected, one thing we did notice that as number of concurrent connections tried to query against the database we noticed that queries deteriorated fast in the sense that not much parallel benefits were being squeezed from the machine. Now this sucks! (apparently sucks is now a technical term). It sucks because the server has definitely many&nbsp; cores and typically each Infobright query still can at the max peg a core. So the expectation will be typically to atleast handle concurrent queries which is close to the number of cores&nbsp; (figuratively speaking though in reality it depends).</p>
<p>&nbsp;Anyway we started digging into this problem. First we noticed that CPU cycles were heavy so IO was probably not the culprit (in this case). Using plockstat we found</p>
</p>
<p> <code> </code></p>
<pre># plockstat -A -p 2039    (where 2039 is the PID of mysqld server running 4 simultaneous queries)
^C
Mutex hold
Count     nsec Lock                         Caller
-------------------------------------------------------------------------------
3634393     1122 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_Znwm+0x2b
3626645     1047 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_ZdlPv+0xe
2 536317885 0x177b878                    mysqld`_ZN7IBMutex6UnlockEv+0x12
12  6338626 mysqld`LOCK_open             mysqld`_Z10open_tableP3THDP13st_table_listP11st_mem_rootPbj+0x55a
9057     1275 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_Znwm+0x2b
8493     1051 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_ZdlPv+0xe
7928     1119 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_ZdlPv+0xe
5   326542 0x177b878                    mysqld`_ZN7IBMutex6UnlockEv+0x12
683     1189 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_Znwm+0x2b
564     1339 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_Znwm+0x2b
564     1274 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_Znwm+0x2b
564     1156 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_ZdlPv+0xe
17    36292 0x1777780                    mysqld`_ZN7IBMutex6UnlockEv+0x12
2   246377 mysqld`rccontrol+0x18        mysqld`_ZN7IBMutex6UnlockEv+0x12
57     8074 mysqld`_iob+0xa8             libstdc++.so.6.0.3`_ZNSo5flushEv+0x30
218     1479 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_Znwm+0x2b
4    78172 mysqld`rccontrol+0x18        mysqld`_ZN7IBMutex6UnlockEv+0x12
4    75161 mysqld`rccontrol+0x18        mysqld`_ZN7IBMutex6UnlockEv+0x12
….
R/W reader hold
Count     nsec Lock                         Caller
-------------------------------------------------------------------------------
44     1171 mysqld`THR_LOCK_plugin       mysqld`_Z24plugin_foreach_with_maskP3THDPFcS0_P13st_plugin_intPvEijS3_+0xa3
12     3144 mysqld`LOCK_grant            mysqld`_Z11check_grantP3THDmP13st_table_listjjb+0x38c
1    14125 0xf7aa18                     mysqld`_ZN11Query_cache21send_result_to_clientEP3THDPcj+0x536
1    12089 0xf762e8                     mysqld`_ZN11Query_cache21send_result_to_clientEP3THDPcj+0x536
2     1886 mysqld`LOCK_grant            mysqld`_Z11check_grantP3THDmP13st_table_listjjb+0x38c
2     1776 mysqld`LOCK_grant            mysqld`_Z11check_grantP3THDmP13st_table_listjjb+0x38c
1     3006 mysqld`LOCK_grant            mysqld`_Z11check_grantP3THDmP13st_table_listjjb+0x38c
1     2765 mysqld`LOCK_grant            mysqld`_Z11check_grantP3THDmP13st_table_listjjb+0x38c
1     1797 mysqld`LOCK_grant            mysqld`_Z11check_grantP3THDmP13st_table_listjjb+0x38c
1     1131 mysqld`THR_LOCK_plugin       mysqld`_Z24plugin_foreach_with_maskP3THDPFcS0_P13st_plugin_intPvEijS3_+0xa3
Mutex block
Count     nsec Lock                         Caller
-------------------------------------------------------------------------------
2175 11867793 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_ZdlPv+0xe
1931 12334706 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_Znwm+0x2b
3 93404485 libc.so.1`libc_malloc_lock   mysqld`my_malloc+0x32
1    11581 libc.so.1`libc_malloc_lock   mysqld`_ZN11Item_stringD0Ev+0x49
1     1769 libc.so.1`libc_malloc_lock   libstdc++.so.6.0.3`_ZnwmRKSt9nothrow_t+0x20
..
</pre>
</p>
<p>Now typically if you see libc_malloc_lock in a plockstat for a&nbsp; multi-threaded program then it is a sign that the default malloc/free routines in libc is the culprit since the default malloc is not scalable enough for a multi-threaded program. There are alternate implementations which are more scalable than the default. Two such options which are already part of OpenSolaris, Solaris 10 are libmtmalloc.so and libumem.so. They can be forced to be used instead of the default without recompiling the binaries by preloading anyone of them before the startup command.</p>
<p>In case of the 64-bit Infobright binaries we did that by modifying the startup script mysqld-ib and added the following line just before invocation of mysqld command.</p>
</p>
<p style="margin-bottom:0;"><font face="courier new,courier,monospace">LD_PRELOAD_64=/usr/lib/64/libmtmalloc.so;<br />
export LD_PRELOAD_64</font></p>
<p>What we found was now the response times for each query was more in-line as it was being executed on its own. well not true entirely but you get the point. For a 4 concurrent queries we found that it had improved from like 1X to 2.5X reduction in total execution time.</p>
<p>Similary when we used libumem.so we found the reduction more like 3X when 4 queries were executing concurrently.</p>
<p style="margin-bottom:0;"><font face="courier new,courier,monospace">LD_PRELOAD_64=/usr/lib/64/libumem.so;<br />
export LD_PRELOAD_64</font></p>
</p>
<p>Definitely something to use for all Infobright installations on OpenSolaris or Solaris 10.</p>
<p>In a following blog post we will see other ways to tune Infobright which are not as drastic as this one but still buys some percentage of improvements. Stay tuned!! </p>
<p></p>
<p></p>
<p></p>
</p>
<p></p>
<address>
<p style="margin-bottom:0;"> </p>
<p>
</address>
<p></p>
<p></p>
<p></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jkshah.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jkshah.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jkshah.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jkshah.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jkshah.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jkshah.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jkshah.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jkshah.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jkshah.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jkshah.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jkshah.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jkshah.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jkshah.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jkshah.wordpress.com/318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=318&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jkshah.wordpress.com/2009/09/14/infobright-tuning-on-opensolarissolaris-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3125dfab0ff80ed3c8b661ad5427a50c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jkshah</media:title>
		</media:content>
	</item>
		<item>
		<title>iGen with PostgreSQL 8.4 on Sun Fire X4140</title>
		<link>http://jkshah.wordpress.com/2009/07/22/igen-with-postgresql-8-4-on-sun-fire-x4140/</link>
		<comments>http://jkshah.wordpress.com/2009/07/22/igen-with-postgresql-8-4-on-sun-fire-x4140/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 03:00:00 +0000</pubDate>
		<dc:creator>jkshah</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://jkshah.wordpress.com/2009/07/22/igen-with-postgresql-8-4-on-sun-fire-x4140/</guid>
		<description><![CDATA[Recently I got access to the refreshed Sun Fire X4140 consisting of 2 x 6-core Opterons with 36GB RAM. Since the release of the final PostgreSQL 8.4 bits I had not tried it out so I downloaded the Solaris 10 binaries of PostgreSQL 8.4 (64-bits) from the download site of postgresql.org and took it for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=319&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I got access to the refreshed <a href="http://www.sun.com/servers/x64/x4140/">Sun Fire X4140 </a>consisting of 2 x 6-core Opterons with 36GB RAM. Since the release of the final PostgreSQL 8.4 bits I had not tried it out so I downloaded the Solaris 10 binaries of PostgreSQL 8.4 (64-bits) from the <a href="http://www.postgresql.org/ftp/binary/v8.4.0/solaris/">download site of postgresql.org</a> and took it for the test drive with the same iGen benchmarks that I had used earlier for <a href="/jkshah/entry/pgcon_2009_performance_comparison_of">my PGCon2009 presentation</a>.</p>
<p>The system already had Solaris 10 5/09 installed with couple of&nbsp; SSDs&nbsp; and a RAID LUN for the database. I put the WAL log on an internal drive with ZFS intent log on SSDs and the tablespaces on the RAID LUN (on an external storage array).</p>
<p><img src="http://jkshah.wordpress.com/pg84istanbul.jpg" /> </p>
</p>
<p>Notice the crossing of the 400K tpm boundary with PostgreSQL here using this benchmark toolkit. None of my tests have ever done that before. I consider this to be a milestone achievement with PostgreSQL, Solaris 10, Sun Fire Systems with Opterons.</p>
<p></p>
<p></p>
<p></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jkshah.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jkshah.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jkshah.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jkshah.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jkshah.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jkshah.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jkshah.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jkshah.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jkshah.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jkshah.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jkshah.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jkshah.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jkshah.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jkshah.wordpress.com/319/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=319&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jkshah.wordpress.com/2009/07/22/igen-with-postgresql-8-4-on-sun-fire-x4140/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3125dfab0ff80ed3c8b661ad5427a50c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jkshah</media:title>
		</media:content>

		<media:content url="http://jkshah.wordpress.com/pg84istanbul.jpg" medium="image" />
	</item>
		<item>
		<title>Olio on 6-core Opterons (Istanbul) based Sun Systems</title>
		<link>http://jkshah.wordpress.com/2009/07/21/olio-on-6-core-opterons-istanbul-based-sun-systems/</link>
		<comments>http://jkshah.wordpress.com/2009/07/21/olio-on-6-core-opterons-istanbul-based-sun-systems/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 10:00:00 +0000</pubDate>
		<dc:creator>jkshah</dc:creator>
				<category><![CDATA[Sun Solutions]]></category>

		<guid isPermaLink="false">http://jkshah.wordpress.com/2009/07/21/olio-on-6-core-opterons-istanbul-based-sun-systems/</guid>
		<description><![CDATA[Sun is launching systems with multisocket&#160; 6-core Opterons (Istanbul) today. Last week I got access to&#160; Sun Fire X4140 with 2 x 6-core Opterons with 36GB RAM. It is always great to see such a 1RU system packaged with so many x64 cores. # psrinfo -vp The physical processor has 6 virtual processors (0-5) &#160; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=320&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sun is launching systems with multisocket&nbsp; 6-core Opterons (Istanbul) today. Last week I got access to&nbsp; Sun Fire X4140 with 2 x 6-core Opterons with 36GB RAM. It is always great to see such a 1RU system packaged with so many x64 cores.</p>
</p>
<address><font face="courier new,courier,monospace"># psrinfo -vp</font></address>
<address><font face="courier new,courier,monospace">The physical processor has 6 virtual processors (0-5)</font></address>
<address><font face="courier new,courier,monospace">&nbsp; x86 (chipid 0&#215;0 AuthenticAMD family 16 model 8 step 0 clock 2600 MHz)</font></address>
<address><font face="courier new,courier,monospace">&nbsp;&nbsp;&nbsp; Six-Core AMD Opteron(tm) Processor 8435</font></address>
<address><font face="courier new,courier,monospace">The physical processor has 6 virtual processors (6-11)</font></address>
<address><font face="courier new,courier,monospace">&nbsp; x86 (chipid 0&#215;1 AuthenticAMD family 16 model 8 step 0 clock 2600 MHz)</font></address>
<address><font face="courier new,courier,monospace">&nbsp;&nbsp;&nbsp; Six-Core AMD Opteron(tm) Processor 8435</font></address>
<p></p>
<p> I decided to take the system for a test drive with <a href="http://incubator.apache.org/olio/">Olio</a>. Olio is a Web 2.0 toolkit consisting on a web 2.0 event calendar application&nbsp; which can help stress a system. Depending on your favorite scripting language you can use either PHP, Ruby on Rails, Java as the language used to create the application. (I took the easy way out and selected <a href="http://incubator.apache.org/olio/downloads.html">Olio PHP&#8217;s prebundled binary kit</a>)</p>
<p>Please don&#8217;t let the small 2MB kit size fool you thinking it will be a easy workload to test it out. While setting it up I figured that to generate the data population for say 5000 users you will need space with atleast 500GB disk space for the content that it generates for it. Yes I quickly had to figure out how to get a storage array for Olio with about 800GB LUN.</p>
<p>Olio requires a webserver, PHP (of course) and&nbsp; a database for its metadata store (it has scripts for MySQL already in the kit). The system came preconfigured with Solaris 10 5/09. I downloaded <a href="http://dev.mysql.com/downloads/mysql/5.4.html#solaris">MySQL 5.4.1 beta</a>&nbsp; and also the <a href="http://www.sun.com/software/webstack/get.jsp">Sun WebStack</a> kit which has Apache Httpd 2.2, PHP 5.2 (and also MySQL 5.1 which had not used since I had already downloaded MySQL 5.4 Beta). Memcached 1.2.5 is part of the WebStack download and Olio is configured to use it also by default (but can be disabled too).</p>
<p>Eventually everything was installed and configured in the same X4140 and using the <a href="http://faban.sunsource.net/">Faban</a> Harness on another system started executing some runs with file store and the meta store preconfigured to handle all the way up to 5000 concurrent users. The results are as follows:</p>
</p>
<p><img src="http://jkshah.wordpress.com/OlioPHPX4140.jpg" alt="OlioPHP" /></p>
</p>
<p>Here are my observation/interpretations: </p>
<ul>
<li> Eventually beyond 10 cores run I find that the system memory (36GB) is not enough to sustain more concurrent users to fully utilize the remaining cores. I would probably need RAM&nbsp; in the range of 48GB or more to handle more users. (PHP is not completely thread-safe and hence the web server used here spawns processes)</li>
<li>This 1RU system can handle more than 3200 users&nbsp; (with everything on the same system) with CPU cycles to spare is pretty impressive. It means you still have enough CPU to log into the system without seeing degraded performance.</li>
<li>Actually you can see here that SMP (or should be called&nbsp; SMC &#8211; Scalable Multi Cores) type system helps when the initial cores are added&nbsp; instead of using multiple single core systems (ala in Cloud).</li>
</ul>
<p>&nbsp;In an upcoming blog entries I will talk more about the individual components used.</p>
<p></p>
<p></p></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jkshah.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jkshah.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jkshah.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jkshah.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jkshah.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jkshah.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jkshah.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jkshah.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jkshah.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jkshah.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jkshah.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jkshah.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jkshah.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jkshah.wordpress.com/320/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=320&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jkshah.wordpress.com/2009/07/21/olio-on-6-core-opterons-istanbul-based-sun-systems/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3125dfab0ff80ed3c8b661ad5427a50c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jkshah</media:title>
		</media:content>

		<media:content url="http://jkshah.wordpress.com/OlioPHPX4140.jpg" medium="image">
			<media:title type="html">OlioPHP</media:title>
		</media:content>
	</item>
		<item>
		<title>Minimal OpenSolaris 2009.06 Appliance Image for VirtualBox 2.2.4</title>
		<link>http://jkshah.wordpress.com/2009/06/02/minimal-opensolaris-2009-06-appliance-image-for-virtualbox-2-2-4/</link>
		<comments>http://jkshah.wordpress.com/2009/06/02/minimal-opensolaris-2009-06-appliance-image-for-virtualbox-2-2-4/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 04:00:00 +0000</pubDate>
		<dc:creator>jkshah</dc:creator>
				<category><![CDATA[OpenSolaris]]></category>

		<guid isPermaLink="false">http://jkshah.wordpress.com/2009/06/02/minimal-opensolaris-2009-06-appliance-image-for-virtualbox-2-2-4/</guid>
		<description><![CDATA[With the release of the OpenSolaris 2009.06, I thought it is time to update the Minimal OpenSolaris 2008.11&#160; Appliance OVF image that I had created earlier. The script create_osol2009006_app.sh has been updated to create minimal OpenSolaris 2009.06 Appliance images for VirtualBox.&#160; How to use the OVF image? Download VirtualBox 2.2.4 and install it on your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=321&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>
With the release of the OpenSolaris 2009.06, I thought it is time to update the <a href="http://blogs.sun.com/jkshah/entry/minimal_opensolaris_image_for_virtualbox">Minimal OpenSolaris 2008.11&nbsp; Appliance OVF image</a> that I had created earlier. The script <a href="http://jkshah.wordpress.com/create_osol200906_app.sh">create_osol2009006_app.sh</a> has been updated to create minimal OpenSolaris 2009.06 Appliance images for VirtualBox.&nbsp;</p>
<p>How to use the OVF image? </p>
<ul>
<li>Download <a href="http://www.virtualbox.org/wiki/Downloads">VirtualBox 2.2.4</a> and install it on your host platform. </li>
<li>Download the <b><a href="http://mediacast.sun.com/users/j.k.shah/media/osol200906app">OpenSolaris 2009.06 App OVF image</a></b> zip file and then<br />
unzip it. </li>
<li>Fire up Virtualbox GUI and&nbsp; use menu item VirtualBox-&gt;File-&gt;Import Appliance to<br />
import the image (using the&nbsp; OSOL200906App.ovf file ) into a new VirtualBox VM </li>
<li>Start the newly created VM and in few minutes you will be&nbsp; ready to login<br />
into OpenSolaris 2009.06 kernel.The preset login information is user: <b>root</b> with password: <b>opensolaris</b>. </li>
</ul>
<p></p>
<p> <a href="http://mediacast.sun.com/users/j.k.shah/media/osol200906app"><img src="http://jkshah.wordpress.com/osol200906app.png" /></a></p>
</p>
<p>Comments welcome.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jkshah.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jkshah.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jkshah.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jkshah.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jkshah.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jkshah.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jkshah.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jkshah.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jkshah.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jkshah.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jkshah.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jkshah.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jkshah.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jkshah.wordpress.com/321/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=321&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jkshah.wordpress.com/2009/06/02/minimal-opensolaris-2009-06-appliance-image-for-virtualbox-2-2-4/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3125dfab0ff80ed3c8b661ad5427a50c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jkshah</media:title>
		</media:content>

		<media:content url="http://jkshah.wordpress.com/osol200906app.png" medium="image" />
	</item>
		<item>
		<title>Read Only Scalability Patch</title>
		<link>http://jkshah.wordpress.com/2009/05/30/read-only-scalability-patch/</link>
		<comments>http://jkshah.wordpress.com/2009/05/30/read-only-scalability-patch/#comments</comments>
		<pubDate>Sat, 30 May 2009 05:00:00 +0000</pubDate>
		<dc:creator>jkshah</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://jkshah.wordpress.com/2009/05/30/read-only-scalability-patch/</guid>
		<description><![CDATA[Simon Riggs of 2nd Quadrant recently submitted a patch for testing which should improve read only scalability of Postgres. I took it for a test drive for my setup. In the first set of tests I used the same benchmark as previous ones so as to have the same reference point. It seems changing the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=322&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Simon Riggs of<a href="http://www.2ndquadrant.com/"> 2nd Quadrant </a>recently submitted a patch for testing which should improve read only scalability of Postgres. I took it for a test drive for my setup. In the first set of tests I used the same benchmark as previous ones so as to have the same reference point.</p>
<p><img width="800" height="500" src="http://jkshah.wordpress.com/pg84beta-igen-RO-Patch.jpg" /> </p>
</p>
<p>It seems changing the Number of Buffer Partitions for this workload does not have any impact. My dataset for this iGen benchmark is pretty small and should easily fit under 2GB size and hence may not be stressing the buffer partitions too much to warrant bigger number. The patch still helps to get good healthy 4-6% gain in peak values.</p>
</p>
<p></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jkshah.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jkshah.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jkshah.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jkshah.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jkshah.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jkshah.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jkshah.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jkshah.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jkshah.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jkshah.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jkshah.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jkshah.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jkshah.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jkshah.wordpress.com/322/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=322&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jkshah.wordpress.com/2009/05/30/read-only-scalability-patch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3125dfab0ff80ed3c8b661ad5427a50c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jkshah</media:title>
		</media:content>

		<media:content url="http://jkshah.wordpress.com/pg84beta-igen-RO-Patch.jpg" medium="image" />
	</item>
		<item>
		<title>Postgres 8.4 Testing with new JDBC Drivers</title>
		<link>http://jkshah.wordpress.com/2009/05/28/postgres-8-4-testing-with-new-jdbc-drivers/</link>
		<comments>http://jkshah.wordpress.com/2009/05/28/postgres-8-4-testing-with-new-jdbc-drivers/#comments</comments>
		<pubDate>Fri, 29 May 2009 03:00:00 +0000</pubDate>
		<dc:creator>jkshah</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://jkshah.wordpress.com/2009/05/28/postgres-8-4-testing-with-new-jdbc-drivers/</guid>
		<description><![CDATA[At PGCon 2009, Jesper Pedersen talked to me about the new Binary Transfer patch which was submitted to the JDBC Driver for Postgres 8.4. I thought it will be nice to compare how the JDBC 8.4 driver compared to older 8.3 JDBC Driver. Hence I took it for a drive The 8.4 JDBC Driver with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=323&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>At PGCon 2009, Jesper Pedersen talked to me about the new Binary Transfer patch which was submitted to the JDBC Driver for Postgres 8.4. I thought it will be nice to compare how the JDBC 8.4 driver compared to older 8.3 JDBC Driver. Hence I took it for a drive</p>
<p> <img src="http://jkshah.wordpress.com/pg84beta-igen-JDBC.jpg" style="width:640px;height:480px;" /></p>
</p>
<p>The 8.4 JDBC Driver with BinaryTransfer patch seems to get to a better peak faster but since to taper off at high clients. I don&#8217;t know if this benchmark was the right benchmark for it. Need more benchmarks which uses JDBC to see the performance difference with this feature.</p>
<p></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jkshah.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jkshah.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jkshah.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jkshah.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jkshah.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jkshah.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jkshah.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jkshah.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jkshah.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jkshah.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jkshah.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jkshah.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jkshah.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jkshah.wordpress.com/323/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=323&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jkshah.wordpress.com/2009/05/28/postgres-8-4-testing-with-new-jdbc-drivers/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3125dfab0ff80ed3c8b661ad5427a50c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jkshah</media:title>
		</media:content>

		<media:content url="http://jkshah.wordpress.com/pg84beta-igen-JDBC.jpg" medium="image" />
	</item>
		<item>
		<title>Postgres on OpenSolaris using 2x Quad Cores: Use FX Scheduler</title>
		<link>http://jkshah.wordpress.com/2009/05/27/postgres-on-opensolaris-using-2x-quad-cores-use-fx-scheduler/</link>
		<comments>http://jkshah.wordpress.com/2009/05/27/postgres-on-opensolaris-using-2x-quad-cores-use-fx-scheduler/#comments</comments>
		<pubDate>Thu, 28 May 2009 03:00:00 +0000</pubDate>
		<dc:creator>jkshah</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://jkshah.wordpress.com/2009/05/27/postgres-on-opensolaris-using-2x-quad-cores-use-fx-scheduler/</guid>
		<description><![CDATA[During my PGCon 2009 presentation there was a question on the saw tooth nature of the workload results on the high end side of benchmark runs. To which Matthew Wilcox (from Intel) commented it could be scheduler related. I did not give it much thought at that time till today when I was trying to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=324&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>During my <a href="/jkshah/entry/pgcon_2009_performance_comparison_of">PGCon 2009 presentation</a> there was a question on the saw tooth nature of the workload results on the high end side of benchmark runs. To which Matthew Wilcox (from Intel) commented it could be scheduler related. I did not give it much thought at that time till today when I was trying to do some iGen runs for the JDBC Binary Transfer patch (more on that in another blog post) and also Simon&#8217;s read only scalability runs . Then I realized that I was not following one of my one tuning advice for running Postgres on OpenSolaris. The advice is to&nbsp; use FX Class of scheduler instead of the default TS Class on OpenSolaris . More details on various scheduler classes can be found on <a href="http://docs.sun.com/app/docs/doc/806-4125/6jd7pe6bd?l=en&amp;a=view">docs.sun.com</a>.</p>
<p>Now how many times I have forgotten to do that with Postgres on OpenSolaris I have no idea. But yes it is highly recommended specially on multi-core systems to use FX scheduler class for Postgres on OpenSolaris. How much gain are we talking about? The following graph will give an indication using the default TS scheduler class Vs the FX Scheduler class using the iGen benchmark.</p>
<p><img src="http://jkshah.wordpress.com/pg84beta-igen-TS-FX.jpg" style="width:547px;height:410px;" /> </p>
<p>The gain is about 14% by just switching over to FX Class. How did I get Postgres server instance to use FX class? I cheated and put all processes of the user (with userid 236177)&nbsp; in FX class using the following command line.</p>
<pre># priocntl -s -c FX -i uid 236177</pre>
</p>
<p>One thing to figure out is how to make sure Postgres uses FX scheduler class out of the box on OpenSolaris so I don&#8217;t keep forgetting about that minute performance tip.</p>
<p></p>
<p></p>
<p></p>
</p>
<p></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jkshah.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jkshah.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jkshah.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jkshah.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jkshah.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jkshah.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jkshah.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jkshah.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jkshah.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jkshah.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jkshah.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jkshah.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jkshah.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jkshah.wordpress.com/324/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jkshah.wordpress.com&amp;blog=8312763&amp;post=324&amp;subd=jkshah&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jkshah.wordpress.com/2009/05/27/postgres-on-opensolaris-using-2x-quad-cores-use-fx-scheduler/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3125dfab0ff80ed3c8b661ad5427a50c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jkshah</media:title>
		</media:content>

		<media:content url="http://jkshah.wordpress.com/pg84beta-igen-TS-FX.jpg" medium="image" />
	</item>
	</channel>
</rss>
