Re: USB SSD disk speed question

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

 



On 3/3/21 2:03 PM, Frederic Muller wrote:
On 3/2/21 9:58 PM, Roberto Ragusa wrote:
You just want the result and it is not sure what you are measuring and in which conditions.

That's why you should try things in order:
- lsusb -t (guess you may be falling back from USB3 to USB2 for some reason, since 40-50MB/s is typical of USB2) - hdparm -t /dev/xxxxx to see the actual reading speed of the raw device as configured in that moment - then add the filesystem in the middle (caching + possible issues with ntfs that may be fuse, who knows) - then reach the "I'm just copying" files, where we do not know what are you reading from and if it is already cached or not

Regards and good luck.
Hello again!

A bit of spare time and here I come again: I started with lshub -t and am getting this:
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/11p, 480M
    |__ Port 6: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 8: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 8: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M

Now when I plug in a hub on either of the 2 available ports there are connected to Bus 02 Port 1 or Port 2, which states 480M. I've read this is the standard speed for USB 2. Now I checked again the X1 carbon 3rd gen specs and it says it has 2 x USB 3.0 (1 with AOU).

I do see a 5000M port but apparently it is for internal purposes.

So already I am confused. Would you mind explaining me?

A little addition: I plugged-in the disk (again...) and got this this time:
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
    |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/11p, 480M
    |__ Port 1: Dev 27, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 2: Dev 28, If 0, Class=Human Interface Device, Driver=usbhid, 12M         |__ Port 2: Dev 28, If 1, Class=Human Interface Device, Driver=usbhid, 12M         |__ Port 3: Dev 31, If 0, Class=Vendor Specific Class, Driver=xpad, 12M         |__ Port 4: Dev 30, If 1, Class=Human Interface Device, Driver=usbhid, 12M         |__ Port 4: Dev 30, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 6: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 8: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 8: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M

So it seems the disk does get to be connected "automatically" to the USB3.0 port actually.

After that I formatted the disk in NTFS and ext4 and ran the hdparm test. I get a slightly better performance result with NTFS:
NTFS:
/dev/sdb:
 Timing buffered disk reads: 1298 MB in  3.00 seconds = 432.05 MB/sec

ext4:
/dev/sdb:
 Timing buffered disk reads: 1244 MB in  3.00 seconds = 414.36 MB/sec

Going through the graphical benchmark I can actually see "why": the read speed is making a straight line at about 450MB/s in NTFS  ( https://imagebin.ca/v/5td8fZkQCGY9 ) while  it's zigzagging with ext4 ( https://imagebin.ca/v/5td8voL3uiqj )

Any idea why this happens?

Thank you again.

Fred
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux