-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bonding interfaces cannot be offloaded on Linux Kernel 4.9 #313
Comments
Hi @Maokaman1 , I did not manage to reproduce the issue using kernel 4.9.11, Redhat 6.4 and VMA 828. Thanks. |
Hello @liranoz12 , We use Archlinux and it's not supported by Mellanox OFED. Unfortunatly I have already returned 2 dual-port MCX416A-CCAT (100Gb, Ethernet Only) adapters that I had requested for a test and I cannot make any additional researches at the moment. Now I have only 2 single-port MCX455A-FCAT (56Gb VPI) adapters and I cannot reproduce the problem. |
Hi @liranoz12 , Is there any ETA on resolving this dual port adapters issue? |
Hi @Maokaman1 , We are not familiar with such issue when using Mellanox OFED. |
Hi @NirNitzani , |
Hi @Maokaman1 , VMA is not supporting ROCE.....you can work in ETH mode or IPoIB (supported in latest OFED). |
Hi @NirNitzani , # cat /etc/redhat-release # uname -a # modinfo mlx5_ib # /etc/init.d/openibd status HCA driver loaded Configured Mellanox EN devices: Currently active Mellanox devices: The following OFED modules are loaded: rdma_ucm # ibstat # ip a [root@centos-1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-mlx0 [root@centos-1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-mlx1 [root@centos-1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond1 libvma 8.3.7 bundled with MLNX_OFED: libvma 8.4.4 compiled from git: Debug mode on: |
Hi @Maokaman1, Thanks for your informative update. Liran. |
Hi @liranoz12, I've found another workaround that seems to work even on dual-port adapters: you just need to create a "dummy" bridge interface on top of the bond interface (also do not forget to migrate IP address(es) from the bond to the bridge interface). |
Thanks for your update. We will check this workaround. |
Hi @Maokaman1, Daniel |
Hello!
It seems that something has changed in Linux 4.9 regarding the way it represents bonded Mellanox interfaces which leads to broken offloading functionality of VMA for teamed interfaces.
[root@host2 ~]# uname -a
Linux host2 4.9.11-1-ARCH #1 SMP PREEMPT Sun Feb 19 13:45:52 UTC 2017 x86_64 GNU/Linux
[root@host2 ~]# LD_PRELOAD=libvma.so sockperf server
VMA INFO: ---------------------------------------------------------------------------
VMA INFO: VMA_VERSION: 8.2.8-0 Development Snapshot built on Feb 27 2017 17:27:29
VMA INFO: Cmd Line: sockperf server
VMA INFO: Current Time: Wed Mar 1 09:59:12 2017
VMA INFO: Pid: 18020
VMA INFO: Architecture: x86_64
VMA INFO: Node: host2
VMA INFO: Log Level INFO [VMA_TRACELEVEL]
VMA INFO: ---------------------------------------------------------------------------
VMA WARNING: ************************************************************************
VMA WARNING: Your current max locked memory is: 65536. Please change it to unlimited.
VMA WARNING: Set this user's default to
ulimit -l unlimited
.VMA WARNING: Read more about this topic in the VMA's User Manual.
VMA WARNING: ************************************************************************
VMA WARNING: *******************************************************************************************************
VMA WARNING: * Bond bond0 will not be offloaded due to problem with it's slaves.
VMA WARNING: * Check warning messages for more information.
VMA WARNING: *******************************************************************************************************
VMA WARNING: *******************************************************************************************************
VMA WARNING: * Bond bond0 will not be offloaded due to problem with it's slaves.
VMA WARNING: * Check warning messages for more information.
VMA WARNING: *******************************************************************************************************
VMA WARNING: *******************************************************************************************************
VMA WARNING: * Bond bond0.10 will not be offloaded due to problem with it's slaves.
VMA WARNING: * Check warning messages for more information.
VMA WARNING: *******************************************************************************************************
VMA WARNING: *******************************************************************************************************
VMA WARNING: * Bond bond0.8 will not be offloaded due to problem with it's slaves.
VMA WARNING: * Check warning messages for more information.
VMA WARNING: *******************************************************************************************************
VMA WARNING: *******************************************************************************************************
VMA WARNING: * Bond bond0.8 will not be offloaded due to problem with it's slaves.
VMA WARNING: * Check warning messages for more information.
VMA WARNING: *******************************************************************************************************
VMA WARNING: **************************************************************
VMA WARNING: * NO IMMEDIATE ACTION NEEDED!
VMA WARNING: * Not enough hugepage resources for VMA memory allocation.
VMA WARNING: * VMA will continue working with regular memory allocation.
VMA INFO: * Optional:
VMA INFO: * 1. Switch to a different memory allocation type
VMA INFO: * (VMA_MEM_ALLOC_TYPE= 0 or 1)
VMA INFO: * 2. Restart process after increasing the number of
VMA INFO: * hugepages resources in the system:
VMA INFO: * "cat /proc/meminfo | grep -i HugePage"
VMA INFO: * "echo 1000000000 > /proc/sys/kernel/shmmax"
VMA INFO: * "echo 800 > /proc/sys/vm/nr_hugepages"
VMA WARNING: * Please refer to the memory allocation section in the VMA's
VMA WARNING: * User Manual for more information
VMA WARNING: ***************************************************************
sockperf: == version #2.7-54.git4e9e71bf405b ==
sockperf: [SERVER] listen on:
[ 0] IP = 0.0.0.0 PORT = 11111 # UDP
sockperf: Warmup stage (sending a few dummy messages)...
sockperf: [tid 18020] using recvfrom() to block on socket(s)
^Csockperf: Test end (interrupted by user)
sockperf: No messages were received on the server.
sockperf: cleanupAfterLoop() exit
[root@host2 ~]#
The text was updated successfully, but these errors were encountered: