Search code examples
linux-kernelschedulermulticoreaffinitycgroups

Regarding the process swap IN core number in multi core system


Is there any way I can find how many processes swapped into particular core in a given period of time on multi core system ?

Say suppose, I have 8 core machine in which one process is hard affined to core 3 and would like to know how many times other process / interrupts kicked the hard affined process out of scheduler or in other way around how much time was provided to other process(es) to run on this core.

Hardware : e500v2; Linux : 2.6.34; Kernel : Preempt - OFF; Cgroups configured.

Note: The visibility of this core is provided to only one group and only this task/process is tagged against that group.

Thanks in Advance.


Solution

  • I just found useful pointers on the below link, maybe useful for someone else who is looks for the same data/information.

    http://cs.boisestate.edu/~amit/teaching/597/scheduling.pdf

    https://www.cs.columbia.edu/~smb/classes/s06-4118/l13.pdf

    http://www.inf.fu-berlin.de/lehre/SS01/OS/Lectures/Lecture08.pdf

    Thank you.!