3 ms·
disk cache is just 'free memory', when swap is used there is no free memory. Pretty much any OS (linux, windows, macos) use the unallocated memory for disk cac
by xxs 6y ago
disk cache is just 'free memory', when swap is used there is no free memory.
Pretty much any OS (linux, windows, macos) use the unallocated memory for disk cache. Disk swap also takes RAM as page descriptors.
- eru 6y ago> [...] when swap is used there is no free memory. Well, that's not true. In Linux you can have pages swapped out to disk and physical memory used for disk cache at the same time.