<?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>beer planet &#187; sysbench</title> <atom:link href="http://beerpla.net/tag/sysbench/feed/" rel="self" type="application/rss+xml" /><link>http://beerpla.net</link> <description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description> <lastBuildDate>Thu, 17 May 2012 22:50:53 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <atom:link rel='hub' href='http://beerpla.net/?pushpress=hub'/> <item><title>sysbench &#8211; Linux Test Bench</title><link>http://beerpla.net/2007/10/12/sysbench-linux-test-bench/</link> <comments>http://beerpla.net/2007/10/12/sysbench-linux-test-bench/#comments</comments> <pubDate>Fri, 12 Oct 2007 21:57:50 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Databases]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[benchmark]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[stress test]]></category> <category><![CDATA[suse]]></category> <category><![CDATA[sysbench]]></category> <guid
isPermaLink="false">http://beerpla.net/2007/10/12/sysbench-linux-test-bench/</guid> <description><![CDATA[<p>sysbench &#8211; Linux test bench. Easy as pie to test CPU, memory, threads, mysql, and disk performance.</p><p>Full description is available here: <a
href="http://sysbench.sourceforge.net/docs/">http://sysbench.sourceforge.net/docs/</a></p><div
class="wp_syntax"><div
class="code"><pre>install mysql, mysql-devel
wget http://downloads.sourceforge.net/project/sysbench/sysbench/0.4.12/sysbench-0.4.12.tar.gz
tar xvzf sysbench*gz
cd sysbench*
./configure &#38;&#38; make install</pre></div></div><p
align="center"><strong>mysql tests</strong></p><p>This will run 10 separate consecutive mysql tests using an InnoDB table type, each with 100 mysql threads, doing a total of 1000 various SQL operations per test. Then it will print the total time they took to finish:</p><div
class="wp_syntax"><div
class="code"><pre>sysbench --test=oltp --mysql-user=USER --mysql-password=PASS --mysql-db=test \
  --mysql-host='HOST' --mysql-table-engine=innodb prepare
&#160;
time perl -e &#34;foreach(1..10){print \`sysbench --max-requests=1000 --test=oltp \
  --mysql-user=USER --mysql-password=PASS --mysql-db=test --mysql-host='HOST' \
  --mysql-table-engine=innodb --num-threads=100 run\`}&#34;
&#160;
sysbench --test=oltp --mysql-user=USER --mysql-password=PASS --mysql-db=test \
  --mysql-host='HOST' cleanup</pre></div></div><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&#38;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&#38;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&#38;short_link=http://bit.ly/cV9ynn&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&#38;service=7&#38;tags=&#38;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&#38;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&#38;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&#38;short_link=http://bit.ly/cV9ynn&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=&#38;service=5&#38;tags=&#38;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&#38;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&#38;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&#38;short_link=http://bit.ly/cV9ynn&#38;v=1&#38;apitype=1&#38;apikey=8afa39428933be41f8afdb8ea21a495c&#38;source=Shareaholic&#38;template=&#38;service=257&#38;tags=&#38;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post </a></li></ul>...<div
class=clear></div> <a
href="http://beerpla.net/2007/10/12/sysbench-linux-test-bench/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></div>]]></description> <content:encoded><![CDATA[<p>sysbench &#8211; Linux test bench. Easy as pie to test CPU, memory, threads, mysql, and disk performance.</p><p>Full description is available here: <a
href="http://sysbench.sourceforge.net/docs/">http://sysbench.sourceforge.net/docs/</a></p><div
class="wp_syntax"><div
class="code"><pre>install mysql, mysql-devel
wget http://downloads.sourceforge.net/project/sysbench/sysbench/0.4.12/sysbench-0.4.12.tar.gz
tar xvzf sysbench*gz
cd sysbench*
./configure &amp;&amp; make install</pre></div></div><p
align="center"><strong>mysql tests</strong></p><p>This will run 10 separate consecutive mysql tests using an InnoDB table type, each with 100 mysql threads, doing a total of 1000 various SQL operations per test. Then it will print the total time they took to finish:</p><div
class="wp_syntax"><div
class="code"><pre>sysbench --test=oltp --mysql-user=USER --mysql-password=PASS --mysql-db=test \
  --mysql-host='HOST' --mysql-table-engine=innodb prepare
&nbsp;
time perl -e &quot;foreach(1..10){print \`sysbench --max-requests=1000 --test=oltp \
  --mysql-user=USER --mysql-password=PASS --mysql-db=test --mysql-host='HOST' \
  --mysql-table-engine=innodb --num-threads=100 run\`}&quot;
&nbsp;
sysbench --test=oltp --mysql-user=USER --mysql-password=PASS --mysql-db=test \
  --mysql-host='HOST' cleanup</pre></div></div><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench+-+Linux+Test+Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=sysbench%20-%20Linux%20Test%20Bench&amp;link=http://beerpla.net/2007/10/12/sysbench-linux-test-bench/&amp;notes=sysbench%20-%20Linux%20test%20bench.%20Easy%20as%20pie%20to%20test%20CPU%2C%20memory%2C%20threads%2C%20mysql%2C%20and%20disk%20performance.%0D%0AFull%20description%20is%20available%20here%3A%20http%3A%2F%2Fsysbench.sourceforge.net%2Fdocs%2F%0D%0A%0D%0Ainstall%20mysql%2C%20mysql-devel%0D%0Awget%20http%3A%2F%2Fdownloads.sourceforge.net%2Fproject%2Fsysbench%2Fsysbench%2F0.4.12%2Fsysbench-0.4.12.tar.gz%0D&amp;short_link=http://bit.ly/cV9ynn&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2008/03/11/mysql-falcon-storage-engine-enters-beta-stage/" rel="bookmark" title="March 11, 2008">MySQL Falcon Storage Engine Enters Beta Stage.</a></li><li><a
href="http://beerpla.net/2010/02/03/how-not-to-implement-a-web-application-that-handles-external-authentication-using-betwittered-com-as-an-example/" rel="bookmark" title="February 3, 2010">How *Not* To Implement A Web Application That Handles External Authentication, Using BeTwittered.com As An Example</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-introduction-to-the-blob-streaming-project-wednesday-300pm/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: Introduction To The BLOB Streaming Project (Wednesday 3:00PM)</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-benchmarking-tools-wednesday-425pm/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: Benchmarking Tools (Wednesday 4:25PM)</a></li><li><a
href="http://beerpla.net/2008/04/16/mysql-conference-liveblogging-portable-scale-out-benchmarks-for-mysql-wednesday-1050am/" rel="bookmark" title="April 16, 2008">MySQL Conference Liveblogging: Portable Scale-out Benchmarks For MySQL (Wednesday 10:50AM)</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2007%2F10%2F12%2Fsysbench-linux-test-bench%2F&amp;title=sysbench%20%26%238211%3B%20Linux%20Test%20Bench" id="wpa2a_2"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2007/10/12/sysbench-linux-test-bench/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> </channel> </rss>
