openstack的实例里面的上下行带宽完全不匹配,上行很快,下行非常慢,我首先怀疑是openstack模拟的问题,为了排除openstack带来的问题,直接在kvm里面创建了一个虚拟机测试:
测试场景如下,上传下载同样大小的文件
文件大小636MB,上传耗时7.41秒,下载耗时227秒
文件大小500MB,上传耗时7.88秒,下载耗时512秒
从上面结果来看,网络速率还极其不稳定,这是为什么
网卡信息
[centos@c66gf ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1454 qdisc pfifo_fast state UP qlen 1000
link/ether fa:16:3e:76:e6:8d brd ff:ff:ff:ff:ff:ff
[centos@c66gf ~]$ ethtool -i eth0
driver: virtio_net
version:
firmware-version:
bus-info: virtio0
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
[centos@c66gf ~]$ mii-tool -v eth0
SIOCGMIIPHY on 'eth0' failed: Operation not permitted
|