[TriLUG] SWAP and SSD vs HDD
Ken MacKenzie
ken at mack-z.com
Thu Nov 6 06:54:38 EST 2014
Well my thoughts, and the reason I asked are the concerns over SSD useful
life in applications where there are frequent smaller writes, such as
swap. Now most likely I will elect to turn the vm.swappiness value down to
about 10 on this machine when all is said and done.
The way I was figuring it was like this:
1. put swap on ssd and better swap performance, but potentially lessen
useful life of drive
2. put swap on hdd and worse swap performance, but ssd faces less frequent
writes
I can't say I have ever setup a machine without swap other than how my
Chromebook is setup. That works just fine and all but maybe I am thinking
to old school in this case by saying to myself:
"Thou must have SWAP!!!"
Ken
On Thu, Nov 6, 2014 at 1:39 AM, Igor Partola <igor at igorpartola.com> wrote:
> I don't think it'll make any difference at all. Ideally, on a box like
> this, swap should never be used. If it does, it doesn't matter if it's on
> SSD or HDD, it will be dog slow either way. I went through a period of time
> where I stopped allocating swap partitions. I started doing it again to
> allow for the machine to hibernate, and for that I'd put it on the faster
> drive. Then again, it probably will make no difference in this case, so I'd
> just go with the faster drive for that.
>
>
More information about the TriLUG
mailing list