this post was submitted on 24 Aug 2023
152 points (83.3% liked)

linuxmemes

21006 readers
3165 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     

    Source: NTDev on Twitter

    (no, I won't call it "x")

    you are viewing a single comment's thread
    view the rest of the comments
    [–] N0N0 40 points 1 year ago (1 children)

    That swapping will soon kill the SSD.

    [–] [email protected] 5 points 1 year ago (1 children)

    I know this is a meme community but could you elaborate? Is swap bad for ssd's?

    [–] [email protected] 29 points 1 year ago* (last edited 1 year ago) (2 children)

    Writing to SSDs wear them out. Most (good) SSDs publish a TBW value on the packaging which is intended to provide guidance on when to replace the drive to avoid data loss (e.g. a 1TB may have a TBW of 600, so you should replace it after about 600TB of data have been written to the disk).

    The constant writing shown in the screenshot must be swap since the available memory is too small for Windows. Swapped data can't be used directly, so for Windows to make use of it it'll need to write something else to swap before reading the data it currently needs back from swap, do something with it, then write it to the swap file again before repeating with something else. That churn will happen very quickly on modern systems and drives.

    If you have a swap file on an SSD it isn't the end of the world. You just need to monitor the disk activity. If it stays high you may not get the longevity out of the drive you'd planned on. In all cases, however, finding a backup solution/system that works for you so that if the disk does die prematurely you don't lose what's important is always a good idea.

    [–] Intralexical 6 points 1 year ago

    Lmao, I've had literally 40-70GB of highly active application swap on an SSD for the last couple months now because I opened stuff and then didn't close it.

    That said, I chose and installed that drive years ago specifically for this use case (though originally for less intensive/more reasonable cases), and I'm aware of the stupidity of letting it be used like this now.

    [–] N0N0 1 points 1 year ago

    This answer covers it all.