Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a VCPU (v2)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Wednesday, December 1, 2010 - 12:07 pm

On Wed, 2010-12-01 at 12:26 -0500, Rik van Riel wrote:

I don't necessarily think that's enough.

Suppose you've got 4 vcpus, one is holding a lock and 3 are spinning.
They'll end up all three donating some time to the 4th.

The only way to make that fair again is if due to future contention the
4th cpu donates an equal amount of time back to the resp. cpus it got
time from. Guest lock patterns and host scheduling don't provide this
guarantee.


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a ..., Srivatsa Vaddagiri, (Wed Dec 1, 5:37 am)
Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a ..., Srivatsa Vaddagiri, (Wed Dec 1, 9:12 am)
Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a ..., Srivatsa Vaddagiri, (Wed Dec 1, 10:29 am)
Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a ..., Srivatsa Vaddagiri, (Wed Dec 1, 11:00 am)
Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a ..., Peter Zijlstra, (Wed Dec 1, 12:07 pm)
Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a ..., Srivatsa Vaddagiri, (Thu Dec 2, 4:47 am)
Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a ..., Srivatsa Vaddagiri, (Thu Dec 2, 5:19 am)
Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a ..., Srivatsa Vaddagiri, (Thu Dec 2, 5:22 am)
Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a ..., Srivatsa Vaddagiri, (Thu Dec 2, 6:13 am)
Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a ..., Srivatsa Vaddagiri, (Thu Dec 2, 8:27 am)
Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a ..., Srivatsa Vaddagiri, (Thu Dec 2, 8:28 am)
Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a ..., Srivatsa Vaddagiri, (Thu Dec 2, 8:44 am)