NOTE: /hugetlbsfs is expected to be mounted NOTE: Control numa core assignment by setting baseCore. First VM will get baseCore+1 assigned, second VM baseCore+2, etc
$ nix-build --arg baseCore 0 --arg numVms 12 -A test_env vms-domen.nix -o test_env
$ cp -L test_env/* /mnt/mydisk/
First make sure all snabb processes are running and have sockets in current directory names like $i.socket (from 1.socket to 12.socket).
$ nix-shell -A run vms-domen.nix
$ sudo ./test_env/run
Make sure current directory is writeable by root and that build artifacts are copied to ./test_env
Install qemu, tmux and utillinux. Now run:
$ sudo ./test_env/run