public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Very slow i/o to external hard drive's HFS+
@ 2020-09-16 15:16 Rob Stevens
  2020-09-16 15:38 ` Thomas Wolff
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Stevens @ 2020-09-16 15:16 UTC (permalink / raw)
  To: cygwin

Hello

I have a removable hard drive sporting an HFS+ connected to a USB3 port.
The drive is a Seagate Slim Line 2T.
I am using a driver from Paragon Sofware to write/read from this drive.
I am running Windows10 build 19041.508 (ie up to date)

Writing to this file system using the unix cp command is incredibly slow:

cp my_file /cygdrive/h/some_destination
The same write, using copy paste in Windows Explorer is much faster.

I have not precisely timed it, but it is way more than an order of magnitude
faster (a 1G file took approx 10 mins: the graphical display shows just
a few seconds).

(In Windows Device Manager I have the policy for the drive set to be
"Better Performance"  and not "Quick Removal" -- apparently
the latter can lead to dramatic degradation in performance).

Can anyone suggest what might be the cause?

Rob Stevens

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Very slow i/o to external hard drive's HFS+
  2020-09-16 15:16 Very slow i/o to external hard drive's HFS+ Rob Stevens
@ 2020-09-16 15:38 ` Thomas Wolff
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Wolff @ 2020-09-16 15:38 UTC (permalink / raw)
  To: cygwin

Am 16.09.2020 um 17:16 schrieb Rob Stevens:
> Hello
>
> I have a removable hard drive sporting an HFS+ connected to a USB3 port.
> The drive is a Seagate Slim Line 2T.
> I am using a driver from Paragon Sofware to write/read from this drive.
> I am running Windows10 build 19041.508 (ie up to date)
>
> Writing to this file system using the unix cp command is incredibly slow:
>
> cp my_file /cygdrive/h/some_destination
> The same write, using copy paste in Windows Explorer is much faster.
>
> I have not precisely timed it, but it is way more than an order of magnitude
> faster (a 1G file took approx 10 mins: the graphical display shows just
> a few seconds).
>
> (In Windows Device Manager I have the policy for the drive set to be
> "Better Performance"  and not "Quick Removal" -- apparently
> the latter can lead to dramatic degradation in performance).
>
> Can anyone suggest what might be the cause?
"Better Performance" means that the write cache is active, so that the 
copy could be reported finished before it actually is. So your 
measurement may be deceptive. I assume cp applies some final flush, so 
its result would be real while the Windows copy isn't. Please try to 
change that setting for a reliable measurement.
Thomas

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-16 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 15:16 Very slow i/o to external hard drive's HFS+ Rob Stevens
2020-09-16 15:38 ` Thomas Wolff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).