Re: nvme disk in caddy runs at 480M (expect 10000M)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ignore this.

After testing a number of cables I tested a (very) short cable that came with
the caddy and it DID connect at full speed.

On 30/1/25 11:58, Eyal Lebedinsky wrote:
$ uname -a
Linux e7.eyal.emu.id.au 6.12.10-100.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 17 18:03:20 UTC 2025 x86_64 GNU/Linux

I have a USB-C PCIe card that can run at 10Gbps. When I connect an nvme disk it connects at 480M.

## no disk plugged into this card:
$ lsusb -tv
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
     ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 20000M/x2
     ID 1d6b:0003 Linux Foundation 3.0 root hub

## now I plug in the USB-C caddy:
     /:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
         ID 1d6b:0002 Linux Foundation 2.0 root hub
         |__ Port 001: Dev 006, If 0, Class=Mass Storage, Driver=usb-storage, 480M    <<<
             ID 0bda:9210 Realtek Semiconductor Corp. RTL9210 M.2 NVME Adapter    <<< the caddy
     /:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 20000M/x2
         ID 1d6b:0003 Linux Foundation 3.0 root hub

It connects at 480M rather than the max for it (10G).

$ sudo hdparm -t /dev/sdi
     /dev/sdi:
      Timing buffered disk reads: 100 MB in  3.03 seconds =  33.00 MB/sec

## using a USB-3.0 to USB-C cable connects at 5000M:
$ sudo hdparm -t /dev/sdi
     /dev/sdi:
     Timing buffered disk reads: 1276 MB in  3.11 seconds = 410.77 MB/sec
$ lsusb -tv
     /:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/10p, 10000M
         ID 1d6b:0003 Linux Foundation 3.0 root hub
         |__ Port 007: Dev 006, If 0, Class=Mass Storage, Driver=uas, 5000M        <<<
             ID 0bda:9210 Realtek Semiconductor Corp. RTL9210 M.2 NVME Adapter    <<< the caddy

I remember it connecting at full speed in the past.
Also tested on another computer and measured 1010MB/sec, so the caddy seems good.

What information will show the decisions the drivers made?

TIA



--
Eyal at Home (eyal@xxxxxxxxxxxxxx)




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux