V
V
VitP2013-01-22 13:15:54
Solid State Drives
VitP, 2013-01-22 13:15:54

Should I disable the swap file when using an SSD drive

There is a new 2.5" OCZ Vertex 4 VTX4-25SAT3-128G, 128GB, SSD, SATA III. I'm
interested in the following question - is it worth disabling the paging file or not?

Thank you.

Answer the question

In order to leave comments, you need to log in

12 answer(s)
M
Mithgol, 2013-01-22
@Mithgol

The swap file should not be disabled, because its absence causes crashes in programs that need large amounts of virtual memory.
However, taking care of the slow waste of SSD life resources, you can move the paging file to another disk (not SSD), and thus achieve what you want.
(The question of how much swapping on an SSD reduces the life of an SSD is dangerous for karma on Habrahabr, so I won’t touch on it at all.)

E
Efsi, 2013-01-22
@Efsi

Having an SSD doesn't change the importance of the swap file in any way. It all depends on the amount of physical memory and the programs that are used. When working with video, for example, at some point there may not be enough memory and the OS will give an error. If you have 8 gigabytes or more, then try turning it off.

P
pletinsky, 2013-01-22
@pletinsky

If you bother so much about ssd, then why do you need it at all? you won't enjoy it at all.
Your rewriting cycles will not end in normal usage scenarios, even with a paging file, even without it.
Rely on the amount of RAM in your solution.

N
Nikolai Turnaviotov, 2013-01-23
@foxmuldercp

Well, as children, by God.
What is an SSD for? That's right, to speed things up. And now we think - why do we need to disable / transfer the swap file (hibernate, yes, it is not transferred)
And now let's think again - do we need speed or resource saving?
If saving a resource, we transfer swaps, caches and everything else for which we bought an SSD to speed up work, right, on a brake HDD.
If we need the speed of work, then we do not suffer from transfers, but enjoy the increase in work.
PS> 2y I use SSD not the first freshness at the time of purchase. Despite the fact that the machine (home desktop) is running Win2008R2, SQL12, MS Visual Studio 12, IIS, the girl regularly works with photos in Gimpe, my SSD is promised to die in 2016.

M
m1rl0b, 2013-01-22
@m1rl0b

Definitely worth turning it off. Otherwise, the hard drive will die for a long time .
More details here .

W
wartur, 2013-01-22
@wartur

Oh. 4ga is not enough sometimes. In 90% of cases it is disabled. But when work is in full swing and the machine starts to say give me memory, then I give it to her.

N
Nikolay45, 2013-01-22
@Nikolay45

I have more than a dozen computers with SSDs in my personal and business use. Depending on the tasks to be solved, I set a fixed size of the FP of a larger or smaller size. On desktops, I turn off hibernation and delete the file.

K
KEKSOV, 2013-01-22
@KEKSOV

Recently there was a good habra- article on this topic, it is worth reading the comments too.

F
FilimoniC, 2013-01-22
@FilimoniC

If the desktop, then with 8-16GB of RAM, you can safely turn it off, regardless of the presence of an SSD in the system. It speeds up the work in any case, because in any case, the OS no-no and dumps unused pages into swap. This volume usually does not require

P
Pure_BY, 2013-01-23
@Pure_BY

It seems to me that the developers of Windows are well aware that if not already the majority, then at least a lot of new computers are equipped with an SSD. And the very fact of having a pagefile in the latest version of their OS (which is maximally optimized for new hardware) seems to tell us that it is still needed for some reason.

C
charon, 2013-01-23
@charon

I wouldn't turn it off. If possible, I transferred it to a regular HDD, and if it is not possible, I would leave it on the SSD. Arguments above.

N
Nastradamus, 2013-01-24
@Nastradamus

I did this: I set a fixed size of 4 GB on an SSD with 16 GB of RAM.
Question: did I do the right thing?
And then I don’t really want to give 24 gigs out of 128 to an SSD. SSD is not a pity, as well as the data on it, because every day a backup is made by Acronis and it is possible to roll back at least six months back up to the day.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question