<?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>Erlang非业余研究 &#187; halfword</title>
	<atom:link href="http://blog.yufeng.info/archives/tag/halfword/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.yufeng.info</link>
	<description>Erlang系统深度探索和应用</description>
	<lastBuildDate>Tue, 17 Jan 2012 06:05:54 +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>Erlang 64位虚拟机halfword版本</title>
		<link>http://blog.yufeng.info/archives/500</link>
		<comments>http://blog.yufeng.info/archives/500#comments</comments>
		<pubDate>Tue, 27 Jul 2010 09:17:38 +0000</pubDate>
		<dc:creator>Yu Feng</dc:creator>
				<category><![CDATA[Erlang探索]]></category>
		<category><![CDATA[64]]></category>
		<category><![CDATA[Erlang， VM]]></category>
		<category><![CDATA[halfword]]></category>

		<guid isPermaLink="false">http://blog.yufeng.info/?p=500</guid>
		<description><![CDATA[原创文章，转载请注明： 转载自Erlang非业余研究 本文链接地址: Erlang 64位虚拟机halfword版本 在即将发布的R14B版本中，包括了64位机器下用的Halfword版本。 我们知道在64位Linux下，指针和size_t都变成64位的， 而Erlang的基础数据结构Eterm都是用的和体系相同的数据结构，那么在64位机器下，虽然CPU运算的速度增加了，但是内存的访问速度不会随着CPU的加快而加快。反而是在64位系统下，比如Erlang的List，访问的内存加倍了，总体的速度下降了百分几十。 为了解决这个问题，Erlang的团队推出了halfword-emulator, 通过修改Etrem指针的长度， 来达到节省内存，加速的目的。 我们可以在编译的时候通过 configure &#8211;enable-halfword-emulator 来启用这个VM. half word 64-bit Erlang VM有以下特性 – 4 Gbytes process heaps (in total) –max size of Erlang term 4 Gbytes – ets tables and binaries in separate space can utilize the full 64 bit address space 但是需要注意的是，这个patch推出的时间不长，可能存在风险。 在提高速度的同时，也有不稳定的风险。 用户需要自己去评估。 Post Footer [...]]]></description>
			<content:encoded><![CDATA[<div style="margin-top: 15px; font-style: italic">
<p><strong>原创文章，转载请注明：</strong> 转载自<a href="http://blog.yufeng.info/">Erlang非业余研究</a></p>
<p><strong>本文链接地址:</strong> <a href="http://blog.yufeng.info/archives/500">Erlang 64位虚拟机halfword版本</a></p>
</div>
<p>在即将发布的R14B版本中，包括了64位机器下用的Halfword版本。 我们知道在64位Linux下，指针和size_t都变成64位的， 而Erlang的基础数据结构Eterm都是用的和体系相同的数据结构，那么在64位机器下，虽然CPU运算的速度增加了，但是内存的访问速度不会随着CPU的加快而加快。反而是在64位系统下，比如Erlang的List，访问的内存加倍了，总体的速度下降了百分几十。</p>
<p>为了解决这个问题，Erlang的团队推出了halfword-emulator, 通过修改Etrem指针的长度， 来达到节省内存，加速的目的。<br />
我们可以在编译的时候通过 configure &#8211;enable-halfword-emulator  来启用这个VM.</p>
<p>half word 64-bit Erlang VM有以下特性<br />
– 4 Gbytes process heaps (in total)<br />
–max size of Erlang term 4 Gbytes<br />
– ets tables and binaries in separate space can utilize the full 64 bit address space</p>
<p>但是需要注意的是，这个patch推出的时间不长，可能存在风险。 在提高速度的同时，也有不稳定的风险。 用户需要自己去评估。</p>
<div style="margin-top: 0; margin-bottom: 15px; color: #888888; font-size: 80%; font-style: italic">
<p>Post Footer automatically generated by <a href="http://easwy.com/blog/wordpress/wp-posturl/" style="color: #8888FF; text-decoration: underline;">wp-posturl plugin</a> for wordpress.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.yufeng.info/archives/500/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

