<?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/"
		>
<channel>
	<title>Comments for 生活在別處</title>
	<atom:link href="http://www.livingelsewhere.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.livingelsewhere.net</link>
	<description>Know what you really want,what you need,what is just for you,try your best and catch it. 只要有心开始，改变或寻梦永远不嫌太迟。</description>
	<lastBuildDate>Mon, 31 Oct 2011 04:09:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>Comment on 减低 InnoDB 停止时时间 by gettyying</title>
		<link>http://www.livingelsewhere.net/2011/03/16/decrease-innodb-shutdown-time/comment-page-1/#comment-324</link>
		<dc:creator>gettyying</dc:creator>
		<pubDate>Mon, 31 Oct 2011 04:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.livingelsewhere.net/?p=1223#comment-324</guid>
		<description>看到《高性能 MySQL》 中『InnoDB  缓冲池』如下这段话，才真正理解上文中执行命令的原因：
&lt;pre class=&quot;quote&quot;&gt;
在大部分情下，应该使 InnoDB 缓冲池和可用内存保持一致，但是，在少数情况下，很大的缓冲池（比如 50GB）会导致长时间的延迟。比如，大型的缓冲池在检查点或插入缓存合并操作的时候会变慢，并且并发也会因为锁定而减少。如果遇到了这些问题，就应该减少缓冲池的大小。

可以改变 innodb_max_dirty_pages_pct 的值，让 InnoDB 改变保留在缓冲池中被修改的页面的数量。如果允许保留更多修改的页面，InnoDB 就需要更长的时间来关闭，因为它会在关闭之前把修改的页面写入数据文件。可以强制它快速关闭，但是它在重新启动时候就会要做更多的恢复工作，所以这实际上不能加快从关闭到启动的周期。如果预先知道需要关闭，就可以把这个变量设置为较小的值，并等待它为冲刷线程以清理缓冲池，然后在修改的页面数量变小的时候关闭 InnoDB。可以通过观察状态变量 innodb_buffer_pool_pages_dirty 或使用 innotop 监视 SHOW INNODB STATUS 的值来检测修改过的页面的数量。

In most cases, you should make the InnoDB buffer pool as large as your available memory allows. However, in rare cirumstances, very large buffer pools (say, 50GB) can cause long stalls. For example, a large buffer pool may become slow during checkpoints or insert buffering merge operations, and concurrency can drop as a result of locking. If you experience these problems, you may have to reduce the buffer pool size.

You can change the innodb_max_dirty_pages_pct variable to instruct InnoDB to keep more or fewer dirty(modified) pages in the buffer pool. If you allow a lot of dirty pages, InnoDB can take a long time to shut down, because it writes the dirty pages to the data files upon shutdown. You can force it to shut down quickly, but then it just has to do more recovery when it restarts, so you can’t actually speed up the shutdown and restart cycle time. If you know in advance when you need to shut down, you can set the variable to a lower value, wait for the flush thread to clean up the buffer pool, and then shut down once the number of dirty pages becomes small. You can monitor the number of dirty pages by watching the Innodb_buffer_pool_pages_dirty server status variable or using innotop to monitor SHOW INNODB STATUS.
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>看到《高性能 MySQL》 中『InnoDB  缓冲池』如下这段话，才真正理解上文中执行命令的原因：</p>
<pre class="quote">
在大部分情下，应该使 InnoDB 缓冲池和可用内存保持一致，但是，在少数情况下，很大的缓冲池（比如 50GB）会导致长时间的延迟。比如，大型的缓冲池在检查点或插入缓存合并操作的时候会变慢，并且并发也会因为锁定而减少。如果遇到了这些问题，就应该减少缓冲池的大小。

可以改变 innodb_max_dirty_pages_pct 的值，让 InnoDB 改变保留在缓冲池中被修改的页面的数量。如果允许保留更多修改的页面，InnoDB 就需要更长的时间来关闭，因为它会在关闭之前把修改的页面写入数据文件。可以强制它快速关闭，但是它在重新启动时候就会要做更多的恢复工作，所以这实际上不能加快从关闭到启动的周期。如果预先知道需要关闭，就可以把这个变量设置为较小的值，并等待它为冲刷线程以清理缓冲池，然后在修改的页面数量变小的时候关闭 InnoDB。可以通过观察状态变量 innodb_buffer_pool_pages_dirty 或使用 innotop 监视 SHOW INNODB STATUS 的值来检测修改过的页面的数量。

In most cases, you should make the InnoDB buffer pool as large as your available memory allows. However, in rare cirumstances, very large buffer pools (say, 50GB) can cause long stalls. For example, a large buffer pool may become slow during checkpoints or insert buffering merge operations, and concurrency can drop as a result of locking. If you experience these problems, you may have to reduce the buffer pool size.

