复制文件时 USB 端口速度减慢至零

复制文件时 USB 端口速度减慢至零

我正在使用 Ubuntu 20.04 桌面版。我的 Seagate 硬盘通过 USB 3 端口连接到 Ubuntu 机器。我的笔记本电脑上总共有 3 个传统 USB 端口。在这三个端口上我都遇到了同样的问题 - 当将文件从主文件夹复制到 Seagate 时,速度从 145 MB/s 开始,然后在几秒钟内迅速降至 0 MB/s。它开始以高速复制文件,然后在速度接近零传输速度时迅速停止复制。

因此,我选择在这台 Ubuntu 机器上安装 samba 共享,并将我的主文件夹共享到我的本地网络。我能够从同一本地网络中的 Windows 笔记本电脑访问 Ubuntu 主文件夹,但当我尝试将文件从 ubuntu 传输或复制到 Windows 时,速度非常慢,大约 50 kb/s。复制大量数据需要很长时间。

我还尝试借用带有 USB C 端口选项的扩展坞来连接我的 ubuntu 机器。这个想法也失败了,因为速度一开始很高,然后很快就降到了零速文件传输。

我还尝试在 ubntu 主机中安装 vmware windows。我尝试从 vm 内部访问 seagate,但问题仍然相同。文件传输挂断并提示需要大硬盘,我猜这与 vm 的设置方式有关。

无论如何,我已经想不出如何将数据从这台 ubntu 机器备份到外部硬盘驱动器。请提供任何想法

谢谢

z@zbook-lp:~$ free -h

              total        used        free      shared  buff/cache   available
Mem:           31Gi       1.6Gi        27Gi        28Mi       2.0Gi        29Gi
Swap:          31Gi          0B        31Gi

z@zbook-lp:~$ sysctl vm.swappiness

vm.swappiness = 60


z@zbook-lp:~$ swapon -s

Filename                Type        Size    Used    Priority
/dev/nvme0n1p5                          partition   33430524    0   -2

z@zbook-lp:~$ top

Tasks: 347 total,   1 running, 346 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.1 us,  0.1 sy,  0.0 ni, 99.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :  32037.9 total,  28288.8 free,   1705.4 used,   2043.7 buff/cache
MiB Swap:  32647.0 total,  32647.0 free,      0.0 used.  29840.9 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                     
   1103 root     -51   0       0      0      0 S   0.7   0.0   0:26.56 irq/141-nvidia                                                                                                                              
   4571 z         20   0   12340   4312   3452 R   0.7   0.0   0:01.07 top                                                                                                                                         
   1105 root      20   0       0      0      0 S   0.3   0.0   0:09.34 nv_queue                                                                                                                                    
   1626 root      20   0  186252  59836  36156 S   0.3   0.2   0:47.54 Xorg                                                                                                                                        
   1795 z         20   0 4468244 340796 120884 S   0.3   1.0   1:25.47 gnome-shell                                                                                                                                 
   2884 z         20   0   16.3g 101984  82416 S   0.3   0.3   0:04.63 chrome                                                                                                                                      
   3452 z         20   0   20.4g 158084  98240 S   0.3   0.5   3:27.71 chrome                                                                                                                                      
   4532 z         20   0  817880  54404  39056 S   0.3   0.2   0:05.38 gnome-terminal-                                                                                                                             
      1 root      20   0  169928  11688   8196 S   0.0   0.0   0:03.22 systemd                                                                                                                                     
      2 root      20   0       0      0      0 S   0.0   0.0   0:00.01 kthreadd                                                                                                                                    
      3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_gp                                                                                                                                      
      4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_par_gp                                                                                                                                  
      6 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/0:0H-kblockd                                                                                                                        
      9 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq                                                                                                                                
     10 root      20   0       0      0      0 S   0.0   0.0   0:00.03 ksoftirqd/0                                                                                                                                 
     11 root      20   0       0      0      0 I   0.0   0.0   0:01.76 rcu_sched                                                                                                                                   
     12 root      rt   0       0      0      0 S   0.0   0.0   0:00.03 migration/0                                                                                                                                 
     13 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/0                                                                                                                               
     14 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/0                                                                                                                                     
     15 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/1                                                                                                                                     
     16 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/1                                                                                                                               
     17 root      rt   0       0      0      0 S   0.0   0.0   0:00.22 migration/1                                                                                                                                 
     18 root      20   0       0      0      0 S   0.0   0.0   0:00.02 ksoftirqd/1                                                                                                                                 
     20 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/1:0H-kblockd                                                                                                                        
     21 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/2                                                                                                                                     
     22 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/2                                                                                                                               
     23 root      rt   0       0      0      0 S   0.0   0.0   0:00.22 migration/2                                                                                                                                 
     24 root      20   0       0      0      0 S   0.0   0.0   0:00.02 ksoftirqd/2                                                                                                                                 
     26 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/2:0H-kblockd                                                                                                                        
     27 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/3                                                                                                                                     
     28 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/3                                                                                                                               
     29 root      rt   0       0      0      0 S   0.0   0.0   0:00.23 migration/3                                                                                                                                 
     30 root      20   0       0      0      0 S   0.0   0.0   0:00.02 ksoftirqd/3                                                                                                                                 
     32 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/3:0H-kblockd                                                                                                                        
     33 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/4                                                                                                                                     
     34 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/4                                                                                                                               
     35 root      rt   0       0      0      0 S   0.0   0.0   0:00.22 migration/4                                                                                                                                 
     36 root      20   0       0      0      0 S   0.0   0.0   0:00.02 ksoftirqd/4                                                                                                                                 
     38 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/4:0H-kblockd                                                                                                                        
     39 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/5                                                                                                                                     
     40 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/5                                                                                                                               
     41 root      rt   0       0      0      0 S   0.0   0.0   0:00.22 migration/5                                                                                                                                 
     42 root      20   0       0      0      0 S   0.0   0.0   0:00.02 ksoftirqd/5                                                                                                                                 
     44 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/5:0H-kblockd                                                                                                                        
     45 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/6 
     
     
     
