<br><br><div class="gmail_quote">On Fri, May 25, 2012 at 12:50 PM, richard -rw- weinberger <span dir="ltr"><<a href="mailto:richard.weinberger@gmail.com" target="_blank">richard.weinberger@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, May 24, 2012 at 2:25 PM, Srinivas Ramanan<br>
<<a href="mailto:srinivas.ramanan@gmail.com">srinivas.ramanan@gmail.com</a>> wrote:<br>
> Can someone give the information of following typical values in Kernel 3.x<br>
> in a 2Ghz machine with sufficient RAM<br>
><br>
> Process creation time ?<br>
> Process context switch time ?<br>
> pthread creation time ?<br>
> pthread context swich time ?<br>
> kernel thread creation time ?<br>
> kernel thread context switch time ?<br></div></blockquote><div> </div><div>Thanks for pointing out the tools. I will look in to them.</div><div>To confirm that i am measuring it right, can someone give some (approximate) typical values for the above,</div>
<div>Assuming some 200 instructions in context switching assembly code, i guess the process context switch takes around 100ns. is this right?</div><div>I guess the process creation time will be greater than process context switch time. correct?</div>
<div>Will the pthread context switch time be different from a kernel thread context switch time?</div><div><br></div><div><br></div><div>thanks,</div><div>ramanan</div></div>