<?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>kdmurray.blog &#187; memory</title>
	<atom:link href="http://kdmurray.net/tag/memory/feed/" rel="self" type="application/rss+xml" />
	<link>http://kdmurray.net</link>
	<description>The crossroads of life and tech</description>
	<lastBuildDate>Tue, 07 Feb 2012 20:34:17 +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>RAM Disks &#8211; Storing Files in Memory</title>
		<link>http://kdmurray.net/2009/03/21/ram-disks-storing-files-in-memory/</link>
		<comments>http://kdmurray.net/2009/03/21/ram-disks-storing-files-in-memory/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 17:19:24 +0000</pubDate>
		<dc:creator>kdmurray</dc:creator>
				<category><![CDATA[Lessons]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[io]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[ram]]></category>
		<category><![CDATA[ramdisk]]></category>
		<category><![CDATA[ramdrive]]></category>
		<category><![CDATA[solid-state]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[tweak]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[windows-xp]]></category>

		<guid isPermaLink="false">http://kdmurray.net/?p=563</guid>
		<description><![CDATA[Back in ye olde days of DOS Microsoft included a utility with the system called RAMDRIVE.SYS.  This utility allowed you to carve off a few kilobytes of your system&#8217;s precious RAM to use as a pseudo hard drive that was highly effective for reading and writing large volumes of data to and from a drive [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/brutalworks/401702766/" target="_blank"><img align="left" class="size-full wp-image-613" style="border: 0pt none; margin: 6px;" title="RAM" src="http://kdmurray.net/wp-content/uploads/2009/03/ram_m11.jpg" alt="RAM" width="180" height="240" /></a>Back in ye olde days of DOS Microsoft included a utility with the system called <a href="http://support.microsoft.com/kb/91634" target="_blank">RAMDRIVE.SYS</a>.  This utility allowed you to carve off a few kilobytes of your system&#8217;s precious RAM to use as a pseudo hard drive that was highly effective for reading and writing large volumes of data to and from a drive at high speeds.</p>
<p>The speed comes from the fact that a computer can write to memory much faster than it can write to hard disks (or god forbid, external media and network drives).  RAM has always been built for performance because it needs to do so much interaction directly with the CPU therefore memory architectures have evolved to allow huge amounts of data to be pushed through ever-wider pipes between the CPU and memory.</p>
<h3>So you want a RAM Disk do ya?</h3>
<p>The first thing you need to do is obtain drivers to make this magic work.  There are several options available for this, the one I chose to use installs itself most like an actual driver.  In some other cases the setup is more like an application which must be executed to make the RAM disk work.  The drivers I&#8217;ve closen for this I downloaded from <a href="http://ramdisk.tk/" target="_blank">ramdisk.tk</a>.  The company offers a free version (up to 64MB) and a paid version which has a maximum capacity much higher.</p>
<p>Once you&#8217;ve downloaded the drivers, and unzipped them follow the installation procedure for new hardware.  I&#8217;ve included a slideshow of the screenshots, or you ca use the step-by-step directions below.</p>
<h3>Slideshow</h3>
<p>[tylr-slidr width="510" height="450" userID="36477201@N00" groupID=""]http://www.flickr.com/photos/kmsquared/sets/72157615707500410/[/tylr-slidr]</p>
<h3>Installation</h3>
<ol>
<li>In Control Panel, open the Add New Hardware wizard</li>
<li>Click <em>Next</em></li>
<li>Select <em>Yes, I have already connected the hardware</em>, click <em>Next</em></li>
<li>Select <em>Add new hardware device</em> from the bottom of the list, click <em>Next</em></li>
<li>Select <em>Install the hardware that I manually select from a list</em>, click <em>Next</em></li>
<li>Select <em>Show all devices</em>, click <em>Next</em></li>
<li>Click Have Disk, browse to the folder in which you unzipped the drivers, select <em>RAMDisk.inf</em> and click <em>Open</em>, click <em>OK</em>, click <em>Next</em></li>
<li>Click <em>Next</em></li>
<li>Click <em>Next</em></li>
<li>Click <em>Finish</em></li>
</ol>
<p>Once installed, you can access the RAM disk properties through the device manager.  This will allow you to set the size, and drive letter for your RAM disk.</p>
<h3>Uses for your RAM disk</h3>
<ol>
<li>Storage of temporary files (photoshop, temp folders etc).  Don&#8217;t put your swap file here&#8230; you&#8217;re better off just to use the physical RAM.</li>
<li>Storage of files which high rates of I/O &#8211; programming projects that need compilation will build faster on a RAM disk</li>
<li>Files which shouldn&#8217;t be stored permanently for privacy reasons &#8211; web browser files, for example.</li>
</ol>
<h3>Notes of caution</h3>
<ol>
<li>The RAM disk takes away available physical memory, so select the smallest drive you can make use of.</li>
<li>Anything you save to you RAM disk will be LOST once the computer is powered down. If you save data to that drive you&#8217;ll need to remember to copy it before shutdown.</li>
</ol>
<p>So go forth and set up your super-fast disk!  If you come up with a great new use for your RAM drive, or find a driver you like more, stick it in the comments!</p>
<p>photo credit: <a href="http://www.flickr.com/photos/brutalworks/401702766/" target="_blank">brutal</a> on flickr.</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://kdmurray.net/2009/03/21/ram-disks-storing-files-in-memory/&via=kdmurray&text=RAM Disks - Storing Files in Memory&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://kdmurray.net/2009/03/21/ram-disks-storing-files-in-memory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 479/481 objects using disk: basic

Served from: kdmurray.net @ 2012-02-08 18:38:33 -->
