Build SoftRoCE Experiment Environment on VirtualBox VMs
- VirtualBox - A desktop virtualization system.
- Vagrant - A script tool for managing VirtualBox VMs.
Download and unzip the rdma-experiment source code to directory "rdma-experiment-master".
https://github.com/haggaie/rdma-experiment
Original Vagrant script only builds one SoftRoCE VM.
Edit the file "Vagrantfile" under directory "rdma-experiment-master" to build two SoftRoCE VMs.
# Build SoftRoCE Server and SoftRoCE Client
Vagrant.configure("2") do |config|
config.vm.define "softroce_server" do |softroce_server|
softroce_server.vm.box = "ubuntu/bionic64"
softroce_server.vm.network "private_network", type: "dhcp"
softroce_server.vm.provision "shell", path: "provision/setup-vm.sh"
end
config.vm.define "softroce_client" do |softroce_client|
softroce_client.vm.box = "ubuntu/bionic64"
softroce_client.vm.network "private_network", type: "dhcp"
softroce_client.vm.provision "shell", path: "provision/setup-vm.sh"
end
end
cd rdma-experiment-master
vagrant up
The command "vagrant up" will take a lot of time to build two SoftRoCE VMs.
vagrant ssh softroce_server
vagrant ssh softroce_client
https://www.systutorials.com/docs/linux/man/8-rxe_cfg/
https://zhengjingwei.github.io/2018/01/27/Soft-RoCE-setup/