|
1 rok temu | |
---|---|---|
COPYING | 1 rok temu | |
README.md | 1 rok temu | |
build.sh | 1 rok temu | |
cpuset.c | 1 rok temu |
CpuSet is small C-written application providing a frontend to mechanism for assigning a set of CPUs and Memory Nodes to a set of tasks. Cpusets constrain the CPU and Memory placement of tasks to only the resources within a task's current cpuset by utilizing a cgroups mechanism.
This small application is designed to be used with QEMU. Available arguments:
#!/bin/sh
cpuset -e -c 0-1,8-9 -m 0
qemu-system-x86_64 (...)
cpuset -d
If script is not being launched as root, cpuset binary needs to have SETUID enabled!