From: Marcelo T. <mto...@re...> - 2008-04-18 17:43:05
|
On Fri, Apr 18, 2008 at 10:18:33AM -0500, Anthony Liguori wrote: > >Sleeping in the context of vcpu's is extremely bad (eg virtio-block > >blocks in write() throttling which kills performance). It should wait > >on IO completions instead (qemu-kvm.c creates a pthread "waitqueue" to > >resolve that issue). > > > >Other than that looks fine to me, will give it a try. > > > > FWIW, I'm not getting wonderful results in KVM. It's hard to tell > though because time seems wildly inaccurate (even with kvm clock in the > guest). The time issue appears unrelated to this set of patches. Oh, you won't get completion signals on the aio eventfd. You might want to try the select-with-timeout() stuff. Will submit that with proper signalfd emulation shortly. |