Keir Fraser wrote: > On 23/02/2009 22:33, "Yang, Xiaowei" wrote: > >> For further improvement to reach the effect of 3), e.g. by taking care >> of cache consistance amongs CPUs, there will be more overhead. And >> considering the function is called per second, we are hesitating to do >> this. What's your idea?:) > > Maybe we should see what that overhead is... Also we may not really need to > run that function every second. > > -- Keir > > I measured time_calibration_rendezvous()'s overhead on my machine. It's around 5-6k TSC. And I made anther patch to add loop. The cycle skew introduced by TSC-sync is gone with it. And a bit surprisingly, the expected extra overhead is not even noticeable:) The new patch is attached. Thanks, Xiaowei