<?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>Tech Blog &#187; cache</title>
	<atom:link href="http://informationideas.com/news/tag/cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://informationideas.com/news</link>
	<description>Using technology to help your business</description>
	<lastBuildDate>Tue, 06 Dec 2011 06:39:43 +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>Mysql SQL_NO_CACHE Benchmark Problem</title>
		<link>http://informationideas.com/news/2008/02/25/mysql-sql_no_cache-benchmark-problem/</link>
		<comments>http://informationideas.com/news/2008/02/25/mysql-sql_no_cache-benchmark-problem/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 23:57:00 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[cache]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2008/02/25/mysql-sql_no_cache-benchmark-problem/</guid>
		<description><![CDATA[I have been trying to benchmark the sql calls to mysql from an application without success. Even when I set the SELECT statement to SQL_NO_CACHE, the results seemed to be still cached. Apparently, Linux does its own caching of disk reads also. That was giving me incorrect benchmark results if I hit the same data [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>I have been trying to benchmark the sql calls to mysql from an application without success.  Even when I set the SELECT statement to SQL_NO_CACHE, the results seemed to be still cached.  Apparently, Linux does its own caching of disk reads also.  That was giving me incorrect benchmark results if I hit the same data twice.</p>
<p>For those using Linux kernel 2.6.16 or higher, you can <a href="http://dailyvim.blogspot.com/2008/02/drop-cache.html" target="_blank">clear Linux cache</a> with the following command.<br />
echo 3 &gt; /proc/sys/vm/drop_caches</p>
<p>Unfortunately for me, I am stuck on 2.5.xx and will have to figure out another method.</p>
<div class="shr-publisher-45"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2008/02/25/mysql-sql_no_cache-benchmark-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.347 seconds -->

