Difference between Volatile Memory and Non-Volatile Memory

Computer EngineeringComputer NetworkMCA

Volatile and Non-Volatile Memory are both types of computer memory. Volatile Memory is used to store computer programs and data that CPU needs in real time and is erased once computer is switched off. RAM and Cache memory are volatile memory. Where as Non-volatile memory is static and remains in the computer even if computer is switched off. ROM and HDD are non-volatile memory.

Following are the important differences between Volatile and Non-Volatile Memory.

Sr. No.KeyVolatile MemoryNon-Volatile Memory
1Data RetentionData is present till power supply is present.Data remains even after power supply is not present.
2PersistenceVolatile memory data is not permanent.Non-volatile memory data is permanent.
3SpeedVolatile memory is faster than non-volatile memory.Non-volatile memory access is slower.
4ExampleRAM is an example of Volatile Memory.ROM is an example of Non-Volatile Memory.
5Data TransferData Transfer is easy in Volatile Memory.Data Transfer is difficult in Non-Volatile Memory.
6CPU AccessCPU can access data stored on Volatile memory.Data to be copied from Non-Volatile memory to Volatile memory so that CPU can access its data.
7StorageVolatile memory less storage capacity.Non-Volatile memory like HDD has very high storage capacity.
8ImpactVolatile memory such as RAM is high impact on system's performance.Non-volatile memory has no impact on system's performance.
9CostVolatile memory is costly per unit size.Non-volatile memory is cheap per unit size.
Updated on 26-Nov-2019 12:24:29