Scott Shu
Linux, Network and Programming
Thursday, August 20, 2009
CPU affinity
Soft CPU affinity
Processes do not frequently migrate between processors.
Hard CPU affinity
Processes run on processors you specify.
The Linux kernel API:
To alter the bitmask
sched_set_affinity()
To view the current bitmask
sched_get_affinity()
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment