<?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>Dotdeb &#187; google-perftools</title>
	<atom:link href="http://www.dotdeb.org/tag/google-perftools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotdeb.org</link>
	<description>The repository for Debian-based LAMP servers</description>
	<lastBuildDate>Fri, 03 Feb 2012 01:25:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Google Perftools 1.4 are available for Debian 5.0 &#8220;Lenny&#8221;</title>
		<link>http://www.dotdeb.org/2009/10/03/google-perftools-1-4-are-available-for-debian-5-0-lenny/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-perftools-1-4-are-available-for-debian-5-0-lenny</link>
		<comments>http://www.dotdeb.org/2009/10/03/google-perftools-1-4-are-available-for-debian-5-0-lenny/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 10:55:21 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[google-perftools]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=282</guid>
		<description><![CDATA[Looking for a new way to speed up your MySQL server? The tcmalloc library from Google Perftools could be the answer (about 15-20% performance improvement). Refer to this (updated) How-to for more information. I just packaged Google Perftools 1.4 for Debian 5.0 (a.k.a. &#8220;Lenny&#8221;). According to the Changelog, they&#8217;re bringing a lot of bugfixes and improvements, and [...]]]></description>
			<content:encoded><![CDATA[<p>Looking for a new way to speed up your MySQL server? The tcmalloc library from <a title="Google Perftools on Google Code" href="http://code.google.com/p/google-perftools/">Google Perftools</a> could be the answer (about 15-20% performance improvement). Refer to <a title="Using Google perftools to speed up your MySQL server." href="http://www.dotdeb.org/2008/08/25/using-the-google-perftools-to-speed-up-your-mysql-server/">this (updated) How-to</a> for more information.</p>
<p>I just packaged Google Perftools 1.4 for Debian 5.0 (a.k.a. &#8220;Lenny&#8221;). According to the <a title="Google Perftools' Changelog" href="http://google-perftools.googlecode.com/svn/trunk/ChangeLog">Changelog</a>, they&#8217;re bringing a lot of bugfixes and improvements, and then they enhance the stability of the daemons they&#8217;re plugged in, especially on 64bits systems.</p>
<p>Upgrading from previous version is highly recommended.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2009/10/03/google-perftools-1-4-are-available-for-debian-5-0-lenny/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Google Perftools 1.3 available for Lenny</title>
		<link>http://www.dotdeb.org/2009/06/16/google-perftools-1-3-available-for-lenny/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-perftools-1-3-available-for-lenny</link>
		<comments>http://www.dotdeb.org/2009/06/16/google-perftools-1-3-available-for-lenny/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 21:28:43 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[google-perftools]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=236</guid>
		<description><![CDATA[Do you remember how to speed up your MySQL server using the Google Perftools? It seems that the amd64 flavour of these libraries makes MySQL crash. I just bumped the version of the google-perftools packages for Lenny from 1.0 to 1.3. According to the Changelog they&#8217;re bringing a lot of bugfixes and improvements, and then [...]]]></description>
			<content:encoded><![CDATA[<p>Do you remember <a title="Using the Google Perftools to speed up your MySQL server" href="http://www.dotdeb.org/2008/08/25/using-the-google-perftools-to-speed-up-your-mysql-server/">how to speed up your MySQL server using the Google Perftools</a>? It seems that the amd64 flavour of these libraries makes MySQL crash.</p>
<p>I just bumped the version of the google-perftools packages for Lenny from 1.0 to 1.3. According to the <a title="Google Perftools' Changelog" href="http://google-perftools.googlecode.com/svn/trunk/ChangeLog">Changelog</a> they&#8217;re bringing a lot of bugfixes and improvements, and then enhance the stability of the daemons they&#8217;re plugged in.</p>
<p>Upgrading is highly recommended.</p>
<p><span style="text-decoration: underline;">Update :</span> The packages are now available for Etch.</p>
<p><span style="text-decoration: underline;">Update #2 :</span> <strong>Please d</strong><strong>esactivate the Google Perftools 1.3!</strong> They&#8217;re crashing MySQL. I&#8217;m rolling back to the old version (Etch : 0.98, Lenny : 1.0) until I fix (or Google) fix this issue. Really sorry for the mess&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2009/06/16/google-perftools-1-3-available-for-lenny/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Using the Google Perftools to speed up your MySQL server</title>
		<link>http://www.dotdeb.org/2008/08/25/using-the-google-perftools-to-speed-up-your-mysql-server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-the-google-perftools-to-speed-up-your-mysql-server</link>
		<comments>http://www.dotdeb.org/2008/08/25/using-the-google-perftools-to-speed-up-your-mysql-server/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 15:13:44 +0000</pubDate>
		<dc:creator>Guillaume Plessis</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[google-perftools]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.dotdeb.org/?p=99</guid>
		<description><![CDATA[The Google Perftools, especially tcmalloc (Thread Caching Malloc), can be very useful to speed up your applications, depending on your environment : TCMalloc is faster than the glibc 2.3 malloc (available as a separate library called ptmalloc2) and other mallocs that I have tested. ptmalloc2 takes approximately 300 nanoseconds to execute a malloc/free pair on [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://goog-perftools.sourceforge.net/">Google Perftools</a>, especially <a href="http://goog-perftools.sourceforge.net/doc/tcmalloc.html">tcmalloc</a> (Thread Caching Malloc), can be very useful to speed up your applications, depending on your environment :</p>
<blockquote><p>TCMalloc is faster than the glibc 2.3 malloc (available as a separate library called ptmalloc2) and other mallocs that I have tested. ptmalloc2 takes approximately 300 nanoseconds to execute a malloc/free pair on a 2.8 GHz P4 (for small objects). The TCMalloc implementation takes approximately 50 nanoseconds for the same operation pair.</p></blockquote>
<p>Its deployment in your LAMP stack can speed up your MySQL servers, since it enhances memory allocation on threaded applications with the downside of larger memory footprints.</p>
<p>Here is how to use it easily&#8230;</p>
<p><strong>Installation</strong></p>
<p>First of all, be sure you use Debian 5.0 (a.k.a. &#8220;Lenny&#8221;) or later. Then install the minimal tcmalloc library from Dotdeb :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libtcmalloc-minimal0</pre></div></div>

<p>Then, since the mainstream MySQL packages are not compiled against tcmalloc, you&#8217;ll have to trick your OS&#8217; dynamic linker by adding the following line at the top of your <em>/etc/init.d/mysql</em> init script :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">LD_PRELOAD</span>=<span style="color: #ff0000;">&quot;/usr/lib/libtcmalloc_minimal.so.0&quot;</span></pre></div></div>

<p><img class="aligncenter size-full wp-image-285" title="/etc/init.d/mysql modification" src="http://www.dotdeb.org/wp-content/uploads/2008/08/Capture-d’écran-2009-10-03-à-12.59.48.png" alt="/etc/init.d/mysql modification" width="468" height="193" /></p>
<p>After relauching your MySQL server using the modified init script, you&#8217;ll take profit from tcmalloc&#8217;s faster memory allocation.</p>
<p><strong>Results</strong></p>
<p>At the time of writing this article, I didn&#8217;t make benchmarks, but some reported that they had a ~15-20% performance gain. Please leave comments about your experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotdeb.org/2008/08/25/using-the-google-perftools-to-speed-up-your-mysql-server/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching 3/11 queries in 0.002 seconds using apc
Object Caching 311/324 objects using apc

Served from: www.dotdeb.org @ 2012-02-04 04:07:14 -->
