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


Groups > uk.comp.sys.mac > #136752

Re: USB3 Stick Copy Speed

From Alan B <alanrichardbarker@nospamgmail.com.here>
Newsgroups uk.comp.sys.mac
Subject Re: USB3 Stick Copy Speed
Date 2019-11-22 08:13 +0000
Organization A noiseless patient Spider
Message-ID <qr85bp$j2v$1@dont-email.me> (permalink)
References <slrnqtda44.13m.alanrichardbarker@alans-air.home> <1ohfpmh.5vb514pvi865N%dempson@actrix.gen.nz>

Show all headers | View raw


David Empson <dempson@actrix.gen.nz> wrote:
> Alan B <alanrichardbarker@nospamgmail.com.here> wrote:
> 
>> Just copied an 8GB-ish .img file to a 32GB USB3 stick. I decided
>> to use dc3dd to perform the copy via the CLI to monitor the progress
>> of the copy. It started off at about 11Mb/s but it slowly dropped
>> to about 3Mb/s when it completed. I'm wondering why this occurred 
>> and is it normal?
> 
> Based on the screen shot of dc3dd at Sourceforge, those numbers are
> megabytes per second (MB/s), not megabits per second, and it reports the
> average speed of the transfer at each step, not the instantaneous speed
> for each step (documentation seems to be nonexistent).
> 
> 11 MB/s is about one third of the maximum achievable throughput of USB
> 2.0 High Speed. The device interface may be USB 3.0 but it is using slow
> flash memory that would typically be used on a USB 2.0 flash drive.
> 
> The speed drop is normal.
> 
> The main reason is flash memory devices typically have a faster write
> cache which holds a small amount of data. Once that gets full,
> subsequent writes are limited to the write speed of the main flash
> memory.
> 
> Small enough files that fit in the cache will appear to be written at
> the speed of the cache.
> 
> Larger files will start writing quickly, then once the cache fills will
> write slowly. With an averaged write speed being reported, this will
> show as a decreasing speed over the duration of the write.
> 
> Another reason is that the device may need to do wear levelling and
> garbage collection during writes, which further slows the rate at which
> new data can be written. The impact varies but it tends to bog down if
> the device gets full, has had some deletions, but it has not yet got
> around to erasing previously used sectors.

Yes I meant to state megabytes per second - my silly error! Memory stick
manufacturers seem to have been getting away with outrageous speed claims
for years. No doubt somewhere in the small print they’ll say they are
referring to the interface only. Some have different ways of measuring
capacity. I have acquired several 32 GB sticks over the years. According to
‘diskutil list’ one is about 32 another about 33 and yet another 30.8 GB. I
was told way back that in computing a kilobyte was actually 1024 bytes, a
megabyte 1024 kilobytes etc. Powers of 2 stuff. So are manufacturers being
a little economic in their measurement definitions? (Or am I talking
complete b*******s as I’m often accused of!)

-- 
Cheers, Alan

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


Thread

USB3 Stick Copy Speed Alan B <alanrichardbarker@nospamgmail.com.here> - 2019-11-21 15:08 +0000
  Re: USB3 Stick Copy Speed nospam <nospam@nospam.invalid> - 2019-11-21 13:06 -0500
    Re: USB3 Stick Copy Speed Alan B <alanrichardbarker@nospamgmail.com.here> - 2019-11-21 20:28 +0000
      Re: USB3 Stick Copy Speed Savageduck <savageduck1@{REMOVESPAM}me.com> - 2019-11-21 12:42 -0800
      Re: USB3 Stick Copy Speed nospam <nospam@nospam.invalid> - 2019-11-21 17:43 -0500
  Re: USB3 Stick Copy Speed dempson@actrix.gen.nz (David Empson) - 2019-11-22 12:58 +1300
    Re: USB3 Stick Copy Speed Alan B <alanrichardbarker@nospamgmail.com.here> - 2019-11-22 08:13 +0000
      Re: USB3 Stick Copy Speed dempson@actrix.gen.nz (David Empson) - 2019-11-22 23:25 +1300
        Re: USB3 Stick Copy Speed Graham J <nobody@nowhere.co.uk> - 2019-11-22 12:15 +0000
          Re: USB3 Stick Copy Speed dempson@actrix.gen.nz (David Empson) - 2019-11-23 09:38 +1300
            Re: USB3 Stick Copy Speed Mark <captain.black@gmail.com> - 2019-11-22 21:18 +0000
              Re: USB3 Stick Copy Speed dempson@actrix.gen.nz (David Empson) - 2019-11-24 10:35 +1300
        Re: USB3 Stick Copy Speed Alan B <alanrichardbarker@nospamgmail.com.here> - 2019-11-22 16:24 +0000
      Re: USB3 Stick Copy Speed Lucifer <LuciferMorningstar@bigpond.com> - 2019-11-24 13:21 +1100
        Re: USB3 Stick Copy Speed Alan B <alanrichardbarker@nospamgmail.com.here> - 2019-11-24 08:30 +0000

csiph-web