Is that a thing at all? I doubt it but thought I’d check just in case.

2 points

It will use whatever connection speed the device connected supports up to the speed of the host interface

permalink
report
reply
1 point
*

What kind of controller and what kind of Gb are you talking about?

Storage controller for USB sticks?

Or gaming controller with an advertised Gb/s USB bandwidth?

permalink
report
reply
3 points
*

Probably a USB controller, considering that is what they said explicitly in the title. And probably the bandwidth the controller advertises to downstream devices.

permalink
report
parent
reply
2 points

Yup. A USB host controller. Specifically AMD Bixby.

permalink
report
parent
reply
3 points

Just fyi

a storage controller on an USB stick also has programmed “Gb” for addressing the flash storage. For example if you want to remove one of the flash chips, you could be asking how to reprogram the controller to use only half of it’s initial capacity. Thats what I was confused about.

But you actually meant Gb/s.

permalink
report
parent
reply
17 points

I do not have an answer for you, but if I may ask…

Why?

permalink
report
reply
10 points
*

Great question. In short, garbagy AMD USB controllers. I recently switched to a newer AMD board and have been hit with the same issues faced by these poor sods. I’ve been conducting testing over the last week, different combinations of ports, cables, loads, add-in PCIe USB controllers. The add-in cards seem to behave well, which is one way the folks from that thread solved their problems. The other being changing to Intel-based systems. Yesterday however I was watching an intro about USB redrivers by TI and they were discussing various signalling issues that could occur and how redrivers help. That led me to form the hypothesis that what I’m experiencing might be signalling related. E.g. that the combination of controllers/ports/cables simply can’t handle 10Gbps. That might be noise from some of those devices or surrounding ones that causes signal loss when operating at 10Gbps, speeds this setup can actually achieve. In order to test that I tried placing the DAS boxes behind a 5Gb hub plugged in a port that has previously shown a failure. So far it’s stable. This is why I was wondering whether there’s some magic in the kernel that could allow configuring 10Gb ports to operate at 5Gb.

permalink
report
parent
reply
5 points

Fix the issue with 10G instead of trying to limit it. It might be as simple as a bad cable

permalink
report
parent
reply
3 points

I’ve been trying. Nothing has worked so far. I’ve got a few more cables/permutations to try.

permalink
report
parent
reply
6 points

It’ll be compatible with 5 Gbps devices, but if you’re intentionally looking to restrict even 10 Gbps devices down to 5 Gbps for some reason, you might be able to find something in your BIOS that lets you do that, or you can get a USB 3.0 extension cable that’ll limit your speeds to 5 Gbps.

permalink
report
reply
2 points
*

The extension cable is a great idea. I’m currently trying 5Gb hubs on the path. Seems to work.

E: I think the USB-A connector for 5Gb and 10Gb is the same. The 10Gb cable must simply carry double the rate without losing data due to noise. Similar to Cat 5 vs Cat 6 ethernet cables. If so an extension should keep the controller-advertised speed downstream. Seems like hubs are the only option.

permalink
report
parent
reply
3 points

There are powered extensions, so one of those might work, but a hub is certainly a comparable price and a more compact solution

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
1 point

This is about USB

permalink
report
parent
reply
1 point
*

Thanks my bad. OP was talking about ethernet in some of his comments so i somehow thought it was about an USB connected NIC.

permalink
report
parent
reply
26 points

Sounds like a case of X-Y problem

permalink
report
reply
-6 points
*

Oh yes, X would be AMD fixing their defective USB controllers but that won’t happen on a system produced years ago. 😂

permalink
report
parent
reply
19 points
*

You are evidently missing the entire point of what the X-Y problem is.

What are you ACTUALLY trying to accomplish here? Why do (think) you need to throttle your USB speed to 50%?

permalink
report
parent
reply
12 points
*

I am trying to transfer data via USB at high speed without data corruption, silent resets and occasional device disconnects. Those are things that happen because the USB controllers on my motherboard made by AMD with some help from ASMedia do not function correctly at the speed they advertise. So given the problem the right solution is to get a firmware or hardware fix for these USB controllers, however that’s unlikely to happen. So I’m trying to find a workaround. I already have one (PCIe add-in card) but now I’m also testing running the bad controllers at half-speed which seems successful so far but I was wondering if there’s a way to do it in software. I’m currently bottlenecking the links by using 5Gb hubs between the controllers and the devices.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8.3K

    Monthly active users

  • 3.4K

    Posts

  • 40K

    Comments