Ubuntu 18.04.6 上传速度非常慢,下载速度正常

Ubuntu 18.04.6 上传速度非常慢,下载速度正常

我从 OneProvider 购买了一个新的 1GB/s 服务器并Ubuntu 18.04.6在其上安装。

ssh 或 FTP 的上传速度非常好,但是 ssh、FTP 的下载速度约为 100kb/s,我尝试安装 Nginx 并从中下载,但也约为 100kb/ps。

所有尝试均来自不同位置的 5 台以上设备,其中一些尝试来自同一网络中的另一台服务器(wget),但所有尝试的速度均未超过 150kb/s。

这是(ip a)输出:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether d4:ae:52:ca:0f:6e brd ff:ff:ff:ff:ff:ff
    inet (serverip)/24 brd 62.210.207.255 scope global eno1
       valid_lft forever preferred_lft forever
    inet6 fe80::d6ae:52ff:feca:f6e/64 scope link
       valid_lft forever preferred_lft forever
3: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether d4:ae:52:ca:0f:6f brd ff:ff:ff:ff:ff:ff

ethtool eno1) 输出 :

Settings for eno1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: on
        Supports Wake-on: g
        Wake-on: d
        Link detected: yes

ethtool -S eno1) 输出 :

NIC statistics:
     rx_bytes: 67518474469
     rx_error_bytes: 0
     tx_bytes: 1939892582744
     tx_error_bytes: 0
     rx_ucast_packets: 457688996
     rx_mcast_packets: 1105671
     rx_bcast_packets: 743858
     tx_ucast_packets: 1341579130
     tx_mcast_packets: 12
     tx_bcast_packets: 4
     tx_mac_errors: 0
     tx_carrier_errors: 0
     rx_crc_errors: 0
     rx_align_errors: 0
     tx_single_collisions: 0
     tx_multi_collisions: 0
     tx_deferred: 0
     tx_excess_collisions: 0
     tx_late_collisions: 0
     tx_total_collisions: 0
     rx_fragments: 0
     rx_jabbers: 0
     rx_undersize_packets: 0
     rx_oversize_packets: 0
     rx_64_byte_packets: 4346996
     rx_65_to_127_byte_packets: 430360977
     rx_128_to_255_byte_packets: 1072678
     rx_256_to_511_byte_packets: 420201
     rx_512_to_1023_byte_packets: 250311
     rx_1024_to_1522_byte_packets: 23087362
     rx_1523_to_9022_byte_packets: 0
     tx_64_byte_packets: 899130
     tx_65_to_127_byte_packets: 11634758
     tx_128_to_255_byte_packets: 2699608
     tx_256_to_511_byte_packets: 3443633
     tx_512_to_1023_byte_packets: 7211982
     tx_1024_to_1522_byte_packets: 1315690035
     tx_1523_to_9022_byte_packets: 0
     rx_xon_frames: 0
     rx_xoff_frames: 0
     tx_xon_frames: 0
     tx_xoff_frames: 0
     rx_mac_ctrl_frames: 0
     rx_filtered_packets: 113311
     rx_ftq_discards: 0
     rx_discards: 0
     rx_fw_discards: 0

ifconfig eno1 |grep errors) 输出 :

RX errors 0  dropped 93  overruns 0  frame 0
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lshw -C network) 输出 :

*-network:0
       description: Ethernet interface
       product: NetXtreme II BCM5716 Gigabit Ethernet
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: eno1
       version: 20
       serial: d4:ae:52:ca:0f:6e
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=bnx2 driverversion=2.2.6 duplex=full firmware=7.4.8 bc 7.4.0 NCSI 2.0.11 ip=(serverip) latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:16 memory:c0000000-c1ffffff
  *-network:1 DISABLED
       description: Ethernet interface
       product: NetXtreme II BCM5716 Gigabit Ethernet
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0.1
       bus info: pci@0000:01:00.1
       logical name: eno2
       version: 20
       serial: d4:ae:52:ca:0f:6f
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=bnx2 driverversion=2.2.6 duplex=half firmware=7.4.8 bc 7.4.0 NCSI 2.0.11 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:17 memory:c2000000-c3ffffff

相关内容