[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

USB 3 external HDD issues not present in USB 2.

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 8
Thread images: 1

File: 250px-SuperSpeed_USB.svg.png (10KB, 250x131px) Image search: [Google]
250px-SuperSpeed_USB.svg.png
10KB, 250x131px
I'll try to make this short.
When I plug my external HDD into my PC's USB 3 ports, there are pauses when reading files. A file will partially read, then pause for 10 - 180 seconds (usually about 15 - 30 seconds), then resume copying, maybe multiple times for every file. When it's going, the read speed is fine, quite high actually, about 60 MiB/second. The MD5sums match after copying.

It doesn't do this when plugged into the USB 2 ports. When plugged into the USB 2 ports it reads files at about 30 - 40 MiB/second (which is about max for USB 2), but it doesn't pause, ever.

It only has problems reading files when I'm using a USB 3 port.

I'm using Linux Mint Rosa.
I have USB 3 support enabled in my kernel.
CONFIG_USB_XHCI_HCD=y
Kernel: 3.19.0-32-generic x86_64 (64 bit gcc: 4.8.2)

I have more info I can post if necessary.
>>
>>58400322
>I'm using Linux Mint Rosa.
found your problem
>>
>>58400350
While I appreciate the humor of your meme answer, such answers can be given for any circumstance.
>>
>>58400322
1.) Could be drive caching. It pauses because the HDD actually has to write the data to the disk. There is no need to disable it, as it's increases transfer speed for small transfers, and shouldn't harm large transfers.
2.) The actual SATA-USB controller is broken with UAS, or vise versa. Could also be a kernel issue, as UAS works in some kernels and doesn't in others. Disable UAS by following this thread: https://bbs.archlinux.org/viewtopic.php?id=183190

For me it was the latter, and disabling it from loading for the given USB controller fixed pausing IO operations and timeouts (important, due to risk of data corruption). For me, write speed decreased by ~15MB/s for HDD, SSD not tested.
>>
>>58400456
Forgive my impertinence, but why not just plug it into the USB 2 port, if the solution is going to reduce the speed on the USB 3 port?
>>
>>58400554
Because you'll be bottlenecked by USB 2.0 throughput, while the fallback BOT driver on USB 3.0 will still exceed the maximum transfer speeds of mechanical drives. Like I said, I'm not sure of the performance impact on SSDs, but with HDDs speeds are still near maximum, only caching seems to be affected and thus slight performance decrease.
You really don't have much to lose, as to revert simply comment out/delete the file you created and reboot system.
>>
>>58400456
After disabling UAS on the drive, the problem persists.

I know it's not the speed of my destination drive. I'm writing the read files to my RAM via TMPFS, it has a write speed of over 1GiB/second.

I'm certain that this is an issue with the kernel or software. The drive works perfectly plugged into the USB 2 ports, just at USB 2 speeds.
It also only does this when reading files. It writes them just fine.

Before you came along, I had no idea about the UAS though, so thanks for all your help.

I think I'm just going to give up on this. It's just turning into a waste of time.
>>
>>58400456


I have managed to FINALLY get it right.
It wasn't updating the right initramfs.
All is well now. THANK YOU VERY MUCH FOR YOUR HELP.
Thread posts: 8
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.