55
submitted 1 year ago* (last edited 1 year ago) by Quills@sh.itjust.works to c/asklemmy@lemmy.ml

Does having swap memory damage SSDs too much, what do you think about it?

you are viewing a single comment's thread
view the rest of the comments
[-] emptyother@programming.dev 10 points 1 year ago

I did calculate it once on an older samsung drive. If you write multiple terabytes every day, you will cross samsungs estimated lifetime in 3 years.

I have no idea how much data a swap partition move per day but it can't be near that much?

[-] kev@lemmy.kevhomeit.trade 4 points 1 year ago

But the swap partition is only used when you run out of ram right? If I have enough ram I should not worry about that.

[-] Wyrryel@pawb.social 12 points 1 year ago

No, it's used much more often. How often is determined by a value called swapiness.

[-] jet@hackertalks.com 9 points 1 year ago

100% this. An aggressive memory manager could preemptively write everything from memory to swap even though it's still in memory, in case it has to evict it quickly.

this post was submitted on 24 Aug 2023
55 points (98.2% liked)

Asklemmy

43831 readers
938 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS