<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3247171317808202855.post2814667754811567951..comments</id><updated>2009-08-11T23:38:29.711-07:00</updated><title type='text'>Comments on DBA Dojo: MySQL vs MySQLSlap Round 3</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.dbadojo.com/feeds/2814667754811567951/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3247171317808202855/2814667754811567951/comments/default'/><link rel='alternate' type='text/html' href='http://blog.dbadojo.com/2008/02/mysql-vs-mysqlslap-round-3.html'/><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3247171317808202855.post-302067238473093461</id><published>2009-08-11T23:38:29.711-07:00</published><updated>2009-08-11T23:38:29.711-07:00</updated><title type='text'>First check your open-files limit as per my test.
...</title><summary type='text'>First check your open-files limit as per my test.&lt;br /&gt;ulimit -a&lt;br /&gt;ulimit -n 4096&lt;br /&gt;&lt;br /&gt;the number-of-queries = total number of queries to be run.&lt;br /&gt;&lt;br /&gt;concurrency = the number of concurrent (simultaneous) threads to be ran.&lt;br /&gt;http://dev.mysql.com/doc/refman/5.1/en/mysqlslap.html#option_mysqlslap_concurrency&lt;br /&gt;&lt;br /&gt;Make the number-of-queries at least 10 times the concurrency </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3247171317808202855/2814667754811567951/comments/default/302067238473093461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3247171317808202855/2814667754811567951/comments/default/302067238473093461'/><link rel='alternate' type='text/html' href='http://blog.dbadojo.com/2008/02/mysql-vs-mysqlslap-round-3.html?showComment=1250059109711#c302067238473093461' title=''/><author><name>roobaron</name><uri>http://www.blogger.com/profile/08420801903669108937</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15699428102575943121'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.dbadojo.com/2008/02/mysql-vs-mysqlslap-round-3.html' ref='tag:blogger.com,1999:blog-3247171317808202855.post-2814667754811567951' source='http://www.blogger.com/feeds/3247171317808202855/posts/default/2814667754811567951' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3247171317808202855.post-1014811111442866596</id><published>2009-08-11T20:59:50.297-07:00</published><updated>2009-08-11T20:59:50.297-07:00</updated><title type='text'>I tried running 400 concurrent sessions on a mediu...</title><summary type='text'>I tried running 400 concurrent sessions on a medium Ec2 instance and mysqlslap throws an error that cannot create thread.&lt;br /&gt;&lt;br /&gt;Is this some limitation of the OS?&lt;br /&gt;&lt;br /&gt;I would also like to know what is the difference between the number-of-queries and concurrency.&lt;br /&gt;&lt;br /&gt;Thanks</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3247171317808202855/2814667754811567951/comments/default/1014811111442866596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3247171317808202855/2814667754811567951/comments/default/1014811111442866596'/><link rel='alternate' type='text/html' href='http://blog.dbadojo.com/2008/02/mysql-vs-mysqlslap-round-3.html?showComment=1250049590297#c1014811111442866596' title=''/><author><name>Dreams</name><uri>http://www.blogger.com/profile/05471420063979491374</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.dbadojo.com/2008/02/mysql-vs-mysqlslap-round-3.html' ref='tag:blogger.com,1999:blog-3247171317808202855.post-2814667754811567951' source='http://www.blogger.com/feeds/3247171317808202855/posts/default/2814667754811567951' type='text/html'/></entry></feed>