creation, context switch time of process and thread
From: Srinivas Ramanan <hidden>
Date: 2012-05-25 17:29:16
On Fri, May 25, 2012 at 12:50 PM, richard -rw- weinberger < richard.weinberger@gmail.com> wrote:
On Thu, May 24, 2012 at 2:25 PM, Srinivas Ramanan [off-list ref] wrote:quoted
Can someone give the information of following typical values in Kernel3.xquoted
in a 2Ghz machine with sufficient RAM Process creation time ? Process context switch time ? pthread creation time ? pthread context swich time ? kernel thread creation time ? kernel thread context switch time ?
Thanks for pointing out the tools. I will look in to them. To confirm that i am measuring it right, can someone give some (approximate) typical values for the above, Assuming some 200 instructions in context switching assembly code, i guess the process context switch takes around 100ns. is this right? I guess the process creation time will be greater than process context switch time. correct? Will the pthread context switch time be different from a kernel thread context switch time? thanks, ramanan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120525/4888518f/attachment.html