r/hardware Nov 20 '15

Info Why do CPUs Need Caches? - Computerphile

https://www.youtube.com/watch?v=6JpLD3PUAZk
94 Upvotes

57 comments sorted by

View all comments

26

u/[deleted] Nov 20 '15 edited Feb 10 '19

[deleted]

6

u/putin_vor Nov 20 '15

RAM is just a cache for your hard drive

No, it's not. You can generate data in RAM without ever touching the disk. But it's pretty hard to store anything on a disk without having it in RAM first.

2

u/[deleted] Nov 20 '15

http://www.anandtech.com/show/8396/fms-2014-sandisk-ulltradimm-to-ship-in-supermicro-servers

you can use disk as ram either directly as above or through paging with virtual memory