- Install the dependencies:
installers/install-deps-tg.sh. - Activate the python env
source build/env/bin/activate. - Get the RX and TX PCIe names (we can, for example, use DPDK for this:
build/dpdk/usertools/dpdk-devbind --status-dev net). - Modify the
vars.shfile with the correct data. - Generate the pcaps:
pcaps/generate.sh. - Setup the environment:
util/setup-tg.sh. - Run the experiments on the
benchdirectory (don't forget to also setup the DUT).
- Install the dependencies:
installers/install-deps-dut.sh(note: this requiresdockerto be installed and acessible by users without sudo). - Get the RX and TX PCIe names (we can, for example, use DPDK for this:
build/dpdk/usertools/dpdk-devbind --status-dev net). - Modify the
vars.shfile with the correct data. - Setup the environment:
util/setup-dut.sh. - Generate all the pcaps (
pcaps/generate.sh) OR copy them from the TG.
Double check that transactional memory is working on the machine:
$ util/check-tsx.sh
RTM: Yes
HLE: Yes
Add tsx=on to the kernel arguments by modifying the GRUB_CMDLINE_LINUX field in the /etc/default/grub file:
[...]
GRUB_CMDLINE_LINUX="tsx=on isolcpus=16-31 intel_pstate=disable"
[...]
Persist the changes:
$ sudo update-grub
And reboot.