6 ms·
If you hit the swap, there is no disk cache. Which is problematic on its right own.
by xxs 6y ago
If you hit the swap, there is no disk cache. Which is problematic on its right own.
- eru 6y agoHuh? Swapping out unused stuff leaves more space for the disk cache.
- xxs 6y agodisk 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.