Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 

The time now is Tue 11 Aug 2020, 03:56
All times are UTC - 4
 Forum index » Advanced Topics » Hardware
Do this to increase your SSD's lifespan
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
Official Dog Handler

Joined: 04 May 2005
Posts: 13653
Location: Arizona USA

PostPosted: Wed 08 Aug 2018, 13:55    Post subject:  Do this to increase your SSD's lifespan  

This is how SSDs work and what you can do to make yours last longer

This applies to all kinds of flash memories: SSDs, USB flash drives, SD memory cards, etc.
I hope it answers once and for all the question of how long your flash memory will last. I'm not aware of anyone in this forum reporting they wore out a flash memory. Another thing to consider is that a flash memory cell's wear-out mechanism means that it will gradually begin to give read errors, but since error-correcting bits are added, there is plenty of warning of impending failure due to the wear-out mechansim. Unlike spinning hard disks, which in my experience often fail catastrophically with little or no warning.
by Dong Ngo April 15, 2017

...be aware that the number of potential P/E cycles for an SSD is exponentially larger than that of a sheet of paper. In addition, modern SSDs have technologies that increase write efficiency and reduce wear on its storage cells. Among these technologies, the most important is the "wear-leveling" algorithms that effectively make sure all the drive's memory chips are used up, cell by cell, before the first cell can be written to again. This also means that SSDs of larger capacities generally have longer life spans than do smaller ones.

So how long is long? To help users estimate how long an SSD will last, most SSD manufacturers present the drive's endurance by the amount of data that can be written to the drive. For example, the 750GB Crucial MX300 has an endurance of 220TBW, meaning you can write 220 terabytes of data to the drive before it becomes unreliable. To put this in perspective, if you write 50GB of data per day every day to the drive, it will take you some 12 years to wear it out. Most other SSDs have similar or better endurance ratings. Generally the larger the drive, the higher he endurance.

Most of us actually write just a fraction of 50GB of data -- which is about two Blu-ray discs' worth -- on our computer's host drive on a daily basis, and many days we don't write anything at all. Note that watching movies, reading PDF files, or viewing photos doesn't count as writing; that's reading, which has no effect on an SSD's life expectancy. Only activities like copying music from another drive, downloading files, editing files, or backing up your phone, and so on require you to write to the drive.

That said, if you use an SSD the way you would a hard drive, chances are it will still last longer than a regular hard drive would. But you can do more...
Back to top
View user's profile Send private message 

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Wed 08 Aug 2018, 18:21    Post subject:  

We recently came across the TRIM command for SSD's too . This gives a little more insight into that but not for Linux !.

AHCI and TRIM commands:

AHCI, which stands for "advanced host controller interface," allows the operating system to access the storage faster and use some advanced functions. One of these functions is the TRIM command, which allows a supported operating system to actively inform the SSD which blocks of data are no longer in use and can be wiped. This helps the drive work more efficiently, reduce the effect of Write Amplification and ultimately leads to faster performance and a longer lifespan.

Generally, both AHCI and TRIM are enabled by default. You can check and change the former in the computer's BIOS setting. It varies depending on your computer, but with most systems you can enter the BIOS by tapping the Delete or F2 key as the computer boots up. Here, look for the storage section and change the value of "Configure SATA as" to "AHCI" (if it's not already AHCI). It's better to do this before you install the operating system, otherwise you'll need to install the storage drivers first before changing the value. Note that if you use two SSDs in a RAID configuration, then the RAID value (rather than AHCI) should be selected. Also if your computer doesn't have option for RAID or AHCI, but only IDE, then it's too old -- time to shop for a new computer.

You can determine if TRIM is working by running elevated Windows Powershell as described above in the hibernation section, then executing this command:

fsutil behavior query DisableDeleteNotify

If the command returns "DisableDeleteNotify = 0", then TRIM is running. If not, you can turn it on by executing:

fsutil behavior set disabledeletenotify 0

If your Mac comes with an SSD, then TRIM is always enabled. However, if you install your own SSD on a Mac, make sure you follow this How-to post to enable TRIM.
Back to top
View user's profile Send private message Yahoo Messenger 

Joined: 01 Jan 2010
Posts: 862
Location: S.E Australia

PostPosted: Wed 08 Aug 2018, 22:13    Post subject:  

Very interesting. Most significant for me is the suspend feature most puppies have when closing laptop lids. Article states that hibernation
(suspend-to-disk) is very significant for writes. We do have the lesser option of suspend-to-idle, but when I set that using freeze ilo mem (which is used in suspend-to-ram) in /etc/acpi/actions/suspend.sh, must press power button upon reopening lid.
Back to top
View user's profile Send private message 

Joined: 11 Apr 2014
Posts: 522
Location: Indiana

PostPosted: Fri 10 Aug 2018, 00:41    Post subject:  

Good info. I just got my first laptop with a SSD. Going by what i just read it should last me about 50 years........
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0505s ][ Queries: 11 (0.0199s) ][ GZIP on ]