All About Linux Swap Part 3: Analysis

Written By
Web Webster
Web Webster
Feb 7, 2009

“Remember that virtual memory is a mapping of all available
memory to a system, no matter the device type. Therefore, if you
anticipate that you will never utilize more than 4GB of virtual
memory and have 2GB of physical memory, 2GB might be a good amount
for you. But better than 2GB of swap would be an additional 2GB of
memory, allowing your heaviest usage to wholly fit inside RAM.

“On my desktop at home (which currently runs Gnome + Compiz on
Ubuntu 8.10 Intrepid Ibex), I started with 2GB of RAM and a 2GB
swap partition. I’ve since upgraded the memory to 4GB and – as
expected – seen swap usage drop to virtually none. The only
situation in which my swap fills up, is when a process runs amok
and grabs every last piece of memory available. Although I
practically never reach into that extra memory, I was thankful it
was there instead of having OOM Killer wreak havoc or forcing my
system to a screeching halt.”

Advertisement


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.