Nick Ethier
e0a599ed9c
nit: code cleanup/organization
2021-04-16 15:14:29 -04:00
Nick Ethier
e834a60de1
plugins/drivers: fix deprecated fields
2021-04-16 14:13:29 -04:00
Nick Ethier
1925f6b893
cgutil: set reserved mems on init even if already exist
2021-04-15 10:24:31 -04:00
Nick Ethier
4a25ec9410
testing fixes
2021-04-14 10:17:28 -04:00
Nick Ethier
355212c30c
cgutil: add nil check on AddAlloc
2021-04-13 13:28:36 -04:00
Nick Ethier
f897ac79e8
client/ar: thread through cpuset manager
2021-04-13 13:28:36 -04:00
Nick Ethier
5e7b411dec
cgutil: implement cpuset management as seperate package
2021-04-13 13:28:36 -04:00
Nick Ethier
84e44d53d0
Apply suggestions from code review
...
Co-authored-by: Drew Bailey <drewbailey5@gmail.com >
2021-04-13 13:28:15 -04:00
Nick Ethier
cd8fb2d3e3
cgutil: fix lint errors
2021-04-13 13:28:15 -04:00
Nick Ethier
b8397a712d
fingerprint: implement client fingerprinting of reservable cores
...
on Linux systems this is derived from the configure cpuset cgroup parent (defaults to /nomad)
for non Linux systems and Linux systems where cgroups are not enabled, the client defaults to using all cores
2021-04-13 13:28:15 -04:00