Thread: Swap size?
i'm reading ubuntu server guide. in first few pages discusses installation, says "a swap partition twice size of available ram capacity may not desirable, on systems large amounts of ram."
why this?
have 8 gb of ram on machine. difference make if swap 4, 8, 16 gb?
with linux can away no swap space if run out of memory system can crash.
if running server constant amount of memory usage can safely away 1/2 physical memory. if running things fluctuate in memory usage or services running spawn more processes hadle increased load may want 1 2 times physical memory in swap.
thing keep in mind idle processes can swapped out of memory allowing using memory caching io increase filesystem performance.
in linux distros kernet 2.6 or later can set value of vm.swappiness 0 100 set how aggressive memory swapped out. think ubuntu defaults 60.
tuning parameter depends on done system best you.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] Swap size?
Ubuntu
Comments
Post a Comment