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


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

Re: SSD garbage collection

From J Burns <burns@nospam.com>
Newsgroups comp.sys.mac.system
Subject Re: SSD garbage collection
Date 2019-02-10 23:41 -0500
Organization A noiseless patient Spider
Message-ID <q3que7$aa3$1@dont-email.me> (permalink)
References <q3mu1o$3fn$1@dont-email.me> <1o2u2a5.fqca1v1s1zpbwN%dempson@actrix.gen.nz>

Show all headers | View raw


On 2/10/19 7:10 PM, David Empson wrote:
> J Burns <burns@nospam.com> wrote:
> 
> 
> For the 2018 Mac Mini, varous people have tested the different SSD
> capacity write speeds and these numbers are in the right ballbark for
> maximum achievable speeds (ignoring caching):
> 
> Capacity  Max Write speed
> 
> 128 GB    600 MB/s
> 256 GB    1300 MB/s
> 512 GB    1900 MB/s
> 1 TB      2600 MB/s
> 
> (2 TB is no faster for write. All read at up to 2600 MB/s.)
> 
> Therefore your measured 790 MB/s means you probably have a 256 GB or
> higher capacity SSD, but it wasn't achieving its maximum write speed
> during the Black Magic test, e.g. due to something else using the SSD at
> the same time, garbage collection or other factors.

My mini has 128 GB.

What test do others use? I used Black Magic, and I don't know how it 
tests in terms of caching, block size, and randomness.

> 
>> Then I checked the USB Superspeed 10 gb/s SSD, which had been my boot
>> drive for several weeks.
>>
>> It reads at 420 and writes at 130.
> 
> I see from your followup that it achieved 472 MB/s read, 376 MB/s write
> while idle.
> 
> Those numbers are somewhat low for an SSD which uses a 6 Gbps SATA
> interface internally. That interface imposes a theoretical limit of 600
> MB/s, but it is rare to see one get above about 580 MB/s due to protocol
> overhead. Achievable write speed may be lower than read speed for the
> same reasons as I described above.
> 
> If the drive was actually not USB Superspeed 10 Gbps but really 5 Gbps,
> that would impose a theoretical limit of just under 500 MB/s, which
> sounds like what you are seeing.

I bought a USB 3.1 enclosure. I didn't realize 3.1 can mean 3.0 these 
days until I found it wasn't much faster than a 3.0 SSD. System Report 
said it was 5Gb. As I recall, it also called it 3.0.

I ordered the kind of 3.1 I'd thought I was ordering the first time. 
System Report says it's 10 Gb/s.

New, that 256 Gb SSD was much faster in the 10 Gb enclosure than in the 
5 Gb enclosure. I wish I'd written the speeds!

Now there's not much difference. Tonight I plugged in the 10 Gb/s drive 
and the 5 Gb/s drive. I gave them plenty of idle time before testing.

Both wrote at 382! The slower drive read at 424, or 93% as fast as the 
faster one. That's pretty close.

I unplugged my TM disk and the slower SSD and tried the 10 Gb/s again. 
The read was the same, but write increased from 382 to 402. Maybe the 
way my mini handles USB buses has some effect on speed.

The SSD in my 10 Gb/s enclosure and the internal SSD are both Silicon 
Power 256 Gb A55's.

At 518/440, the internal SSD in my 2012 is only 14% faster reading and 
11% faster writing than the one in the enclosure.

The internal SSD probably hasn't been used enough to have had all the 
blocks used the first time. If I'm right that the SSD in the enclosure 
used to be significantly faster, the difference in speed between the two 
disks could come more from write amplification than from USB. Black 
Magic tests reading immediately after writing, so it sounds as if write 
amplification would affect reading speeds.

> 
> A USB 3.1 gen 2 (10 Gbps) SSD with an internal USB to SATA bridge will
> be limited by SATA's 6 Gbps (600 MB/s) or lower for write if the SSD
> can't achieve the full speed of SATA. That's assuming an otherwise idle
> USB bus and no other delays.
> 
> If the drive uses faster SSD chips and doesn't use SATA internally, its
> achievable limit would get closer to 1 TB/s. Getting faster than that
> would require a faster interface (e.g. Thunderbolt 2 or 3).
> 
I saw test results comparing several TB3 SSDs along with a 10 Gb 
enclosure and a PCIe SSD. I think it achieved 900 Mb/s, but it was much 
slower with small random blocks.

For now, I'm satisfied, but it's nice to look at possibilities. Thank you!

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


Thread

SSD garbage collection J Burns <burns@nospam.com> - 2019-02-09 11:10 -0500
  Re: SSD garbage collection J Burns <burns@nospam.com> - 2019-02-09 19:02 -0500
  Re: SSD garbage collection dempson@actrix.gen.nz (David Empson) - 2019-02-11 13:10 +1300
    Re: SSD garbage collection J Burns <burns@nospam.com> - 2019-02-10 23:41 -0500

csiph-web