<?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>irama.org &#187; Windows</title> <atom:link href="http://irama.org/news/category/technology/windows/feed/" rel="self" type="application/rss+xml" /><link>http://irama.org</link> <description>the web and I</description> <lastBuildDate>Tue, 08 Nov 2011 11:00:36 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>Vista, Windows 7, memory use and performance</title><link>http://irama.org/news/2009/07/20/vista-windows-7-memory-use-and-performance/</link> <comments>http://irama.org/news/2009/07/20/vista-windows-7-memory-use-and-performance/#comments</comments> <pubDate>Mon, 20 Jul 2009 12:08:48 +0000</pubDate> <dc:creator>Andrew Ramsden</dc:creator> <category><![CDATA[Windows]]></category> <guid
isPermaLink="false">http://irama.org/?p=304</guid> <description><![CDATA[As hinted previously, I&#8217;ve been experimenting with Windows operating systems and hardware for a few years and trying to get the best performance for day to day multitasking and a little gaming. As promised, this article contains the answers to questions such as: Which Operating System (OS) do I need to use more than 3GB [...]]]></description> <content:encoded><![CDATA[<p>As <a
href="/news/2009/07/05/strangelove/">hinted previously</a>, I&#8217;ve been experimenting with Windows operating systems and hardware for a few years and trying to get the best performance for day to day multitasking and a little gaming.</p><p>As promised, this article contains the answers to questions such as:</p><ul><li>Which <dfn>Operating System (<abbr>OS</abbr>)</dfn> do I need to use more than 3GB of RAM?</li><li>32 bit OS vs 64 bit OS?</li><li>Which performance tweaks actually work?</li><li>Which tweaks can reduce performance?</li></ul><div
class="section" id="disclaimer"><h2>Disclaimer</h2><p>I&#8217;m not a &#8220;systems guy&#8221;, I&#8217;m closer to a <em>systems n00b</em>. If you are a <em>systems person</em>, then I&#8217;m sure none of  this will be news to you, and you&#8217;re probably thinking <em>why is he explaining all this basic stuff?</em> If that&#8217;s what you&#8217;re  thinking, I&#8217;ll answer your question with some of my own questions, like <em>where were you when I was looking for simple answers?</em> And <em>where are your articles explaining all this stuff in plain-ish English?</em> And <em>won&#8217;t somebody think of the n00bs?  (n00bs are people too).</em><br
/> If you consider yourself a <em>systems person</em> and you notice any inaccuracies below, please leave  a comment and I&#8217;ll update the post, thank you.</p></div><div
class="section" id="background"><h2>Background</h2><ol><li
id="background-1">There&#8217;s no point trying to use more than 4GB of  RAM with a 32 bit operating system. Basically, 32 bit Windows systems can only  address 4GB, even with PAE (Physical Address Extension) due to driver  compatibility issues. And often different internal devices (like your video  card) require some of that <em>address space</em> bringing the total addressable RAM that the OS can access down closer to 3GB.<br
/> <small>(sources for this information are inconsistent, but  this is the conclusion I reached after much reading, sweating and cursing)</small>.</li><li
id="background-2">Using a 64 bit OS will allow up to 128GB or RAM available  to the OS (as much as you have installed). But a 64 bit OS will cost you RAM  also, as all variables are now 64 bits long (instead of 32) this can result in  20-40% more RAM used. So if you are using only 4GB of RAM it&#8217;s really not worth  switching to a 64 bit OS.<br
/> <small>(see <a
href="http://www.tomshardware.com/reviews/vista-workshop,1775-5.html">http://www.tomshardware.com/reviews/vista-workshop,1775-5.html</a>)</small></li><li
id="background-3">Some sources will warn against moving to a 64  bit OS because of the unavailability of 64 bit compatible drivers for old  hardware. I will say this, 12 months ago 64 bit Vista gave me no end of trouble, but recently, 64 bit Windows 7 has been running very reliably. If you use old hardware or Vista, potential driver issues may be a concern. Otherwise, I think it&#8217;s safe to say that 64 bit system users are now first class citizens too and drivers are generally available from all major hardware vendors. It would pay to check first though (especially for any older hardware/peripherals you may be using).</li><li
id="background-4">With only 4GB, Vista / Windows 7 fills <em>almost</em> all un-reserved RAM with cached  files, but &#8220;Physical Memory usage&#8221; only reports the amount of RAM actively reserved by applications. This means <em>Windows is putting all the RAM to good use</em> even if it doesn&#8217;t appear to be.<br
/> This is visible in Task Manager in the &#8220;Physical Memory&#8221; area under the  &#8220;Performance&#8221; tab. It displays a high value for &#8220;Cached&#8221; and low value for  &#8220;Free&#8221; (even though the overall reported &#8220;Physical Memory usage&#8221; may not be  high).<br
/> <small>(see <a
href="http://www.codinghorror.com/blog/archives/000688.html">http://www.codinghorror.com/blog/archives/000688.html</a>)</small></li><li
id="background-5">The page file use may seem large (as reported in  Task Manager), but it&#8217;s not always using that space, that space is only  allocated <em>in case</em> active memory needs  to be paged. So the page file will always be at least as large as active RAM  used, even though data is not being sent to and from the page file.<br
/> This means a high page file value is not necessarily an indication of a  performance bottleneck (unless it is much higher than the amount of actively  used RAM aka &#8220;Physical Memory Usage&#8221;).<br
/> <small>(see <a
href="http://forums.whirlpool.net.au/forum-replies-archive.cfm/929467.html">http://forums.whirlpool.net.au/forum-replies-archive.cfm/929467.html</a>)</small></li></ol></div><div
class="section" id="things-to-do"><h2>Things to do:</h2><ul><li><h3>Lots of RAM is a good thing  (4GB is good, 8GB is better)</h3><p> RAM is not too expensive these days, so it&#8217;s worth shelling out for.<br
/> <small>(see <a
href="http://www.tomshardware.com/reviews/vista-workshop,1775-12.html">http://www.tomshardware.com/reviews/vista-workshop,1775-12.html</a>)</small></li><li><h3>Assign a page file  to a different physical hard drive to the system drive</h3><p> <small>(see <a
href="http://www.msfn.org/board/lofiversion/index.php/t12014.html">http://www.msfn.org/board/lofiversion/index.php/t12014.html</a> and <a
href="http://www.tweakxp.com/article37023.aspx">http://www.tweakxp.com/article37023.aspx</a>)</small><br
/> Notes:<ul><li>You can use more than one disk for added  performance.</li><li>Don&#8217;t use a second drive alone if it is slower  than the system drive.</li><li>Don&#8217;t move the page file to a partition of the  system drive (very bad for performance).</li><li>Don&#8217;t assign your page file to a RAMDisk  as this just reduces the available RAM and creates references back to RAM  anyway. Instead, just add more RAM to reduce the necessity to page.</li></ul></li><li><h3>Set a static  size for the page file (but give it room to grow)</h3><p> Whenever Windows dynamically adjusts the size of the page file, the  application that requires the extra swap space has to wait. Set a static file  size for the page file (initial size = 1.5 times your amount of RAM and maximum  size = 2 or 2.5 times your amount of RAM). This way, most of the time the page  file will not need to be resized, but can if necessary. Allowing it to resize for  situations of abnormally large memory usage may avoid crashing applications  (and losing unsaved work).<br
/> <small>(see <a
href="http://www.extremetech.com/article2/0,2845,2156185,00.asp">http://www.extremetech.com/article2/0,2845,2156185,00.asp</a>)</small></li><li><h3>Defragment  drives that contain page files</h3><p> After performing step 3, it&#8217;s worth defragmenting the drives being used with  system tools, then run <a
href="http://technet.microsoft.com/en-au/sysinternals/bb897426.aspx">PageDefrag</a> because normal defragmentation can&#8217;t operate on active page files.<br
/> <small>(see <a
href="http://technet.microsoft.com/en-au/sysinternals/bb897426.aspx">http://technet.microsoft.com/en-au/sysinternals/bb897426.aspx</a>)</small></li><li><h3>Trust Vista / Windows 7 to do the  job properly</h3><p> Task Manager may report only 40% &#8211; 60% RAM used yet report a large page  file, which can seem counter-intuitive at first. It&#8217;s easy to assume that Windows is not managing memory well, that it&#8217;s paging memory too soon and must be  needlessly thrashing disk I/O when you switch between applications.<br
/> This is not the case, the rest of your RAM is being used for file caching and  the large page file usually only represents reserved space (see points <a
href="#background-4">4.</a> and <a
href="#background-5">5.</a> in the <a
href="#background">Background</a> section).<br
/> <small>(see <a
href="http://www.codinghorror.com/blog/archives/000688.html">http://www.codinghorror.com/blog/archives/000688.html</a>)</small></li></ul><h2>With 8GB, also do this:</h2><ul><li><h3>Try increasing the  FileSystem Memory cache</h3><p> This is only worth trying if the &#8220;Free&#8221; Physical Memory reported in the  Task Manager is quite high. Vista / Windows 7 will usually use a lot of memory for caching by  default without this tweak (see <a
href="#background-4">point 4.</a> in the <a
href="#background">Background</a> section).<br
/> <small>(see <a
href="http://www.howtogeek.com/howto/windows-vista/increase-the-filesystem-memory-cache-size-in-vista/">http://www.howtogeek.com/howto/windows-vista/increase-the-filesystem-memory-cache-size-in-vista/</a>)</small></p><ul><li>Open up an Administrator mode command prompt by right-clicking and choosing Run as Administrator, or type in cmd into the start menu search box and use Ctrl+Shift+Enter.</li><li>Enter <samp>fsutil behavior set memoryusage 2</samp></li><li>Restart Windows. (to revert use <samp>fsutil behavior set memoryusage 1</samp>)</li></ul></li><li><h3>Reduce or disable the  page file?</h3><p> While this is only really feasible for a Vista / Windows 7 system with 8GB or more of RAM  and <em>may</em> result in a small performance  improvement for switching between memory intensive applications, it will likely  cause an application to crash in the event the RAM is ever filled. Remember, <em>it&#8217;s always best to have at least 1.5 times  your total RAM available for paging and then just let Vista / Windows 7 get the job done.</em><br
/> <small>(see <a
href="http://www.tomshardware.com/reviews/vista-workshop,1775-6.html">http://www.tomshardware.com/reviews/vista-workshop,1775-6.html</a>)</small></li></ul></div><div
class="section" id="things-not-to-do"><h2>Things not to do:</h2><ul><li>Don&#8217;t reduce the page file or disable it  entirely.</li><li>Don&#8217;t assign your page file to a slow drive or a  separate partition of the system drive.</li><li>Don&#8217;t assign your page file to a RAMDisk (this  just reduces the available system RAM).</li><li>Don&#8217;t increase the FileSystem Memory cache if your applications max out your RAM frequently.</li></ul></div><div
class="section" id="conclusion"><h2>The wrap up</h2><p>I hope you found something amongst these tips useful, and I hope it saved you some time.</p><p><abbr
title="post script">PS</abbr> If you are interested in gaming performance, it depends on the game, but to cover all your bases I can recommend all of the above plus Windows 7 (or XP), a quad-core <abbr
title="central processing unit">CPU</abbr>, a fast hard drive (consider a <abbr
title="solid state drive">SSD</abbr>) and a beefy video card <img
src='http://irama.org/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p></div> ]]></content:encoded> <wfw:commentRss>http://irama.org/news/2009/07/20/vista-windows-7-memory-use-and-performance/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Dr Strangelove or: How I Learned to Stop Worrying and Love Windows</title><link>http://irama.org/news/2009/07/05/strangelove/</link> <comments>http://irama.org/news/2009/07/05/strangelove/#comments</comments> <pubDate>Sun, 05 Jul 2009 10:29:59 +0000</pubDate> <dc:creator>Andrew Ramsden</dc:creator> <category><![CDATA[Apple Mac]]></category> <category><![CDATA[Windows]]></category> <guid
isPermaLink="false">http://irama.org/?p=295</guid> <description><![CDATA[For web development, I prefer to work on a Mac. But I also like to game. So I tend to invest in hardware that will allow me to game and work without shelling out for a top-of-the-line Apple PC (at the moment, I think that would be my ideal setup). I’ve never had the time [...]]]></description> <content:encoded><![CDATA[<p>For web development, I prefer to work on a Mac. But I also like to <em>game</em>. So I tend to invest in hardware that will allow me to game and work without shelling out for a top-of-the-line Apple PC (at the moment, I think that would be my ideal setup).</p><p>I’ve never had the time to fully embrace Linux as a Desktop environment (too busy trying to understand Windows, which as you’ll remember, I require for gaming). This has historically left me in a somewhat uneasy truce with Windows as my primary OS (Operating System).</p><p>Anyway, about a year ago I decided to take the jump to Vista. Don’t ask why, that’s a separate saga, and not important to the information presented here (if you ask nicely, I might tell you some time).</p><h2>Just add RAM</h2><p>After upgrading, my rig was coping ok with 2 GB of RAM, but it felt sluggish at times and did not seem quite enough for Vista plus gaming. RAM is fairly inexpensive these days, so I considered simply adding some more. My assumption was that this would be a simple upgrade “just add RAM”, you know like “just add water” (note: don’t mix the two). Needless to say I ran into a number of problems upgrading and trying to tweak performance, of which there seems to be much confusing and often conflicting information available online in articles and forums.</p><p>Luckily, at the time I was on holidays, so I had time to sift through the mountains of technical missives, waffling threads, and all-out flame wars to distil what I believe to be the most useful and accurate advice — which I&#8217;ll publish one day soon, in the meantime, the saga continues&#8230;</p><h2>Just add 32 bits</h2><p>After upgrading to 4 GB of RAM it became apparent that not all of it was visible to Vista, it turns out that a 32 bit operating system can only address up to 4 GB of memory (including RAM and memory attached to other devices, like a video card).</p><p>I considered enabling PAE (Physical Address Extension) but read that would introduce driver incompatibilities. Instead, I decided to upgrade to 64 bit Vista because a 64 bit OS can address all of my RAM and video memory at the same time.</p><h2>Just add XP</h2><p>Unfortunately, while 32 bit Vista was sluggish and a little unstable, 64 bit Vista was sluggish and extremely unstable. I put this down to a lack of quality 64 bit drivers, but the result was a return to XP. After weeks of reading, upgrading and general frustration I was back at square one.</p><p>At the time I decided not to blog about all of this because I don&#8217;t generally like to dwell on the negatives (certainly not worth dwelling on a failure of this magnitude).</p><h2>Just add Windows 7</h2><p>It&#8217;s ok though, because the saga has a happy ending. In the last couple of months, I have installed the 64 bit Windows 7 Release Candidate (W7) and the results have been very promising. Stability is good, and performance is great, and I&#8217;m a big fan of the W7 features and UI improvements over XP.</p><p>Many of these UI improvements of course have been lifted straight from the Mac OS X playbook, but Vista/W7 have a few nice features of their very own, for instance they provide very nice options for replacing/merging files and folders.</p><p>Two weeks ago I upgraded my rig to the Nehalem architecture, and 64 bit Windows 7 has been just as reliable, and a little snappier thanks to the i7 processor and 6GB of RAM.</p><h2>The verdict</h2><p>In short, for best performance and usability: If you can&#8217;t afford a <a
href="http://store.apple.com/au/configure/MB535X/A?mco=NDE4NDQ1OQ" class="broken_link">hulking Apple</a> — Use Windows 7, use the 64 bit edition and pack lots of RAM.</p><p>For a more detailed list of performance <em>do</em>s and <em>don&#8217;t</em>s that I accrued through much reading, trial and error, stay tuned for my next post&#8230;</p> ]]></content:encoded> <wfw:commentRss>http://irama.org/news/2009/07/05/strangelove/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
