On Sat, Jul 01, 2017 at 03:43:48PM -0400, Donald Allen wrote:
> On 1 July 2017 at 12:06, Juan Francisco Cantero Hurtado
> <i...@juanfra.info> wrote:
> 
> > The USB disks and ext2 are both quite slow on OpenBSD. Try with FFS but
> > you're not going to see better numbers.
> >
> > On Linux, the kernel uses UAS for your USB disks. We only supports
> > bulk-only.
> 
> If you are implying that if I had only waited a week or a month for
> this to complete on OpenBSD yesterday, I think you are incorrect. This
> was hung, not slow.

No, it's just slow. I've had the same problem for years. Our ext2
implementation is slow even on SATA.

Try this on your ext2 partition on the USB disks:

# mkdir test
# cd test
# i=0; while (( i < 200000 )); do >$i; (( i += 1 )); done

It takes only a few seconds on my SATA disk. Your USB disk will take a
while to complete the command.

> 
> As for your suggestion to try FFS, that's a non-starter. I have Linux
> systems and will do the rsyncs from primary to secondary with them. I
> did this with OpenBSD yesterday because, in general, I much prefer the
> system to Linux. But I realize it's not perfect -- no system is -- and
> it appears that I found an imperfection. Using Linux for this is a
> reasonable workaround, though if anyone has an interest in trying to
> debug the OpenBSD problem, I will help.
> 

-- 
Juan Francisco Cantero Hurtado http://juanfra.info

Reply via email to