Re: How to measure time spent in context switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi... :)

Sorry for jumping in...

On Tue, Jul 17, 2012 at 3:09 AM, Manavendra Nath Manav
<mnm.kernel@xxxxxxxxx> wrote:
......
>If we can set scheduler() process affinity to one single
> core, will it affect the measurements and predictability of context
> switches?

I think it will affect, up to some unknown degree. On inter processor
scheduling, there would happen cache remote invalidation and process
task_struct transfer (IIRC process descripter is per cpu).

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux