1
Hardware and Performance / Re: Infiniband as Network interface?
« on: March 26, 2019, 03:59:06 pm »
With the sources package from FreeBSD 11.2 it's not a problem...
fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.2-RELEASE/src.txz
tar -C / -xvzf src.txz
echo '#!/bin/sh -e' > ofed_install.sh
echo -en '\n' >> ofed_install.sh
echo 'cd /usr/src/sys/modules' >> ofed_install.sh
echo 'for module in mlx4 ibcore mlx4ib ipoib; do ' >> ofed_install.sh
echo ' cd $module' >> ofed_install.sh
echo ' make' >> ofed_install.sh
echo ' make install' >> ofed_install.sh
echo ' sync' >> ofed_install.sh
echo ' kldload $module || true' >> ofed_install.sh
echo ' printf "${module}_load=\"YES\"\n" >> /boot/loader.conf.local' >> ofed_install.sh
echo ' cd ..' >> ofed_install.sh
echo 'done' >> ofed_install.sh
echo 'kldstat' >> ofed_install.sh
ibv_devinfo
sysctl sys.device.mlx4_core0.mlx4_port1=ib
sysctl sys.device.mlx4_core0.mlx4_port2=ib
fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.2-RELEASE/src.txz
tar -C / -xvzf src.txz
echo '#!/bin/sh -e' > ofed_install.sh
echo -en '\n' >> ofed_install.sh
echo 'cd /usr/src/sys/modules' >> ofed_install.sh
echo 'for module in mlx4 ibcore mlx4ib ipoib; do ' >> ofed_install.sh
echo ' cd $module' >> ofed_install.sh
echo ' make' >> ofed_install.sh
echo ' make install' >> ofed_install.sh
echo ' sync' >> ofed_install.sh
echo ' kldload $module || true' >> ofed_install.sh
echo ' printf "${module}_load=\"YES\"\n" >> /boot/loader.conf.local' >> ofed_install.sh
echo ' cd ..' >> ofed_install.sh
echo 'done' >> ofed_install.sh
echo 'kldstat' >> ofed_install.sh
ibv_devinfo
sysctl sys.device.mlx4_core0.mlx4_port1=ib
sysctl sys.device.mlx4_core0.mlx4_port2=ib