z@zbook-lp:~$ grep -i Seagate Portable Drive /var/log/syslog*

/var/log/syslog:Sep  2 13:17:55 zbook-lp kernel: [25225.613528] usb 4-2.3.1: Manufacturer: Seagate
/var/log/syslog:Sep  2 13:17:56 zbook-lp kernel: [25225.671427] scsi 4:0:0:0: Direct-Access     Seagate  Portable         0712 PQ: 0 ANSI: 6
/var/log/syslog:Sep  2 13:18:08 zbook-lp ntfs-3g[33774]: Mounted /dev/sda1 (Read-Write, label "Seagate Portable Drive", NTFS 3.1)
/var/log/syslog:Sep  2 13:18:08 zbook-lp systemd[1]: Finished Clean the /media/z/Seagate Portable Drive mount point.
/var/log/syslog:Sep  2 13:18:08 zbook-lp udisksd[770]: Mounted /dev/sda1 at /media/z/Seagate Portable Drive on behalf of uid 1000
/var/log/syslog:Sep  2 13:26:58 zbook-lp udisksd[770]: Cleaning up mount point /media/z/Seagate Portable Drive (device 8:1 is not mounted)
/var/log/syslog:Sep  2 13:26:58 zbook-lp ntfs-3g[33774]: Unmounting /dev/sda1 (Seagate Portable Drive)
/var/log/syslog:Sep  2 13:26:58 zbook-lp systemd[1]: media-z-Seagate\x20Portable\x20Drive.mount: Succeeded.
/var/log/syslog:Sep  2 13:26:58 zbook-lp systemd[965]: media-z-Seagate\x20Portable\x20Drive.mount: Succeeded.
/var/log/syslog:Sep  2 13:26:58 zbook-lp systemd[1545]: media-z-Seagate\x20Portable\x20Drive.mount: Succeeded.
/var/log/syslog:Sep  2 13:26:58 zbook-lp systemd[1]: Stopping Clean the /media/z/Seagate Portable Drive mount point...
/var/log/syslog:Sep  2 13:26:58 zbook-lp systemd[1]: clean-mount-point@media-z-Seagate\x20Portable\x20Drive.service: Succeeded.
/var/log/syslog:Sep  2 13:26:58 zbook-lp systemd[1]: Stopped Clean the /media/z/Seagate Portable Drive mount point.
/var/log/syslog:Sep  2 16:56:27 zbook-lp kernel: [12062.853501] usb 2-5: Manufacturer: Seagate
/var/log/syslog:Sep  2 16:56:27 zbook-lp kernel: [12062.881178] scsi 4:0:0:0: Direct-Access     Seagate  Portable         0712 PQ: 0 ANSI: 6
/var/log/syslog:Sep  2 16:56:40 zbook-lp ntfs-3g[5209]: Mounted /dev/sda1 (Read-Write, label "Seagate Portable Drive", NTFS 3.1)
/var/log/syslog:Sep  2 16:56:40 zbook-lp systemd[1]: Finished Clean the /media/z/Seagate Portable Drive mount point.
/var/log/syslog:Sep  2 16:56:40 zbook-lp udisksd[793]: Mounted /dev/sda1 at /media/z/Seagate Portable Drive on behalf of uid 1000

相关内容