由于,单个CPU处理网络中断存在瓶颈,可以在ECS实例中将网卡中断分散给不同的CPU处理。

目前,由阿里云官方提供的公共镜像,支持多队列的包括:

  • CentOS 6.8/6.9/7.2/7.3/7.4

  • Ubuntu 14.04/16.04

  • Debian 8.9

  • SUSE Linux Enterprise Server 12 SP1

  • Windows 2012 R2 和Windows 2016

Linux ECS配置网卡多队列

推荐使用CentOS 7.2配置网卡多队列。假设存在2个队列,网卡interface名称为eth0

查看网卡是否支持多队列

ethtool -l eth0

设置网卡当前使用多队列

ethtool -L eth0 combined 2

对于由多个网卡的用户,可以对多个网卡分别设置

建议开启irqbalance服务,让系统自动调整网卡中断在多个CPU核上的分配

systemctl start irqbalance

results matching ""

    No results matching ""