<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Should I choose to take advantage of 64-bit?</title><link>http://blogs.msdn.com/b/joshwil/archive/2006/07/18/670090.aspx</link><description>Here's the guts of a response that I posted a while back to an internal mailing list re: tradeoffs of runing your managed code as 64-bit vs 32-bit. YMMV, and I'll remind you that every perf question has a thousand answers depending on the situation. &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Visual Studio: Why is there no 64 bit version?</title><link>http://blogs.msdn.com/b/joshwil/archive/2006/07/18/670090.aspx#9725682</link><pubDate>Thu, 11 Jun 2009 06:34:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9725682</guid><dc:creator>Rico Mariani's Performance Tidbits</dc:creator><description>&lt;p&gt;From time to time customers or partners ask me about our plans to create a 64 bit version of Visual Studio.&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9725682" width="1" height="1"&gt;</description></item><item><title>When to Move to 64-bit</title><link>http://blogs.msdn.com/b/joshwil/archive/2006/07/18/670090.aspx#672241</link><pubDate>Thu, 20 Jul 2006 07:36:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:672241</guid><dc:creator>Patrick Altman</dc:creator><description> Josh Williams offers a few tips on when to move to 64-bit from 32-bit.&amp;amp;amp;nbsp; &amp;amp;amp;nbsp; It is interesting...&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=672241" width="1" height="1"&gt;</description></item><item><title>re: Should I choose to take advantage of 64-bit?</title><link>http://blogs.msdn.com/b/joshwil/archive/2006/07/18/670090.aspx#671494</link><pubDate>Wed, 19 Jul 2006 18:22:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:671494</guid><dc:creator>joshwil</dc:creator><description>Loic -- I get the point. I'm suggesting that I believe it is not as benefitcial as many people think it is. If more registers is all you need then IA64 would be running away with the crown hands down. Most of the time for most of the scenarios I see (note the wiggle words there) stuff is not processor bound in tight loops. If it always was then more registers would make a bigger difference.&lt;br&gt;&lt;br&gt;Jeroen -- In general we believe that managed code performance on 64-bit is competitive with 32-bit, in some cases better, in some cases worse, in most cases somewhere in the noise. However, the 64-bit CLR/JIT is in effect a v1 product competing against the 32-bit version which is for many practical purposes ~v3. We still however have some rough edges. If you can shoot me a relatively simple to execute repro for the problem you mention I can profile it and see where we're losing time (with a difference that large I would hope that something would jump out) and hopefully we can fix the problem in an upcoming release of the CLR.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=671494" width="1" height="1"&gt;</description></item><item><title>re: Should I choose to take advantage of 64-bit?</title><link>http://blogs.msdn.com/b/joshwil/archive/2006/07/18/670090.aspx#670751</link><pubDate>Wed, 19 Jul 2006 11:35:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:670751</guid><dc:creator>Jeroen Frijters</dc:creator><description>What about managed code? I must say that I'm a little disappointed by the x64 managed code performance. Running ikvmc to build IKVM.GNU.Classpath.dll is much slower in 64 bit mode. 164 seconds of user mode CPU time vs. 63 seconds in 32 bit mode (by forcing the CLR to run in 32 bit mode -- so all other conditions are identical).&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=670751" width="1" height="1"&gt;</description></item><item><title>re: Should I choose to take advantage of 64-bit?</title><link>http://blogs.msdn.com/b/joshwil/archive/2006/07/18/670090.aspx#670746</link><pubDate>Wed, 19 Jul 2006 11:18:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:670746</guid><dc:creator>Loïc Minier</dc:creator><description>Well, I agree with Dean, you completely miss the point of x86/64, it *doubles* the amount of general purpose registers.&lt;br&gt;&lt;br&gt;It's a known fact that one of the big problem with x86 is the small number of general registers, and this is how lower frequency arches can achieve a comparable amount of performance.&lt;br&gt;&lt;br&gt;Beside, these many registers also balance your argument with respect to cache size. &amp;nbsp;Code size is in some cases smaller due to the use of regs instead of the stack. &amp;nbsp;This also lowers the amount of data to fetch from memory when more data is passed via registers.&lt;br&gt;&lt;br&gt;However, it's nice that you balance your conclusion depending on the application type, and you're correct that some applications are negatively hit by the use of 64-bits pointers.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=670746" width="1" height="1"&gt;</description></item><item><title>re: Should I choose to take advantage of 64-bit?</title><link>http://blogs.msdn.com/b/joshwil/archive/2006/07/18/670090.aspx#670439</link><pubDate>Wed, 19 Jul 2006 04:59:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:670439</guid><dc:creator>joshwil</dc:creator><description>Dean -- Certainly a good point and in medium sized tight loops those extra registers can be helpful. However often they don't make as much of a difference as people would like to believe, certainly in many cases they are an extra few % and in a couple particular cases they make all the difference. In my mind they aren't a big enough deal to make the list.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=670439" width="1" height="1"&gt;</description></item><item><title>re: Should I choose to take advantage of 64-bit?</title><link>http://blogs.msdn.com/b/joshwil/archive/2006/07/18/670090.aspx#670380</link><pubDate>Wed, 19 Jul 2006 03:52:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:670380</guid><dc:creator>Dean Harding</dc:creator><description>What about the fact that 64-bit has more general-purpose registers? That should be in the &amp;quot;pluses&amp;quot; section as well, and should help with programs that would not otherwise normally see any benefits.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=670380" width="1" height="1"&gt;</description></item><item><title>re: Should I choose to take advantage of 64-bit?</title><link>http://blogs.msdn.com/b/joshwil/archive/2006/07/18/670090.aspx#670272</link><pubDate>Wed, 19 Jul 2006 01:58:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:670272</guid><dc:creator>rickbrew</dc:creator><description>The only driver trouble I had on x64 was with my new HP printer. Other than that, it runs and performs like a dream.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=670272" width="1" height="1"&gt;</description></item><item><title>re: Should I choose to take advantage of 64-bit?</title><link>http://blogs.msdn.com/b/joshwil/archive/2006/07/18/670090.aspx#670251</link><pubDate>Wed, 19 Jul 2006 01:34:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:670251</guid><dc:creator>joshwil</dc:creator><description>Gabriel -- it is true that for a lot of early adopters the driver support isn't quite there yet. However things are getting better for Vista. I've been using 64-bit for my primary machines for a few years and things are definitely better now.&lt;br&gt;&lt;br&gt;However, the point of this entry isn't why to switch to 64-bit on your machine so much as why to target 64-bit with your development...&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=670251" width="1" height="1"&gt;</description></item><item><title>re: Should I choose to take advantage of 64-bit?</title><link>http://blogs.msdn.com/b/joshwil/archive/2006/07/18/670090.aspx#670216</link><pubDate>Wed, 19 Jul 2006 00:58:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:670216</guid><dc:creator>Gabriel Lozano-Morán</dc:creator><description>64-bit =&amp;gt; Sh!t driver support that's the reason I had to go back from 64-bit Windows to the 32-bit equivalents. Maybe this is not entirely through if you by a standard Dell or another brand computer but it sure as hell is if you built your own computer.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=670216" width="1" height="1"&gt;</description></item></channel></rss>