SOHO : Small Office Home Office
Freeware - Opensource software tips, tricks, tweaks & fixes for managing, securing, improving the performance of SOHO Desktop, Laptop, Networks

Tuesday, April 26, 2011

Speed up applications with RAMDISK

There are certain applications that do an unusual amount of reading and writing data. When those disk-intensive applications start competing with other applications, a serious slowdown can occur. You can prevent those slowdowns with the help of RAM disks.

A RAM disk is basically a partition of your PC’s memory that has been formatted and configured (via a special application) to be used as a high-speed target for data reading and writing. These RAM drives are significantly faster than traditional storage, so those applications will see a noticeable boost. Let’s take a look at the process of creating a RAM drive in Windows for this purpose.

Step 1: Download and install the necessary application
One of the best applications for this task is Dataram’s RAMDisk. You can download a free version that will give you up to a 4GB RAM drive. If you need more than 4GB, you can purchase the registration license for only $9.95. I would recommend trying the free version first to make sure the tool will suit your needs.

Once you have downloaded the file, go ahead and install it. The installation is as simple After you have the application installed, you are ready to start creating your RAM disk.


Step 2: Configure the RAM disk
To start the configuration tool, click: Start | Dataram RAMDisk | RAMDisk Configuration Utility. When you start this tool, a small window will open (Figure A) where you take care of all the RAM disk configurations.
Figure A

The maximum size of your RAM disk will depend on how much spare RAM your computer has (you will want to have plenty of extra RAM) and whether or not you have purchased a license.

Enter the size you want, check the type of partition you want to use, and then click Start. You will be prompted to install the device software in order for this to work. The installation of the drivers is part of the RAMDisk start-up.

Note: There are a few reasons why a RAM disk will fail to start. First and foremost is that you need to have administrative privileges for this to work. If you have admin privileges and the RAM disk still fails, lower the size of the RAM disk and try again.

When the RAM disk has been initialized, it will show up in Windows Explorer as a regular disk.


Now, it is very important to understand that, by nature, RAM disks use volatile storage. In other words, when you stop that RAM disk (by either manually stopping it in the RAMDisk utility or by rebooting the computer) all the contents of that RAM disk will be lost.


Fortunately, Dataram has thought of this and gives you another option in the configuration. If you look at the Load and Save tab, you will see that you can set the RAM disk up so that it will load at start-up. You will also want to consider the box marked as Save Disk Image on Shutdown. If you know you do not want to lose the data on the RAM disk, you MUST check at least this latter option. You can also set it up to autosave an image of the RAM disk if the data you are writing to the RAM disk is crucial and you want to ensure it is saved.

Step 3: Use the RAM disk
Tip 1  Speed up Web browsing : One of the easiest ways to use the RAM disk is for temporary Internet files. You can move the temporary folder for Internet Explorer over to your RAM disk, which will do two things: First, it will speed up Web browsing, and second (if you set the RAM disk to not save the image) it will lose all browsing history every time the machine is rebooted. So you get a speed increase and an increase in security.

To do this, open Internet Explorer and then click Tools | Internet Options | General. In the Browsing History section, click Settings. In this new window (Figure B), you will need to make sure the size of the disk space to use is less than the size of the RAM disk you intend on using.

Figure B
By default your temporary IE storage folder will be on C. You need to redirect this to the RAM disk.

After configuring the size, click on the Move Folder button and then relocate the folder to your RAM disk. Click OK when you are done with this task.

Tip2  Some more example  
  1. Portable web browsers
  2. Compression and extraction in Ramdrive
  3. Audio and video conversion
  4. Image / audio / video editing
  5. and more.....

Another great use for RAM disks is for application building. If you are a programmer and want to try to cut down build times, try moving your build folders to a RAM disk and build from within. You will find your build times can be cut by approximately 25 percent. Although this may not sound like a terribly huge time advantage, if you constantly have to rebuild (during testing phases or the like), that 25 percent is going to mean a lot at the end of the day.

Conclusion:
RAM disks are very handy tools for those trying to squeeze out as much performance and/or security as they can from their PCs. 

No comments:

Post a Comment