diff options
author | jhb <jhb@FreeBSD.org> | 2015-01-08 15:53:13 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-01-08 15:53:13 +0000 |
commit | 06e75f0dba830c7814f7c902918c6b00e3cb9f80 (patch) | |
tree | a8c0b10964b6a43594a95c578b257a516b7998a9 /usr.bin/cpuset/cpuset.1 | |
parent | 7b0cd0edc9886415c53b5df6eb32e24e3f7df633 (diff) | |
download | FreeBSD-src-06e75f0dba830c7814f7c902918c6b00e3cb9f80.zip FreeBSD-src-06e75f0dba830c7814f7c902918c6b00e3cb9f80.tar.gz |
Create a cpuset mask for each NUMA domain that is available in the
kernel via the global cpuset_domain[] array. To export these to userland,
add a CPU_WHICH_DOMAIN level that can be used to fetch the mask for a
specific domain. Add a -d flag to cpuset(1) that can be used to fetch
the mask for a given domain.
Differential Revision: https://reviews.freebsd.org/D1232
Submitted by: jeff (kernel bits)
Reviewed by: adrian, jeff
Diffstat (limited to 'usr.bin/cpuset/cpuset.1')
-rw-r--r-- | usr.bin/cpuset/cpuset.1 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/cpuset/cpuset.1 b/usr.bin/cpuset/cpuset.1 index 8ea2702..ac11b4c 100644 --- a/usr.bin/cpuset/cpuset.1 +++ b/usr.bin/cpuset/cpuset.1 @@ -46,12 +46,13 @@ .Fl C .Fl p Ar pid .Nm -.Op Fl cr +.Op Fl c .Op Fl l Ar cpu-list .Op Fl j Ar jailid | Fl p Ar pid | Fl t Ar tid | Fl s Ar setid | Fl x Ar irq .Nm -.Op Fl cgir -.Op Fl j Ar jailid | Fl p Ar pid | Fl t Ar tid | Fl s Ar setid | Fl x Ar irq +.Fl g +.Op Fl cir +.Op Fl d Ar domain | j Ar jailid | Fl p Ar pid | Fl t Ar tid | Fl s Ar setid | Fl x Ar irq .Sh DESCRIPTION The .Nm @@ -62,7 +63,7 @@ about processor binding, sets, and available processors in the system. .Nm requires a target to modify or query. The target may be specified as a command, process id, thread id, a -cpuset id, an irq or a jail id. +cpuset id, an irq, a jail id, or a NUMA domain. Using .Fl g the target's set id or mask may be queried. @@ -108,6 +109,8 @@ Create a new cpuset and assign the target process to that set. .It Fl c The requested operation should reference the cpuset available via the target specifier. +.It Fl d Ar domain +Specifies a NUMA domain id as the target of the operation. .It Fl g Causes .Nm |