3 ms·
Nice write up. I ditched swap partitions a few years ago, my system (home computer) basically never swapped. At the time I was digging myself out of a too-small
by pbhjpbhj 5y ago
Nice write up. I ditched swap partitions a few years ago, my system (home computer) basically never swapped. At the time I was digging myself out of a too-small /boot (a once-recommended size) and figured that one-big-partition with a swap-file gave most flexibility.
So, is the an efficient way to leverage the speed improvement for other than swap -- like binary caching of executables of some form?
- szszrk 5y ago> So, is the an efficient way to leverage the speed improvement for other than swap -- like binary caching of executables of some form? Sure. Like the site I mentioned in other comment, more or less "out tracks are faster". But this applies just to HDD drives. It's mostly useless for modern infrastructure, like SAN (even HDD based), all kinds of SSD and so on. A curiosity - last time I saw a cool optimization of HDD usage was on "old gen" consoles, like ps4 and xbox one. Most games duplicated assets multiple times. Games took much more GB then needed, but the drive did not had to jump between many HDD tracks so much and it mattered for instance in big open world games.
- pizza234 5y agoThe system uses swap to put less frequently used pages; the freed RAM can be used for caching, or more in general, pages that are used more frequently. So adding swap indirectly increases the memory available for caching. I don't know the details of (Linux) caching, though. On my (32 GB) system, there are a few completely unused GB, it seems.
- deleted 5y ago[deleted]