Keith C. Perry on 10 Jul 2015 15:04:46 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] swappiness and ssd

Thanks for the update K.S..

To be complete can you tell us how you measured your "swappiness"?

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Keith C. Perry, MS E.E.
Owner, DAO Technologies LLC
(O) +1.215.525.4165 x2033
(M) +1.215.432.5167

From: "K.S. Bhaskar" <>
To: "Philadelphia Linux User's Group Discussion List" <>
Sent: Friday, July 10, 2015 5:59:52 PM
Subject: Re: [PLUG] swappiness and ssd

I wanted to report on my experiments with swappiness (you really have to run with something like this for a while before you can conclude anything).  Swappiness of 80 seems to be a sweet spot for my laptop with an SSD, using a swap file located on a /home partition which is itself encrypted using dm-crypt.

-- Bhaskar

On Thu, Apr 16, 2015 at 10:01 AM, K.S. Bhaskar <> wrote:
The default swappiness on Ubuntu systems is 60, and presumably takes into consideration the relative performance of writes to and reads from the swap file / partition.  The ratio of write performance to read performance would be higher for SSDs than rotating media, since SSD reads are truly random whereas writes are in pages (in rotating media, seek and latency times would tend to apply to both).  Therefore, it seems to me that if swap is located on SSD, we should increase swappiness, to encourage less frequently used pages to be written out, since they can be brought back in very fast when needed.  Does that seem reasonable or am I missing something?  Thanks.

-- Bhaskar

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --