Difference between disk cache and memory cache
Answers
Answered by
0
hell.. oo
Disk cache is RAM memory, that contains a copy of the information on the disk. Typically, when you access something on the drive, the whole page is brought into cache, on the assumption that the next access will be in that page. The first disk seek might take 8ms, while seeks from cache 100 ns (many times faster - note nanoseconds instead of milliseconds)
Memory cache is the same concept, but the cache is located on the CPU chip. So the original memory access is 100ns, the L1 cache access can be 0.5 ns.
Disk cache is RAM memory, that contains a copy of the information on the disk. Typically, when you access something on the drive, the whole page is brought into cache, on the assumption that the next access will be in that page. The first disk seek might take 8ms, while seeks from cache 100 ns (many times faster - note nanoseconds instead of milliseconds)
Memory cache is the same concept, but the cache is located on the CPU chip. So the original memory access is 100ns, the L1 cache access can be 0.5 ns.
Answered by
0
Answer:
A disk cache is a mechanism for improving the time it takes to read from or write to a hard disk.
A memory cache is a portion of memory used for high-speed storage.
Similar questions