You can change the innodb_max_dirty_pages_pct variable to instruct InnoDB to keep more or fewer dirty(modified) pages in the buffer pool. If you allow a lot of dirty pages, InnoDB can take a long time to shut down, because it writes the dirty pages to the data files upon shutdown. You can force it to shut down quickly, but then it just has to do more recovery when it restarts, so you can’t actually speed up the shutdown and restart cycle time. If you know in advance when you need to shut down, you can set the variable to a lower value, wait for the flush thread to clean up the buffer pool, and then shut down once the number of dirty pages becomes small. You can monitor the number of dirty pages by watching the Innodb_buffer_pool_pages_dirty server status variable or using innotop to monitor SHOW INNODB STATUS.
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MySQL as a NoSQL by 生活在別處 : PHP extension for interfacing with MySQL Handler Socket</title>
		<link>http://www.livingelsewhere.net/2011/05/23/using-mysql-as-a-nosql-a-story-for-exceeding-750000-qps-on-a-commodity-server/comment-page-1/#comment-319</link>
		<dc:creator>生活在別處 : PHP extension for interfacing with MySQL Handler Socket</dc:creator>
		<pubDate>Thu, 02 Jun 2011 07:17:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.livingelsewhere.net/?p=1449#comment-319</guid>
		<description>[...] HandlerSocket 的介绍、性能及其安装，可参考Using SQL as NoSQL。而 PHP extension for interfacing with MySQL Handler [...]</description>
		<content:encoded><![CDATA[<p>[...] HandlerSocket 的介绍、性能及其安装，可参考Using SQL as NoSQL。而 PHP extension for interfacing with MySQL Handler [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Install PHP 5.3 using source code by gettyying</title>
		<link>http://www.livingelsewhere.net/2011/05/26/install-php-5-3-using-source-code/comment-page-1/#comment-318</link>
		<dc:creator>gettyying</dc:creator>
		<pubDate>Thu, 26 May 2011 03:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.livingelsewhere.net/?p=1470#comment-318</guid>
		<description>补上之前的记录

前面一段时间，估计是我把不太友善，编译时，libevent libaray 一再的出错，明明已经安装，但编译时还是报找不着，用 &lt;code&gt;--with-libevent-dir&lt;/code&gt; 参数指定照样出错，搜了下，找到这个 【configure fails to pick up a custom prefix for libevent】，详细内容，请移步&lt;a href=&quot;http://bugs.php.net/bug.php?id=51821&quot; rel=&quot;nofollow&quot;&gt;这里&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>补上之前的记录</p>
<p>前面一段时间，估计是我把不太友善，编译时，libevent libaray 一再的出错，明明已经安装，但编译时还是报找不着，用 <code>--with-libevent-dir</code> 参数指定照样出错，搜了下，找到这个 【configure fails to pick up a custom prefix for libevent】，详细内容，请移步<a href="http://bugs.php.net/bug.php?id=51821" rel="nofollow">这里</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MySQL as a NoSQL by gettyying</title>
		<link>http://www.livingelsewhere.net/2011/05/23/using-mysql-as-a-nosql-a-story-for-exceeding-750000-qps-on-a-commodity-server/comment-page-1/#comment-316</link>
		<dc:creator>gettyying</dc:creator>
		<pubDate>Mon, 23 May 2011 09:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.livingelsewhere.net/?p=1449#comment-316</guid>
		<description>这篇，上个月上旬时本就该转过来，但后来，东忙西忙，一拖再拖，直到今天才下定决心把版面排好发上来。
看 google notebook ,  notepad.cc，还有本子上的记录，欠下来的“债务”都已无法计算，照如今之懒散，还清之日不知会是何时？</description>
		<content:encoded><![CDATA[<p>这篇，上个月上旬时本就该转过来，但后来，东忙西忙，一拖再拖，直到今天才下定决心把版面排好发上来。<br />
看 google notebook ,  notepad.cc，还有本子上的记录，欠下来的“债务”都已无法计算，照如今之懒散，还清之日不知会是何时？</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 我希望&#8230; by gettyying</title>
		<link>http://www.livingelsewhere.net/2011/05/03/i-wish/comment-page-1/#comment-315</link>
		<dc:creator>gettyying</dc:creator>
		<pubDate>Tue, 03 May 2011 05:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.livingelsewhere.net/?p=1426#comment-315</guid>
		<description>记起前几日，很兴奋的向一同学介绍在网上淘到的一些自己很喜欢的小东西，旁边另一同学却说到，“瞧你们，都是奔三的人了，还在折腾这些东西....&quot;。或许，在常人的意识中，到了某个年纪就应该是某个年纪该有的样子。只是，不明白的是，为什么当我们的喜好、行动还是如同以往的时候，就要被讽刺、被鄙夷呢？</description>
		<content:encoded><![CDATA[<p>记起前几日，很兴奋的向一同学介绍在网上淘到的一些自己很喜欢的小东西，旁边另一同学却说到，“瞧你们，都是奔三的人了，还在折腾这些东西&#8230;.&#8221;。或许，在常人的意识中，到了某个年纪就应该是某个年纪该有的样子。只是，不明白的是，为什么当我们的喜好、行动还是如同以往的时候，就要被讽刺、被鄙夷呢？</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 我希望&#8230; by gettyying</title>
		<link>http://www.livingelsewhere.net/2011/05/03/i-wish/comment-page-1/#comment-314</link>
		<dc:creator>gettyying</dc:creator>
		<pubDate>Tue, 03 May 2011 05:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.livingelsewhere.net/?p=1426#comment-314</guid>
		<description>五一假期在 ohlife 上的一段话：
&lt;quote&gt;
一直在期盼放假，可真正到来时，却又不知自己该做些什么，心好像一直悬浮于空中，什么都不得要领，不想学习，不想见任何人...
情绪总是反反复复，对于朋友，对于家人，对于我所喜欢的人，总是找不到让自己安心的理由。或许一切的缘由只是因为我那卑怯的情感。如果相互喜欢上了那该多好，只是，这话，想了这么多年，默念了这么多年，到头来，只不过还是空话一句，还是只能是自己夜深人静时敢于说与自己听的话而已。
&lt;/quote&gt;

对于自己，对于别人，我想，我总是不够坦然的。很多的情，很多的话，总是因为自己那该死的拘窘，羞怯，卑怯的心理，不感诉诸于口。

也不知道为什么要将这段话放在这里，也许，一切都没有那么多的缘由的..</description>
		<content:encoded><![CDATA[<p>五一假期在 ohlife 上的一段话：<br />
<quote><br />
一直在期盼放假，可真正到来时，却又不知自己该做些什么，心好像一直悬浮于空中，什么都不得要领，不想学习，不想见任何人&#8230;<br />
情绪总是反反复复，对于朋友，对于家人，对于我所喜欢的人，总是找不到让自己安心的理由。或许一切的缘由只是因为我那卑怯的情感。如果相互喜欢上了那该多好，只是，这话，想了这么多年，默念了这么多年，到头来，只不过还是空话一句，还是只能是自己夜深人静时敢于说与自己听的话而已。<br />
</quote></p>
<p>对于自己，对于别人，我想，我总是不够坦然的。很多的情，很多的话，总是因为自己那该死的拘窘，羞怯，卑怯的心理，不感诉诸于口。</p>
<p>也不知道为什么要将这段话放在这里，也许，一切都没有那么多的缘由的..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 查看 MySQL 慢日誌 by 生活在别处 &#187; MySQL 日志</title>
		<link>http://www.livingelsewhere.net/2011/03/31/view-mysql-slow-log/comment-page-1/#comment-304</link>
		<dc:creator>生活在别处 &#187; MySQL 日志</dc:creator>
		<pubDate>Thu, 31 Mar 2011 07:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.livingelsewhere.net/?p=1284#comment-304</guid>
		<description>[...] 查看慢日志 [...]</description>
		<content:encoded><![CDATA[<p>[...] 查看慢日志 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on sysstat by 生活在别处 &#187; iostat</title>
		<link>http://www.livingelsewhere.net/2011/03/17/sysstat/comment-page-1/#comment-303</link>
		<dc:creator>生活在别处 &#187; iostat</dc:creator>
		<pubDate>Mon, 21 Mar 2011 08:28:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.livingelsewhere.net/?p=1229#comment-303</guid>
		<description>[...] 是sysstat 一组件, 用来即时显示系统, 比如 自从系统启动开始的 CPU 平均时间 (与 [...]</description>
		<content:encoded><![CDATA[<p>[...] 是sysstat 一组件, 用来即时显示系统, 比如 自从系统启动开始的 CPU 平均时间 (与 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP的HTTP认证机制 by Accutuaby</title>
		<link>http://www.livingelsewhere.net/2008/11/12/php-auth/comment-page-1/#comment-302</link>
		<dc:creator>Accutuaby</dc:creator>
		<pubDate>Sat, 19 Feb 2011 14:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://gettyying.w59.51host.cn/?p=221#comment-302</guid>
		<description>hi, new to the site, thanks.</description>
		<content:encoded><![CDATA[<p>hi, new to the site, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on memcached全面剖析–2.理解memcached的内存存储 by 生活在别处 &#187; memcached全面剖析–4. memcached的分布式算法</title>
		<link>http://www.livingelsewhere.net/2009/12/29/memcached%e5%85%a8%e9%9d%a2%e5%89%96%e6%9e%90%e2%80%932-%e7%90%86%e8%a7%a3memcached%e7%9a%84%e5%86%85%e5%ad%98%e5%ad%98%e5%82%a8/comment-page-1/#comment-300</link>
		<dc:creator>生活在别处 &#187; memcached全面剖析–4. memcached的分布式算法</dc:creator>
		<pubDate>Tue, 08 Feb 2011 14:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.livingelsewhere.net/?p=400#comment-300</guid>
		<description>[...] 第2次、 第3次 [...]</description>
		<content:encoded><![CDATA[<p>[...] 第2次、 第3次 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

