Gå til innhold

Hva er ramdisk, og hvordan lager man det?


Anbefalte innlegg

Videoannonse
Annonse
A RAM disk, ramdisk or RAMdrive is a segment of active computer memory, RAM, which is being used as secondary storage, typically a role for a disk drive. Access times are greatly improved, because RAM disks are approximately a thousand times faster than hard disk drives. However, durability of data through power loss is completely absent, because they are made of normal volatile RAM. As a result, RAM disks lose their contents once the computer is turned off. RAM disks are great places to store temporary data or to hold uncompressed programs for short periods.

 

A proper disk cache in the operating system will usually obviate 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 LiveCDs). 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.

 

Another way to use RAM to store files is the temporary filesystem. The difference between temporary filesystem and a RAM disk is that the RAM disk (/dev/ram0 etc.) is fixed-sized and acts like a disk partition, whereas the temporary filesystem (/dev/shm; in Source Mage GNU/Linux also /tmp) grows and shrinks to fit the files put on it.

From Wikipedia, the free encyclopedia

 

Google: How to make a ramdisk

Endret av am3k
Lenke til kommentar

Var faktisk ikke klar over den muligheten, så sant vi ikke snakker om en eller annen version av (windows) standby mode. Har du dømer på slike hovedkort? Eneste løsningene jeg vet om som kan holde på data er ala. den typen jeg linket til over...

Lenke til kommentar

Ser ikke helt poenget med å bruke interntminne til disk hvis du ikke har for mye av det >2GB eller spesielle programer som filer og skriver til noen filer hele tiden.

Chache vil vike bra i vanlig bruk.

Derimot er en minnebasert harddisk en god idee hvis du vil ha en meget rask harddisk og kan betale for det.

Lenke til kommentar

Standby holder stråm på RAM, mens resten er slått av (samt en rutine for å komme ut av standby)

 

Hibernate skriver innholdet fra RAM til harddisk og slår maskinen, ved oppstart leses innholdet fra harddisk over i RAM og man forstetter arbeidet derifra

 

tilbake til ramdisk; meste er forklart i en annen tråd...ja, man kan lage dedikerte ramdisker som skriver innholdet sitt til ram før shutdown.

cache, tempfiler o.l. er hva ramdisk i de fleste tilfellene blir brukt som

 

http://forum.hardware.no/index.php?showtopic=426016&hl=

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...