<?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/"
	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>Comments on: again, on benchmarks</title>
	<atom:link href="http://dom.as/2009/11/19/again-on-benchmarks/feed/" rel="self" type="application/rss+xml" />
	<link>http://dom.as/2009/11/19/again-on-benchmarks/</link>
	<description></description>
	<lastBuildDate>Sat, 17 Dec 2011 20:14:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: svar</title>
		<link>http://dom.as/2009/11/19/again-on-benchmarks/#comment-1708</link>
		<dc:creator><![CDATA[svar]]></dc:creator>
		<pubDate>Thu, 26 Nov 2009 12:12:56 +0000</pubDate>
		<guid isPermaLink="false">http://mituzas.lt/?p=645#comment-1708</guid>
		<description><![CDATA[By the way we miss you here ...]]></description>
		<content:encoded><![CDATA[<p>By the way we miss you here &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: svar</title>
		<link>http://dom.as/2009/11/19/again-on-benchmarks/#comment-1707</link>
		<dc:creator><![CDATA[svar]]></dc:creator>
		<pubDate>Thu, 26 Nov 2009 11:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://mituzas.lt/?p=645#comment-1707</guid>
		<description><![CDATA[:) yes, i really don&#039;t clame it to be one, just curiosity. I just introduce a primary key and a binary field with sha1 at least it is fixing the design problem found in the bench.  Just wanted to show that with a proper disign and good setup we could at least divide the numbers expose to the world per a factor 20.  More comparing Apple to Orange instead of Apple to Steack :)]]></description>
		<content:encoded><![CDATA[<p>:) yes, i really don&#8217;t clame it to be one, just curiosity. I just introduce a primary key and a binary field with sha1 at least it is fixing the design problem found in the bench.  Just wanted to show that with a proper disign and good setup we could at least divide the numbers expose to the world per a factor 20.  More comparing Apple to Orange instead of Apple to Steack :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Domas Mituzas</title>
		<link>http://dom.as/2009/11/19/again-on-benchmarks/#comment-1706</link>
		<dc:creator><![CDATA[Domas Mituzas]]></dc:creator>
		<pubDate>Thu, 26 Nov 2009 10:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://mituzas.lt/?p=645#comment-1706</guid>
		<description><![CDATA[stephane, that is very poor benchmark too ;-)]]></description>
		<content:encoded><![CDATA[<p>stephane, that is very poor benchmark too ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: svar</title>
		<link>http://dom.as/2009/11/19/again-on-benchmarks/#comment-1705</link>
		<dc:creator><![CDATA[svar]]></dc:creator>
		<pubDate>Wed, 25 Nov 2009 20:31:53 +0000</pubDate>
		<guid isPermaLink="false">http://mituzas.lt/?p=645#comment-1705</guid>
		<description><![CDATA[CREATE TABLE comp_dump(
k binary(20) DEFAULT NULL,
v char(32) DEFAULT NULL,
Primary key(`k`) ) ENGINE=InnoDB;

set @ct:=1;
insert into comp_dump select unhex(sha1(@ct:=@ct+1)), &#039;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&#039; ;

repeat the next query n time
insert into comp_dump select unhex(sha1(@ct:=@ct+1)), &#039;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&#039;  from comp_dump;

select count(*) from comp_dump;
&#124;  2097152 &#124;

time /Users/stephanevaroqui/local/mysql-5.4.1-beta-osx10.5-x86_64/bin/mysqlslap --create-schema=test -c 10 -i10000 -q benchget.sql
Benchmark
	Average number of seconds to run all queries: 0.001 seconds
	Minimum number of seconds to run all queries: 0.000 seconds
	Maximum number of seconds to run all queries: 0.007 seconds
	Number of clients running queries: 10
	Average number of queries per client: 1

real	0m23.337s
user	0m3.988s
sys	0m12.059s

cat benchget.sql
select v from comp_dump where k=unhex(cast(sha1(cast((2000000 ) as unsigned))as char));


time /Users/stephanevaroqui/local/mysql-5.4.1-beta-osx10.5-x86_64/bin/mysqlslap --create-schema=test -c 10 -i10000 -q benchset.sql
Benchmark
	Average number of seconds to run all queries: 0.001 seconds
	Minimum number of seconds to run all queries: 0.000 seconds
	Maximum number of seconds to run all queries: 0.028 seconds
	Number of clients running queries: 10
	Average number of queries per client: 1


real	0m26.644s
user	0m3.708s
sys	0m12.229s
macbook-pro-de-stephane-varoqui:~ stephanevaroqui$ cat benchset.sql
update comp_dump set v=&#039;bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb&#039; where k=unhex(cast(sha1(cast((2000000 ) as unsigned))as char));]]></description>
		<content:encoded><![CDATA[<p>CREATE TABLE comp_dump(<br />
k binary(20) DEFAULT NULL,<br />
v char(32) DEFAULT NULL,<br />
Primary key(`k`) ) ENGINE=InnoDB;</p>
<p>set @ct:=1;<br />
insert into comp_dump select unhex(sha1(@ct:=@ct+1)), &#8216;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&#8217; ;</p>
<p>repeat the next query n time<br />
insert into comp_dump select unhex(sha1(@ct:=@ct+1)), &#8216;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&#8217;  from comp_dump;</p>
<p>select count(*) from comp_dump;<br />
|  2097152 |</p>
<p>time /Users/stephanevaroqui/local/mysql-5.4.1-beta-osx10.5-x86_64/bin/mysqlslap &#8211;create-schema=test -c 10 -i10000 -q benchget.sql<br />
Benchmark<br />
	Average number of seconds to run all queries: 0.001 seconds<br />
	Minimum number of seconds to run all queries: 0.000 seconds<br />
	Maximum number of seconds to run all queries: 0.007 seconds<br />
	Number of clients running queries: 10<br />
	Average number of queries per client: 1</p>
<p>real	0m23.337s<br />
user	0m3.988s<br />
sys	0m12.059s</p>
<p>cat benchget.sql<br />
select v from comp_dump where k=unhex(cast(sha1(cast((2000000 ) as unsigned))as char));</p>
<p>time /Users/stephanevaroqui/local/mysql-5.4.1-beta-osx10.5-x86_64/bin/mysqlslap &#8211;create-schema=test -c 10 -i10000 -q benchset.sql<br />
Benchmark<br />
	Average number of seconds to run all queries: 0.001 seconds<br />
	Minimum number of seconds to run all queries: 0.000 seconds<br />
	Maximum number of seconds to run all queries: 0.028 seconds<br />
	Number of clients running queries: 10<br />
	Average number of queries per client: 1</p>
<p>real	0m26.644s<br />
user	0m3.708s<br />
sys	0m12.229s<br />
macbook-pro-de-stephane-varoqui:~ stephanevaroqui$ cat benchset.sql<br />
update comp_dump set v=&#8217;bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb&#8217; where k=unhex(cast(sha1(cast((2000000 ) as unsigned))as char));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toru Maesaka</title>
		<link>http://dom.as/2009/11/19/again-on-benchmarks/#comment-1704</link>
		<dc:creator><![CDATA[Toru Maesaka]]></dc:creator>
		<pubDate>Wed, 25 Nov 2009 06:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://mituzas.lt/?p=645#comment-1704</guid>
		<description><![CDATA[I feel your pain.]]></description>
		<content:encoded><![CDATA[<p>I feel your pain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergej 'ZaZa' Kurakin</title>
		<link>http://dom.as/2009/11/19/again-on-benchmarks/#comment-1703</link>
		<dc:creator><![CDATA[Sergej 'ZaZa' Kurakin]]></dc:creator>
		<pubDate>Mon, 23 Nov 2009 22:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://mituzas.lt/?p=645#comment-1703</guid>
		<description><![CDATA[Nice notice about benchmarks in blogs - most of them are just stupid crap and it&#039;s growing :-/

If people would spend more time describing benchmarks in more details, not just showing results in tables, probably, benchmarks would be more truthful. Just because they would look deeper and see mistakes.]]></description>
		<content:encoded><![CDATA[<p>Nice notice about benchmarks in blogs &#8211; most of them are just stupid crap and it&#8217;s growing :-/</p>
<p>If people would spend more time describing benchmarks in more details, not just showing results in tables, probably, benchmarks would be more truthful. Just because they would look deeper and see mistakes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LinuxJedi</title>
		<link>http://dom.as/2009/11/19/again-on-benchmarks/#comment-1702</link>
		<dc:creator><![CDATA[LinuxJedi]]></dc:creator>
		<pubDate>Fri, 20 Nov 2009 00:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://mituzas.lt/?p=645#comment-1702</guid>
		<description><![CDATA[Have you looked at the MySQL tutorials?]]></description>
		<content:encoded><![CDATA[<p>Have you looked at the MySQL tutorials?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://dom.as/2009/11/19/again-on-benchmarks/#comment-1701</link>
		<dc:creator><![CDATA[Baron Schwartz]]></dc:creator>
		<pubDate>Fri, 20 Nov 2009 00:04:04 +0000</pubDate>
		<guid isPermaLink="false">http://mituzas.lt/?p=645#comment-1701</guid>
		<description><![CDATA[MY favorite part is this:

&quot;I could see the unauthenticated users, which meant that the client had connected to MySQL and was doing a handshake using MySQL authentication (using username and password).&quot;

So the author didn&#039;t set skip_name_resolve, which probably really means he&#039;s just benchmarking his DNS lookup speed.]]></description>
		<content:encoded><![CDATA[<p>MY favorite part is this:</p>
<p>&#8220;I could see the unauthenticated users, which meant that the client had connected to MySQL and was doing a handshake using MySQL authentication (using username and password).&#8221;</p>
<p>So the author didn&#8217;t set skip_name_resolve, which probably really means he&#8217;s just benchmarking his DNS lookup speed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VadimTk</title>
		<link>http://dom.as/2009/11/19/again-on-benchmarks/#comment-1700</link>
		<dc:creator><![CDATA[VadimTk]]></dc:creator>
		<pubDate>Thu, 19 Nov 2009 22:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://mituzas.lt/?p=645#comment-1700</guid>
		<description><![CDATA[Domas,

Agree with you on this one

I wanted to grumble by myself but you are faster.]]></description>
		<content:encoded><![CDATA[<p>Domas,</p>
<p>Agree with you on this one</p>
<p>I wanted to grumble by myself but you are faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harrison</title>
		<link>http://dom.as/2009/11/19/again-on-benchmarks/#comment-1699</link>
		<dc:creator><![CDATA[Harrison]]></dc:creator>
		<pubDate>Thu, 19 Nov 2009 20:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://mituzas.lt/?p=645#comment-1699</guid>
		<description><![CDATA[Agreed.  Very poor benchmark.]]></description>
		<content:encoded><![CDATA[<p>Agreed.  Very poor benchmark.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

