Project

General

Profile

Actions

Feature #4836

open

implement processor_affinity(2) à la Solaris 11.2

Added by Tim Creech about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2014-05-02
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Illumos and Solaris have had processor_bind(2) for quite some time, but this only allows the programmer to bind a process/LWP to a single processor. Several projects (e.g., GCC's libgomp and MPI's hwloc) need more advanced bindings, such as binding a process and all of its LWPs to an arbitrary set of processors. On Linux/FreeBSD, these projects use sched_setaffinity(2) / cpuset_setaffinity(2), but no equivalent functionality is available on Illumos-based systems: lgrps are too coarse-grained, and psets are too heavy and require escalated privileges.

Solaris 11.2 introduces this functionality with a new function, processor_affinity(2):
http://docs.oracle.com/cd/E36784_01/html/E36872/processor-affinity-2.html

It would be great if Illumos could implement something compatible or equivalent.

No data to display

Actions

Also available in: Atom PDF