perfsonar-user - Re: [perfsonar-user] process and affinity
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Tom Throckmorton <>
- To: Azher Mughal <>
- Cc: "" <>
- Subject: Re: [perfsonar-user] process and affinity
- Date: Tue, 3 Feb 2015 12:42:04 -0500
On Tue, Feb 3, 2015 at 11:14 AM, Azher Mughal <> wrote:
Hi All,
I thought you might have some better hints.
As you know that running processes can be mapped to different CPU cores
(irqbalance or manual). By default process affinity is f or ff etc.
based on the number of available cores.
Is there a way (other than taskset or poking /proc) to see which process
is using which core , I mean through some some Linux tool ? I tried
htop, top, atop, mpstat ... but they tell a summary of total core usage,
but not about that specific process which just consumed 40% of that core.
Couple of ways:
1) ps -F wlll show the PSR, which is the processor that process is currently assigned to
2) recent top version can be taught to show it (in top, f to select fields mgmt, then select P)
I believe htop can as well, but don't have that installed at the moment, and can't recall the invocation.
cheers,
-tt
cheers,
-tt
An alternate way could be to get a process list and force taskset the
interested ones.
Thanks
-Azher
- [perfsonar-user] process and affinity, Azher Mughal, 02/03/2015
- Re: [perfsonar-user] process and affinity, Tom Throckmorton, 02/03/2015
- Re: [perfsonar-user] process and affinity, Azher Mughal, 02/03/2015
- Re: [perfsonar-user] process and affinity, Mark Foster, 02/03/2015
- Re: [perfsonar-user] process and affinity, Azher Mughal, 02/03/2015
- Re: [perfsonar-user] process and affinity, Mark Foster, 02/03/2015
- Re: [perfsonar-user] process and affinity, Azher Mughal, 02/03/2015
- Re: [perfsonar-user] process and affinity, Tom Throckmorton, 02/03/2015
Archive powered by MHonArc 2.6.16.