---

KernelTrap: How to Use RAM as SWAP

“This article describes the required steps to convert a portion
of RAM into swap space. We examine some of the reasons you might
want to do this, including that using RAM as swap can be many times
less expensive than using most fast solid state storage solutions.
Additionally, it can be a lot easier to purchase and implement.
Read on for the details.

“Say you have a Linux system, and you are noticing latency. Then
you find that the slowness is from the time taken to swap programs
back into main memory. Say you have 512 MB of RAM and a 1 GB swap
partition on hard disk. Now, what if you could afford to remedy
this with a solid state storage device of GB size, and you could
just plug it into your computer in an already available slot or
connector? This would be used to replace the swap partition…”

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis