Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How much faster is the memory usually than the disk?

Tags:

memory

disk

IDE,SCSI,SSD,SATA or all of those.

like image 632
lovespring Avatar asked Sep 03 '09 04:09

lovespring


People also ask

Why is memory faster than disk?

In general, storage tends to be slower than RAM. Hard disk drives are mechanical devices, so they can't access information nearly as quickly as memory does. In most personal computers, storage uses an interface called Serial ATA (SATA), which is slower than RAM.

How much slower is disk than memory?

I'm surprised: Figure 3 in the middle of this article, The Pathologies of Big Data, says that memory is only about 6 times faster when you're doing sequential access (350 Mvalues/sec for memory compared with 58 Mvalues/sec for disk); but it's about 100,000 times faster when you're doing random access.

Which is faster RAM or disk?

"Even in quad-speed drives, a hard disk is 100 times faster than CD-ROM, and RAM is 1,000 times faster," said Mr. Ryon of Dataquest, referring to random-access memory. As a result, CD-ROM software developers are becoming adept at mainlining parts of their programs into the computer's memory.


2 Answers

I'm surprised: Figure 3 in the middle of this article, The Pathologies of Big Data, says that memory is only about 6 times faster when you're doing sequential access (350 Mvalues/sec for memory compared with 58 Mvalues/sec for disk); but it's about 100,000 times faster when you're doing random access.

like image 108
ChrisW Avatar answered Sep 19 '22 23:09

ChrisW


Random Access Memory (RAM) takes nanoseconds to read from or write to, while hard drive (IDE, SCSI, SATA that I'm aware of) access speed is measured in milliseconds.

like image 32
OMG Ponies Avatar answered Sep 19 '22 23:09

OMG Ponies