How to enable huge pages in Travis CI build
I tried the following config lines and got Permission denied
install:
- sudo echo 2000 > /proc/sys/vm/nr_hugepages
+3
source to share
1 answer
On VM Travis, you can customize huge pages with sudo sysctl -w vm.nr_hugepages=<Number of pages>
.
The maximum number of pages that can be allocated is 512. For an example of using huge pages in Travis, see this.travis.yml .
+1
source to share