USB 3.2 Gen 1 STILL SLOW

Message
Author
theprofa325
Posts: 21
Joined: Sat Jan 11, 2020 9:13 am

USB 3.2 Gen 1 STILL SLOW

#1 Post by theprofa325 »

Code: Select all

System:    Kernel: 5.10.0-27-amd64 [5.10.205-2] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-27-amd64 root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower October 20  2021 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: SAMSUNG product: 940X3G/930X3G v: P05ACJ serial: <filter> Chassis: 
           type: 9 serial: <filter> 
           Mobo: SAMSUNG model: NP940X3G-K04US v: SAMSUNG_SW_REVISION_1234567890ABCD 
           serial: <filter> UEFI: American Megatrends v: P05ACJ.128.140819.dg date: 08/19/2014 
Battery:   ID-1: BAT1 charge: 27.8 Wh (59.0%) condition: 47.1/55.5 Wh (84.9%) volts: 7.5 min: 7.6 
           model: SAMSUNG Electronics SR Real Battery type: Li-ion serial: <filter> 
           status: Discharging cycles: 1522 
CPU:       Info: Dual Core model: Intel Core i7-4500U bits: 64 type: MT MCP arch: Haswell 
           family: 6 model-id: 45 (69) stepping: 1 microcode: 26 cache: L2: 4 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19155 
           Speed: 986 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 986 2: 960 3: 944 4: 931 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           Type: spec_rstack_overflow status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Samsung Co driver: i915 
           v: kernel bus-ID: 00:02.0 chip-ID: 8086:0a16 class-ID: 0300 
           Device-2: Silicon Motion WebCam SC-10HDP12B24N type: USB driver: uvcvideo bus-ID: 2-5:3 
           chip-ID: 2232:1049 class-ID: 0e02 serial: <filter> 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 3200x1800 s-dpi: 96 s-size: 846x476mm (33.3x18.7") 
           s-diag: 971mm (38.2") 
           Monitor-1: eDP-1 res: 3200x1800 hz: 60 dpi: 277 size: 293x165mm (11.5x6.5") 
           diag: 336mm (13.2") 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2) v: 4.5 Mesa 20.3.5 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Haswell-ULT HD Audio vendor: Samsung Co driver: snd_hda_intel v: kernel 
           bus-ID: 00:03.0 chip-ID: 8086:0a0c class-ID: 0403 
           Device-2: Intel 8 Series HD Audio vendor: Samsung Co driver: snd_hda_intel v: kernel 
           bus-ID: 00:1b.0 chip-ID: 8086:9c20 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-27-amd64 running: yes 
           Sound Server-2: JACK v: 1.9.21 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel Wireless 7260 driver: iwlwifi v: kernel modules: wl port: f040 
           bus-ID: 02:00.0 chip-ID: 8086:08b1 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Samsung Co 
           driver: r8169 v: kernel port: e000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
           bus-ID: 2-4:2 chip-ID: 8087:07dc class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0 
           sub-v: 500 hci-v: 4.0 rev: 500 
           Info: acl-mtu: 1021:5 sco-mtu: 96:5 link-policy: rswitch hold sniff 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 469.47 GiB used: 237.05 GiB (50.5%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: MZNTE256HMHP-000 size: 238.47 GiB 
           block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> 
           rev: 1K0Q scheme: GPT 
           ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: Kingston model: DT microDuo 3C 
           size: 231 GiB block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> 
           rev: PMAP scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: ID-1: / raw-size: 70.31 GiB size: 68.66 GiB (97.65%) used: 49.37 GiB (71.9%) fs: ext4 
           dev: /dev/sda3 maj-min: 8:3 
           ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%) used: 420 KiB (0.0%) 
           fs: vfat dev: /dev/sda1 maj-min: 8:1 
           ID-3: /home raw-size: 151.16 GiB size: 147.73 GiB (97.73%) used: 126.13 GiB (85.4%) 
           fs: ext4 dev: /dev/sda4 maj-min: 8:4 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/sda2 maj-min: 8:2 
Sensors:   System Temperatures: cpu: 57.0 C mobo: 57.0 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 2609 lib: 1316 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ bullseye non-free main
Info:      Processes: 311 Uptime: 32m wakeups: 2 Memory: 7.68 GiB used: 2.39 GiB (31.2%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI

I just took ONE WEEK 24/7 to rsync 65 GB to the Kingston flash drive given in above system info, plugged into a blue "S/S" usb port (avg tfr rate ~ 0.5 MB/s).

Then I tried the echoes to /proc/sys/vm/dirty... suggested near the end of forum topic "USB transfer speeds slow/ data needs to be written" . It increased the speed to 13.5 MB/s for rsync on a single .deb file. Unfortunately when I did the same rsync transfer with the default values (dirty_bytes=20 000 000 dirty_background_bytes = 0) it went at 7 MBPS. The multiple file transfer is apparently 10x slower than a single file.

13.5 MBPS still sucks. Claimed transfer rate for this USB3.2 Gen 1 drive is 5 GbPS ~ 600 MBPS. It is a factor 40 slow. Later in the week I will try the same drive on a Windoze machine at work and report the result here.

Does anyone know whether Kingston flash drives are slow? I don't do this often enough to spend a lot of time and money trying different brand name drives and some earlier posts suggest that's a waste of time anyhow.

ANy other suggestions welcome.

User avatar
m_pav
Developer
Posts: 1857
Joined: Sun Aug 06, 2006 3:02 pm

Re: USB 3.2 Gen 1 STILL SLOW

#2 Post by m_pav »

Please do not create another topic thread for a topic you've already started and received responses for, that is bad form, frowned upon in forum etiquette, and considered as littering in forums. The path forward is to stick with your original forum thread, even if it goes to 30 pages worth of content.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

User avatar
Eadwine Rose
Administrator
Posts: 15164
Joined: Wed Jul 12, 2006 2:10 am

Re: USB 3.2 Gen 1 STILL SLOW

#3 Post by Eadwine Rose »

Topic locked.

viewtopic.php?t=79291
MX-23.6_x64 July 31 2023 * 6.1.0-38amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

Locked

Return to “Hardware /Configuration”