Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #128574

Re: Can't format SSD

Subject Re: Can't format SSD
Newsgroups comp.sys.mac.system
References (4 earlier) <h7729nFmsfmU1@mid.individual.net> <0001HW.23BF102D0153F17A7000090512CF@news.individual.net> <030120200848182192%nospam@nospam.invalid> <uyQPF.189211$%F2.105543@fx47.iad> <030120202004161294%nospam@nospam.invalid>
From JF Mezei <jfmezei.spamnot@vaxination.ca>
Message-ID <EiSPF.52356$Qe2.1030@fx38.iad> (permalink)
Date 2020-01-03 20:57 -0500

Show all headers | View raw


On 2020-01-03 20:04, nospam wrote:

> it can be useful for older ssds that do not do their own garbage
> collection.

Except for very old SSDs from the early 1990s in PSION PDAs, all SSDS
which emulate a magnetic disk in terms of SATA commands MUST have
garbage collection. You are stupid to think that any SSDs plugged into
computers to replace spinning drives wouldn't have garbage collection.


> however, for anything made in the past five years and probably longer
> than that, it is not important because the ssd handles it on its own. 

the SSD has no knowledge of what blocks contain valid data or not. It
inly has knowledge of pages that have recently been copied elsewhere
because one block in the page (containing multiple blocks) has been
rewritten. the old copy is markled for zapping and sent to garbage
collection.

Trim sends to garbage collection blocks from delete files, something the
SSD is normally unaware of since it has no concept of the file system,
nor of which block contains data allocated to a file and not.



The PSION SSDs had the peculiarity of being able to have bits set to 1
if it hadn't been set yet.

When you updated an entry in the "database" app, it would set the
"delete" bit to 1 in the existing record, and write the updated record
at end of file. And it was able to zap to 0 blocks in the SSD as opposed
to only pages (multiple blocks) which greatly simplified things. but the
OS was quite aware of this as the SSDs were dumb so the OS has to do all
the garbage collection (aka: sending commands to "format" blocks back to
0 after you deleted a file or save a file (which woudld save it elsewhere).

Modern SSDS have had virtualisation of disk blocks and background
garbage collectio from the get go since they were designed to replace
spinning drives on operating systems that were not aware of SSD
likmitations and even less applicatiosn designed around SSD limkitations
(such as that database app on the PSION).


Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can't format SSD Graagzelfs <email@domain.com> - 2019-12-31 10:30 +0100
  Re: Can't format SSD nospam <nospam@nospam.invalid> - 2019-12-31 04:42 -0500
    Re: Can't format SSD Graag Zelfs <noemail@domain.com> - 2019-12-31 16:57 +0100
      Re: Can't format SSD nospam <nospam@nospam.invalid> - 2019-12-31 11:37 -0500
        Re: Can't format SSD Graagzelfs <email@domain.com> - 2020-01-02 11:25 +0100
      Re: Can't format SSD YK <xxxxx@dialme.com> - 2019-12-31 19:47 -0500
        Re: Can't format SSD Graagzelfs <email@domain.com> - 2020-01-02 11:24 +0100
    Re: Can't format SSD Graag Zelfs <graagzelfs@gmail.com> - 2020-01-05 00:52 -0800
  Re: Can't format SSD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-31 18:54 -0500
    Re: Can't format SSD Graagzelfs <email@domain.com> - 2020-01-02 13:12 +0100
      Re: Can't format SSD Graagzelfs <email@domain.com> - 2020-01-02 13:26 +0100
        Re: Can't format SSD Percival John Hackworth <pjh@nanoworks.com> - 2020-01-02 07:38 -0800
        Re: Can't format SSD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-02 15:29 -0500
        Re: Can't format SSD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-02 15:45 -0500
          Re: Can't format SSD nospam <nospam@nospam.invalid> - 2020-01-02 15:54 -0500
      Re: Can't format SSD nospam <nospam@nospam.invalid> - 2020-01-02 07:59 -0500
        Re: Can't format SSD Graagzelfs <email@domain.com> - 2020-01-02 14:34 +0100
          Re: Can't format SSD nospam <nospam@nospam.invalid> - 2020-01-02 08:40 -0500
            Re: Can't format SSD Graagzelfs <email@domain.com> - 2020-01-02 15:12 +0100
              Re: Can't format SSD joe <none@domain.invalid> - 2020-01-02 09:53 -0600
                Re: Can't format SSD Graagzelfs <email@domain.com> - 2020-01-02 19:31 +0100
                Re: Can't format SSD Graagzelfs <email@domain.com> - 2020-01-02 19:33 +0100
                Re: Can't format SSD joe <none@domain.invalid> - 2020-01-02 12:39 -0600
      Re: Can't format SSD Percival John Hackworth <pjh@nanoworks.com> - 2020-01-02 07:37 -0800
        Re: Can't format SSD nospam <nospam@nospam.invalid> - 2020-01-02 10:52 -0500
        Re: Can't format SSD Jolly Roger <jollyroger@pobox.com> - 2020-01-02 20:31 +0000
          Re: Can't format SSD Percival John Hackworth <pjh@nanoworks.com> - 2020-01-02 22:01 -0800
            Re: Can't format SSD nospam <nospam@nospam.invalid> - 2020-01-03 08:48 -0500
              Re: Can't format SSD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-03 18:58 -0500
                Re: Can't format SSD Alan Browne <bitbucket@blackhole.com> - 2020-01-03 19:05 -0500
                Re: Can't format SSD nospam <nospam@nospam.invalid> - 2020-01-03 20:04 -0500
                Re: Can't format SSD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-03 20:57 -0500
                Re: Can't format SSD nospam <nospam@nospam.invalid> - 2020-01-03 21:19 -0500
                Re: Can't format SSD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-04 05:22 +0000
                Re: Can't format SSD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-04 05:19 +0000
                Re: Can't format SSD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-04 15:56 -0500
                Re: Can't format SSD nospam <nospam@nospam.invalid> - 2020-01-04 17:18 -0500
                Re: Can't format SSD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-05 16:49 +0000
                Re: Can't format SSD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-05 14:55 -0500
                Re: Can't format SSD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-06 00:55 +0000
            Re: Can't format SSD Jolly Roger <jollyroger@pobox.com> - 2020-01-03 17:53 +0000
              Re: Can't format SSD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-03 20:28 -0500
              Re: Can't format SSD Percival John Hackworth <pjh@nanoworks.com> - 2020-01-03 22:52 -0800
                Re: Can't format SSD nospam <nospam@nospam.invalid> - 2020-01-04 09:38 -0500
                Re: Can't format SSD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-04 16:13 -0500
                Re: Can't format SSD nospam <nospam@nospam.invalid> - 2020-01-04 17:18 -0500
                Re: Can't format SSD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-05 16:51 +0000
                Re: Can't format SSD Percival John Hackworth <pjh@nanoworks.com> - 2020-01-05 12:45 -0800
                Re: Can't format SSD nospam <nospam@nospam.invalid> - 2020-01-05 16:48 -0500
            Re: Can't format SSD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-01-03 19:31 +0000
          Re: Can't format SSD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-01-03 02:54 -0500
            Re: Can't format SSD nospam <nospam@nospam.invalid> - 2020-01-03 08:48 -0500
            Re: Can't format SSD Jolly Roger <jollyroger@pobox.com> - 2020-01-03 17:54 +0000

csiph-web