+ 1

What is disk cache? What is it used for?

6th Jun 2018, 6:47 PM
Mladen Lazic
Mladen Lazic - avatar
4 odpowiedzi
+ 3
This page has a few things you can affect to "test I/O performance in the real world", which (if you have a Linux system) may help you get an intuitive understanding of what's happening. https://www.turnkeylinux.org/blog/invalidating-disk-cache
7th Jun 2018, 12:47 AM
Kirk Schafer
Kirk Schafer - avatar
+ 1
This a part of system which uses write to disk operations. Write to disk is costy operation and disk cache is an RAM-based structure to hold data before writing to disk. Some operation could be done in the fast cache without interaction with slow HDD or fragile SSD.
6th Jun 2018, 8:41 PM
Сергей Градович
Сергей Градович - avatar
0
for everything
6th Jun 2018, 8:40 PM
Freddy
0
Thanks, but I have one more question. If some operation will be done using disk cache without using HDD, will the data wrote on the hdd after that or not if we do not need data afterwards?
6th Jun 2018, 9:26 PM
Mladen Lazic
Mladen Lazic - avatar