X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fansible%2Froles%2Fsut%2Ffiles%2Ftaishan_workaround.service;fp=resources%2Ftools%2Ftestbed-setup%2Fansible%2Froles%2Fsut%2Ffiles%2Ftaishan_workaround.service;h=05f865f407dcaabba1adedfe17a837068408ae4c;hb=ab596c32fdda48aa8140f428710b98d47baf9cae;hp=0000000000000000000000000000000000000000;hpb=d1589ad74e515757fb12cf8a5f976282924afe13;p=csit.git diff --git a/resources/tools/testbed-setup/ansible/roles/sut/files/taishan_workaround.service b/resources/tools/testbed-setup/ansible/roles/sut/files/taishan_workaround.service new file mode 100644 index 0000000000..05f865f407 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/sut/files/taishan_workaround.service @@ -0,0 +1,11 @@ +[Unit] +Description=Numa node workaround configuration + +[Service] +ExecStart=/bin/sh -c 'echo 1 > /sys/bus/pci/devices/000a:11:00.0/numa_node' +ExecStart=/bin/sh -c 'echo 1 > /sys/bus/pci/devices/000a:11:00.1/numa_node' +Type=oneshot +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target \ No newline at end of file