The firmware inside the SSD does a good job of writing to the entire drive to avoid wearing out one small area if a file is rewritten continuously.  You can probably plan on 100,000 or more write cycles to the entire drive before the FLASH memory wears out.  Again, the SSD controller manages bad blocks to try to minimize the damage that you see.

For your part, avoid writing to the swap partition if it's on the SSD.  You can do this by having a lot of RAM so the operating system isn't caching RAM memory contents to the SSD.  This will make the system throughput much faster as well if everything doesn't need to grind to a halt to cache some RAM to the SSD to load a new application.  If you need a swap partition on an SSD, make it as large as possible so the drive controller can spread out the writes to the SSD to avoid quickly wearing out a small swap partition.

For a bare bones dedicated LinuxCNC machine with 4 GB of RAM, you should probably be OK.

All of my LinuxCNC machines now have SSDs as the only hard drives. I shouldn't watch YouTube videos and surf the internet while running LinuxCNC.     :-(




On 10/19/2017 12:14 AM, John Dammeyer wrote:
I do have one question about this module just before I order one.  Is the 
Debian LinuxCNC set up to _not_ use the 'hard drive' for any temp files?
Over time it wouldn't take long to wear out the FLASH memory.

I understand that most of the folders that are used this way are generally 
created and maintained in RAM.  They look as if they are on the hard drive when 
you look at the file directory structure but in fact there are indirect links 
that point to the RAM area.

It normally takes a customized version of the OS to ensure that it's all RAM 
and only during shutdown is information written to the FLASH drive.

I know what they say on the EBAY web site but that doesn't mean it's true.

John




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to