Avi Kivity wrote:
> I estimate that that take_cpu_down will run for about a millisecond if
> there are a few hundred vcpus which have last run on the dying cpu (and
> that's an extreme case, which is not expected in normal operation).

I measured vmclear time on an uncached vmcs (which would be all except 
for a handful which are cached on the cpu core) at 144 cycles.  Assuming 
a couple of cache misses for walking the list and accessing the vmcs, 
we're at about 500 cycles per vcpu, or 250us @ 2GHz.  So worst case is 
significantly less than 1 ms.

Is this acceptable for take_cpu_down()?

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to