<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>blog@insidesystems.net: More is better?</title>
    <link>http://blog.insidesystems.net/articles/2007/04/11/more-is-better</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>More is better?</title>
      <description>&lt;p&gt;Not always.  I did some more tests, and confirmed that this particular workload actually gets slower as you add more than 2 cores.&lt;/p&gt;


&lt;code&gt;
&lt;pre&gt;
sysbench --num-threads=${i} --test=oltp --pgsql-user=bench --pgsql-db=bench --db-driver=pgsql --max-time=60 --max-requests=0 --oltp-read-only=on run
&lt;/pre&gt;
&lt;/code&gt;

	&lt;p&gt;Here&amp;#8217;s the results, with the tests run on absolutely identical hardware.  (HP &lt;span class="caps"&gt;DL360&lt;/span&gt;, 2.00 GHz &lt;span class="caps"&gt;E5335&lt;/span&gt; Xeon, 10K &lt;span class="caps"&gt;RPM SAS&lt;/span&gt; drives, 10 GB of &lt;span class="caps"&gt;RAM&lt;/span&gt;)&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://blog.insidesystems.net/files/postgres-fbsd62-v2.png"&gt;&lt;/p&gt;


	&lt;p&gt;I know 6.2 isn&amp;#8217;t the greatest for &lt;span class="caps"&gt;SMP&lt;/span&gt;, but I was still surprised to learn that we could get significantly lower overall performance by adding more processors.&lt;/p&gt;


	&lt;p&gt;I tried to test 7.0, but the 7.0 installer didn&amp;#8217;t seem to recognize the iLO virtual keyboard tonight.  Maybe tomorrow will go better.&lt;/p&gt;</description>
      <pubDate>Wed, 11 Apr 2007 03:55:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:f1fc3bec-3daf-4d4d-a525-6e48cd2829a5</guid>
      <author>Kevin Way</author>
      <link>http://blog.insidesystems.net/articles/2007/04/11/more-is-better</link>
      <category>FreeBSD</category>
      <category>System Administration</category>
      <category>PostgreSQL</category>
    </item>
  </channel>
</rss>
