<div dir="ltr"><div class="gmail_default" style="font-size:large">NMGLugers, Thank you Akkana and Jared. I see that I was not up on all the factors. I have re-engaged the swap and you are correct, it is rarely used as there is plenty of ram. The particular laptop has seen lots of use and may have issues or problems not related to the SSD, which is performing well. I will keep testing and exploring and narrow down the actual issues. But glad to rule out this issue and thanks for correcting my knowledge base on the SSD. Thank you, Ted P.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 4, 2019 at 9:33 AM Akkana Peck <<a href="mailto:akkana@shallowsky.com">akkana@shallowsky.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ted Pomeroy writes:<br>
> I have heard that the SSD has a limited, if large, number of re-writes in<br>
> its lifetime. Like a usb thumbdrive it can wear out. So, if a computer is<br>
> heavily used would it make sense to add 'noswap' to the Grub default file?<br>
> This would eliminate the many re-writes to swap and preserve the SSD for a<br>
> longer life. Is this reasonable?<br>
<br>
Do you actually use swap very often? For the last five years I've<br>
regularly used a netbook with 2G RAM, and I saw it obviously<br>
swapping maybe a dozen times during those years; usually when I<br>
did something silly like load a bunch of big images into GIMP<br>
without closing most of my firefox tabs first. The computer would<br>
slow to a crawl.<br>
<br>
I always saw swapping as an emergency measure: "You messed up and<br>
loaded something way too big, so the computer will now let you,<br>
SLOWLY, save your work and quit gracefully instead of crashing."<br>
I certainly wouldn't want to work on a swapping computer on a regular<br>
basis. Either learn different habits (fewer firefox tabs, quit<br>
firefox before starting LibreOffice, only load 3 camera images into<br>
GIMP at a time instead of 10, whatever it takes), or get more RAM.<br>
<br>
Given that, having a swap partition available and swapping enabled<br>
doesn't hurt anything: most of the time it doesn't get used but it's<br>
a nice emergency backup if you mess up.<br>
<br>
A more relevant question is /tmp, which does get regularly used.<br>
Lots of people recommend putting /tmp on a tmpfs instead of on the<br>
disk. On a spinning disk, that speeds things up marginally and<br>
avoids seeks; on an SSD, it reduces the writes to the SSD. I haven't<br>
actually converted my /tmp to tmpfs and I don't think it makes a<br>
huge difference either way, but there are reasaonable arguments for<br>
doing so.<br>
<br>
...Akkana<br>
_______________________________________________<br>
nmglug mailing list<br>
<a href="mailto:nmglug@lists.nmglug.org" target="_blank">nmglug@lists.nmglug.org</a><br>
<a href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org" rel="noreferrer" target="_blank">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a><br>
</blockquote></div>