Is it possible to set CPU affinity for individual threads with taskset or a similar mechanism ?

Solution Verified - Updated -

Issue

  • Is it possible that can we set processor affinity at thread level using system command other than the using library functions within the code pthread_setaffinity_np ?

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content