Re: Slow umass(4) on xhci(4)

2022-06-06 Thread Greg Steuck
Greg Steuck writes: > I was somehow sure I tried rsd1i before, but now I can see a 17x > difference: > > # dd if=/dev/rsd1i of=/dev/null bs=1M count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 6.038 secs (173,659,835 bytes/sec) I received an excellent suggesti

Re: Slow umass(4) on xhci(4)

2022-06-05 Thread Greg Steuck
Mike Larkin writes: > On Sat, Jun 04, 2022 at 06:24:36PM -0700, Greg Steuck wrote: >> I observe ~90x difference in bandwidth between Linux and OpenBSD on the >> same hardware. The test case is reading big files from a USB-attached >> flash drive[0]. The drive is plugged into a sole USB-c port on

Slow umass(4) on xhci(4)

2022-06-04 Thread Greg Steuck
I observe ~90x difference in bandwidth between Linux and OpenBSD on the same hardware. The test case is reading big files from a USB-attached flash drive[0]. The drive is plugged into a sole USB-c port on the back of the motherboard. On Linux I get about 900MB/s. OpenBSD shows ~10MB/s: # dd if=/