RAM disk

From Wikipedia, the free encyclopedia

(Redirected from Ramdisk)
Jump to: navigation, search

A RAM-Disk or Ramdisk can be either:

In either case, access time is greatly improved. Due to the lack of moving parts, RAM can be several orders of magnitude faster than hard drives. However, the volatility of RAM means that data will be lost if power is lost, e.g. when the computer is turned off. This is sometimes desirable, for example when working with a decrypted copy of an encrypted document. In many cases, the data stored on the RAM disk is only a copy of or is derived from data permanently stored elsewhere, and thus will be re-created when power is restored and the system reboots.

Due to the higher price of RAM over hard drive storage, in some situations, RAM is used only for very frequently accessed data, or that which is creating a performance bottleneck. This might include swap space for virtual memory[citation needed], temporary files used for scratch space which experience high-frequency reads and writes, or frequently accessed data from a database. RAM disks can also be used to hold uncompressed programs for short periods.

Hardware RAM disks are also known as ramdrives, and are a type of solid state drive. Newer models carry lithium-ion batteries as backup in case of a power outage or transfer to another computer.

RAM disks were popular as boot media in the 1980s, when hard drives were expensive, floppy drives were slow, and a few systems, such as the Amiga series and the Apple IIgs, supported booting from a RAM disk. At the cost of some main memory, the system could be soft-rebooted and be back in the operating system in mere seconds instead of minutes. Some systems had battery-backed RAM disks so their contents could persist when the system is shut down.

A proper disk cache in the operating system may lessen the performance motivation for a RAM disk; a disk cache fulfills a similar role (fast access to data that is notionally stored on a disk) without the various penalties (data loss in the event of power loss, static partitioning, etc.). RAM disks are, however, indispensable in situations in which a physical disk is not available, or where access to, or changing a physical disk is not desirable (such as in the case of Live CDs). They can also be used in a kiosk-style device where any changes made to a system are not committed and the original configuration is to be loaded each time the computer is turned on.

The advent of Serial ATA has meant that RAM disks can be interfaced as a normal hard drive, although with extremely high transfer speeds. An example is the Gigabyte i-RAM, Hybrid Ram Disk, which uses standard DDR modules and connects to its host via SATA; this card also can make use of the system's standby power (also used for Wake-on-LAN and similar features) to maintain its RAM contents even with the system powered off, and even includes a battery that can retain the data when the system is completely disconnected from the power supply.

Software ramdisks use the normal RAM in main memory as if it were a partition on a hard drive, using special mechanisms in the operating system kernel, rather than actually accessing the data bus normally used for secondary storage. Usually no battery backup is needed due to the temporary nature of the information stored in the ramdisk, but an uninterruptible power supply can keep the entire system running during a power outage, if necessary.

Some ramdisks use the cramfs filesystem, to allow compressed data to be accessed on the fly, without uncompressing it first. This is convenient because ramdisks are often small due to the higher price per megabyte than conventional hard drive storage.

The first commercially available software RAM disk for microcomputers was the Silicon Disk System from Microcosm Ltd. This appeared in 1980, initially for the CP/M operating system and later for MS-DOS.

Microsoft added a RAM-disk to MS-DOS (version 2.0) in 1983.

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.