<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: T2000 CPU Performance &#8211; Watch out</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/</link>
	<description>Percona&#039;s MySQL &#38; InnoDB performance and scalability blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:45:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/comment-page-1/#comment-295340</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 06 May 2008 07:26:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/#comment-295340</guid>
		<description>Luke, 

No problem.  If you will have a chance to post results please do it anyway.

single-threaded vs multi-threaded is really oversimplification. 

T2000 should be advertised for multi-threaded workload  when latency is not critical otherwise you may get into surprises.    Tons of short queries may work or may not work - if you&#039;re executing 100 1ms queries on Xeon to generate the page (sequentially) you may be well surprised by T2000 performance.

Same about Web server in general - if you had CPU consumption of 0.05 sec to generate web page in PHP for example going with T2000 may push you outside of acceptable response time.</description>
		<content:encoded><![CDATA[<p>Luke, </p>
<p>No problem.  If you will have a chance to post results please do it anyway.</p>
<p>single-threaded vs multi-threaded is really oversimplification. </p>
<p>T2000 should be advertised for multi-threaded workload  when latency is not critical otherwise you may get into surprises.    Tons of short queries may work or may not work &#8211; if you&#8217;re executing 100 1ms queries on Xeon to generate the page (sequentially) you may be well surprised by T2000 performance.</p>
<p>Same about Web server in general &#8211; if you had CPU consumption of 0.05 sec to generate web page in PHP for example going with T2000 may push you outside of acceptable response time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Monahan</title>
		<link>http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/comment-page-1/#comment-295276</link>
		<dc:creator>Luke Monahan</dc:creator>
		<pubDate>Tue, 06 May 2008 05:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/#comment-295276</guid>
		<description>Hi Peter,

Sorry I haven&#039;t got back to this, but I&#039;ll hopefully post some more benchmarks tomorrow. However, the single-threaded benchmarks aren&#039;t going to do anything other than confirm what is already known: The Niagara isn&#039;t aimed at single threaded workloads, and has never been advertised as such AFAIK. We are finding it to be well positioned for most web-based workloads (short queries, lots of them), but to do any data mining or long reporting processes we replicate to a more suitable server.</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>Sorry I haven&#8217;t got back to this, but I&#8217;ll hopefully post some more benchmarks tomorrow. However, the single-threaded benchmarks aren&#8217;t going to do anything other than confirm what is already known: The Niagara isn&#8217;t aimed at single threaded workloads, and has never been advertised as such AFAIK. We are finding it to be well positioned for most web-based workloads (short queries, lots of them), but to do any data mining or long reporting processes we replicate to a more suitable server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/comment-page-1/#comment-292030</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Fri, 02 May 2008 16:35:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/#comment-292030</guid>
		<description>Luke,

Thanks for posting. Though it would be great to get numbers for Opteron and  for Single Thread workload.</description>
		<content:encoded><![CDATA[<p>Luke,</p>
<p>Thanks for posting. Though it would be great to get numbers for Opteron and  for Single Thread workload.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/comment-page-1/#comment-292029</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Fri, 02 May 2008 16:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/#comment-292029</guid>
		<description>Michael,

We&#039;ve got to pick our fights. There is only so much in depth research we can do vs amount of information we come across.  

I constantly run into people having problems with T2000 for single thread applications, and this is information I want to share. 

I do not have constant access to T2000 which would allow to perform good elaborate benchmarks.   Before Users Conference I&#039;ve asked one of my Sun contacts to get access to one so I could include benchmarks on it in my presentation - unfortunately he could not arrange for one.</description>
		<content:encoded><![CDATA[<p>Michael,</p>
<p>We&#8217;ve got to pick our fights. There is only so much in depth research we can do vs amount of information we come across.  </p>
<p>I constantly run into people having problems with T2000 for single thread applications, and this is information I want to share. </p>
<p>I do not have constant access to T2000 which would allow to perform good elaborate benchmarks.   Before Users Conference I&#8217;ve asked one of my Sun contacts to get access to one so I could include benchmarks on it in my presentation &#8211; unfortunately he could not arrange for one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikael Ronstrom</title>
		<link>http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/comment-page-1/#comment-291770</link>
		<dc:creator>Mikael Ronstrom</dc:creator>
		<pubDate>Fri, 02 May 2008 10:18:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/#comment-291770</guid>
		<description>Peter,
Your blog is usually a very interesting but this type of benchmarks is about as
informative as a benchmark of SELECT COUNT(*) from t and benchmarking InnoDB vs
MyISAM where MyISAM will beat InnoDB by a large factor.

A blog gives you the ability to quickly report findings but this blog certainly
lacked the normal proper technical research that I would expect from you.

Rgrds Mikael</description>
		<content:encoded><![CDATA[<p>Peter,<br />
Your blog is usually a very interesting but this type of benchmarks is about as<br />
informative as a benchmark of SELECT COUNT(*) from t and benchmarking InnoDB vs<br />
MyISAM where MyISAM will beat InnoDB by a large factor.</p>
<p>A blog gives you the ability to quickly report findings but this blog certainly<br />
lacked the normal proper technical research that I would expect from you.</p>
<p>Rgrds Mikael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Monahan</title>
		<link>http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/comment-page-1/#comment-291623</link>
		<dc:creator>Luke Monahan</dc:creator>
		<pubDate>Fri, 02 May 2008 04:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/#comment-291623</guid>
		<description>Peter:

The Niagara was running best at 32 thread concurrency -- showing I believe a limit of MySQL to scaling out to more threads than this.  Disk IO at this stage was fine (expected: separate disk IO tests showed the Niagara to excel here), so I am continuing to search for other bottlenecks.  With low numbers of threads the Niagara was (predictably) slow, I only have results here from 4 threads upwards, but I can do some more tests for you if you like on Monday.  I&#039;ve still got a few days to finish up before we send the box back, so any suggestions on the most worthwhile benchmarks would help.

The Opteron ran it&#039;s best at 8-12 threads.

Using Sysbench on 1M rows:

sysbench --test=oltp --num-threads= â€“max-time=60 â€“max-requests=0 --oltp-read-only=on run

T5120:
X=4: 400 TPS
X=8: 716 TPS
X=16: 1178 TPS
X=32: 1935 TPS
X=48: 1869 TPS
X=64: 1674 TPS

I do have some more R/W and benchmarks with different configs, but not at work to dig them out.

As far as getting your T2000 to work a bit better: http://hell.jedicoder.net/?p=88 contains some tuning resources at the bottom.  I find the latest Coolstack release of MySQL has many of these applied already, so make sure you use that to test.</description>
		<content:encoded><![CDATA[<p>Peter:</p>
<p>The Niagara was running best at 32 thread concurrency &#8212; showing I believe a limit of MySQL to scaling out to more threads than this.  Disk IO at this stage was fine (expected: separate disk IO tests showed the Niagara to excel here), so I am continuing to search for other bottlenecks.  With low numbers of threads the Niagara was (predictably) slow, I only have results here from 4 threads upwards, but I can do some more tests for you if you like on Monday.  I&#8217;ve still got a few days to finish up before we send the box back, so any suggestions on the most worthwhile benchmarks would help.</p>
<p>The Opteron ran it&#8217;s best at 8-12 threads.</p>
<p>Using Sysbench on 1M rows:</p>
<p>sysbench &#8211;test=oltp &#8211;num-threads= â€“max-time=60 â€“max-requests=0 &#8211;oltp-read-only=on run</p>
<p>T5120:<br />
X=4: 400 TPS<br />
X=8: 716 TPS<br />
X=16: 1178 TPS<br />
X=32: 1935 TPS<br />
X=48: 1869 TPS<br />
X=64: 1674 TPS</p>
<p>I do have some more R/W and benchmarks with different configs, but not at work to dig them out.</p>
<p>As far as getting your T2000 to work a bit better: <a href="http://hell.jedicoder.net/?p=88" rel="nofollow">http://hell.jedicoder.net/?p=88</a> contains some tuning resources at the bottom.  I find the latest Coolstack release of MySQL has many of these applied already, so make sure you use that to test.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/comment-page-1/#comment-291622</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Fri, 02 May 2008 04:08:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/#comment-291622</guid>
		<description>Luke,

How much do you get from Sysbench for Opteron vs Niagara based system for _single_ thread.  If you can share multiple threads it is also interesting</description>
		<content:encoded><![CDATA[<p>Luke,</p>
<p>How much do you get from Sysbench for Opteron vs Niagara based system for _single_ thread.  If you can share multiple threads it is also interesting</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Monahan</title>
		<link>http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/comment-page-1/#comment-291597</link>
		<dc:creator>Luke Monahan</dc:creator>
		<pubDate>Fri, 02 May 2008 02:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/#comment-291597</guid>
		<description>I have been testing MySQL 5.0.45 as distributed by Sun on a T5120 over the last few days.  The T5120 essentially a next gen T2000. Twice as many threads-per-core leads to 64 logical processors being seen by the OS.  Another big change is the addition of an FPU per core rather than a single FPU for the whole chip as in the T2000.  For comparison I&#039;ve been up against a Sun X4100 with 2 AMD dual-cores.  Both machines have 16GB of RAM, but I&#039;ve been testing with and without a large cache enabled to see the difference.  My tests are all using innodb and Sysbench (latest versions). I&#039;ve been using mainly the MySQL config to tune, and haven&#039;t delved into filesystem and OS configuration or source code changes (eek!) yet.

Essentially I am getting very similar results from each machine. The main difference is the resource utilization on the T5120 is much lower: 20% CPU versus 80-85% on the X4100. I have a while to go to see if I can do any better on both machines, but I am sure the Sun Niagara chips -- especially in their latest incarnation -- are very capable.</description>
		<content:encoded><![CDATA[<p>I have been testing MySQL 5.0.45 as distributed by Sun on a T5120 over the last few days.  The T5120 essentially a next gen T2000. Twice as many threads-per-core leads to 64 logical processors being seen by the OS.  Another big change is the addition of an FPU per core rather than a single FPU for the whole chip as in the T2000.  For comparison I&#8217;ve been up against a Sun X4100 with 2 AMD dual-cores.  Both machines have 16GB of RAM, but I&#8217;ve been testing with and without a large cache enabled to see the difference.  My tests are all using innodb and Sysbench (latest versions). I&#8217;ve been using mainly the MySQL config to tune, and haven&#8217;t delved into filesystem and OS configuration or source code changes (eek!) yet.</p>
<p>Essentially I am getting very similar results from each machine. The main difference is the resource utilization on the T5120 is much lower: 20% CPU versus 80-85% on the X4100. I have a while to go to see if I can do any better on both machines, but I am sure the Sun Niagara chips &#8212; especially in their latest incarnation &#8212; are very capable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/comment-page-1/#comment-291463</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 01 May 2008 19:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/#comment-291463</guid>
		<description>Denis,

Well you&#039;re free to run this little &quot;Benchmark&quot; test on your T2000 or new generation CPU and tell me what you get. It is not very scientific but it gives good ballpark figure for raw &quot;in cache&quot; calculation speed. 

The frequency is not everything - for example  &quot;NetBurts&quot; Xeons had about 2 times worse performance per Ghz compared to newer &quot;Core&quot; based one.  It would be interested to know what do you expect in this case.

Regarding database - it was CPU bound &quot;cached&quot; workload which we&#039;re speaking about - if things are IO bound it is strange to compare CPUs :)</description>
		<content:encoded><![CDATA[<p>Denis,</p>
<p>Well you&#8217;re free to run this little &#8220;Benchmark&#8221; test on your T2000 or new generation CPU and tell me what you get. It is not very scientific but it gives good ballpark figure for raw &#8220;in cache&#8221; calculation speed. </p>
<p>The frequency is not everything &#8211; for example  &#8220;NetBurts&#8221; Xeons had about 2 times worse performance per Ghz compared to newer &#8220;Core&#8221; based one.  It would be interested to know what do you expect in this case.</p>
<p>Regarding database &#8211; it was CPU bound &#8220;cached&#8221; workload which we&#8217;re speaking about &#8211; if things are IO bound it is strange to compare CPUs <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/comment-page-1/#comment-291461</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 01 May 2008 19:44:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/05/01/t2000-cpu-performance-watch-out/#comment-291461</guid>
		<description>Mark,

1) This is feedback I&#039;m getting from the clients - if they deal with Sun Sales - T2000 is what is frequently recommended for MySQL workloads with good discounts offered etc. 

2) Right I know newer CPUs are out, though It looks like they are more expensive so I&#039;m not hearing about people considering them too much. But anyway - I&#039;m not writing about new generation of CPUs - I would like to hear if they are much better and write about it.

3) I think I&#039;m clear in my post - I&#039;m just saying T2000 is very low performing for single client workloads, because I think this is not communicated enough by Sun Sales and Marketing teams.  Or can you give me a link for Sun benchmarks which would show how much T2000 is lower than Xeons for some workloads ? 

Regarding &quot;if you have single user you should not use database&quot; this is very strange note about MySQL users - there are a lot of cases when there is a limited concurrency and many queries or complex queries being run.  I mentioned replication as most obvious example :) 

Plus see my note about page generation - performance with single client is the best latency you can expect, if this is not good enough already the fact you can run 1000 of them at the same time with zero performance regression does not help.

Regarding your examples first - with Xeons 16 cores (4x4) are getting commodity and this is a lot of native concurrency already. But again comparison of T2000 performance  in high concurrency is not the topic here.  I know some high concurrency users were quite happy while other have were not so happy.</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>1) This is feedback I&#8217;m getting from the clients &#8211; if they deal with Sun Sales &#8211; T2000 is what is frequently recommended for MySQL workloads with good discounts offered etc. </p>
<p>2) Right I know newer CPUs are out, though It looks like they are more expensive so I&#8217;m not hearing about people considering them too much. But anyway &#8211; I&#8217;m not writing about new generation of CPUs &#8211; I would like to hear if they are much better and write about it.</p>
<p>3) I think I&#8217;m clear in my post &#8211; I&#8217;m just saying T2000 is very low performing for single client workloads, because I think this is not communicated enough by Sun Sales and Marketing teams.  Or can you give me a link for Sun benchmarks which would show how much T2000 is lower than Xeons for some workloads ? </p>
<p>Regarding &#8220;if you have single user you should not use database&#8221; this is very strange note about MySQL users &#8211; there are a lot of cases when there is a limited concurrency and many queries or complex queries being run.  I mentioned replication as most obvious example <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Plus see my note about page generation &#8211; performance with single client is the best latency you can expect, if this is not good enough already the fact you can run 1000 of them at the same time with zero performance regression does not help.</p>
<p>Regarding your examples first &#8211; with Xeons 16 cores (4&#215;4) are getting commodity and this is a lot of native concurrency already. But again comparison of T2000 performance  in high concurrency is not the topic here.  I know some high concurrency users were quite happy while other have were not so happy.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

