Yup, definitely want to disable all the logging Linux does. That's what's been 
bricking early Tesla Model S cars. They left logging on. The car computer runs 
Linux and it and the car software are installed on a non volatile storage 
soldered onto the computer board. As Tesla released updates and additions to 
the car software, the free space in storage got smaller and smaller. Since the 
OS and car software was mostly static, the wear leveling had less and less 
space to spread the wear around. Too many bad blocks and running out of hot 
swap spare blocks = non-working car.
 
The car software logged data to a removable standard SD card so no problem if 
that died, take the computer out, open it up, pop in a new card. To fix the 
soldered in storage there are two choices. Pay $$$$$$$$$ to Tesla for a 
replacement computer or send it to a 3rd party shop that can replace just the 
storage chip then load it up with the Tesla build of linux, with logging 
disabled, and the latest car software. Version 2 of the Model S computer has 
several changes, including larger storage for the OS and car software, dunno if 
they disabled the OS logging.

    On Friday, July 3, 2020, 2:37:08 AM MDT, linden <l...@island.net> wrote:  
 Thanks Chris for the insight into what may be going on.

The PCIe interface sounds like a possible solution for machines that 
have PCI slots unfortunately with the laptop I am stuck with this sata 
interface we will see how this Samsung drive holds up with linux mint 20

On 2020-07-03 12:13 a.m., Chris Albertson wrote:
> Your results are atypical.  It could be however the fault of the OS.  Each
> bit in an SSD has a certain number of read/write cycles before it might
> fail.  Some million of cycles.  Back in the "old days" some OSes would
> write continously to the same place on the drive.  For example you'd
> delete a file and then when a new file is created it would use the recently
> freed space.  Today on modern computers with modern OSes systems are
> designed to spread the usage evenly all over the drive.
>
> With a hard drive you WANT to bunch all your data so that itis physically
> close to minimized head movements but on an SSD you want the data dispersed
>
> Linux has a habit of creating and deleting tiny files like log files and
> such and making files in /tmp and would trash the SSD that was not wear
> leveled
>
> I think those days are over.  New SSD have built-in wear leveling.
> https://en.wikipedia.org/wiki/Wear_leveling
>
> The question is about older or even antique Linux systems, do they know how
> to enable wear leveling on SSDs?  I don't know when this was introduced to
> Linux.
>
> Fast forward to the year 2020...  Today we don't use SSDs that are made to
> look like HDD and are put inside of a box with a SATA interface.  That hack
> was a transitional technique for retrofitting SSD into older computers.
> The box is mostly filled with air and the SATA interface is dead-dog-slow
> compared to PCIe.  A modern SSD comes on an M2 size card and plugs directly
> into the PCIe bus and does not even try to pretend it is a SATA Hard Drive.
>    If you are buying new storage you want a PCIe interface M.2 forms factor
> SSD.
> https://en.wikipedia.org/wiki/M.2
  
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to