From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NF4eY-0007xW-8U for qemu-devel@nongnu.org; Mon, 30 Nov 2009 06:42:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NF4eS-0007se-8x for qemu-devel@nongnu.org; Mon, 30 Nov 2009 06:42:49 -0500 Received: from [199.232.76.173] (port=38774 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NF4eR-0007sV-Vy for qemu-devel@nongnu.org; Mon, 30 Nov 2009 06:42:44 -0500 Received: from mail-pz0-f188.google.com ([209.85.222.188]:56707) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NF4eR-0002ug-Ry for qemu-devel@nongnu.org; Mon, 30 Nov 2009 06:42:44 -0500 Received: by pzk26 with SMTP id 26so2193556pzk.4 for ; Mon, 30 Nov 2009 03:42:42 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4B12B042.9020409@web.de> References: <1259256300-23937-1-git-send-email-glommer@redhat.com> <4B12B042.9020409@web.de> Date: Mon, 30 Nov 2009 09:42:42 -0200 Message-ID: <5d6222a80911300342x4d29653as6c23acac598dec64@mail.gmail.com> Subject: Re: [Qemu-devel] Re: [PATCH 0/7] KVM SMP support, early version From: Glauber Costa Content-Type: text/plain; charset=UTF-8 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Glauber Costa , aliguori@us.ibm.com, qemu-devel@nongnu.org On Sun, Nov 29, 2009 at 3:32 PM, Jan Kiszka wrote: > Glauber Costa wrote: >> Hi guys, >> >> This is an early version of smp support in kvm that kinda works. >> It has some known problems that I am still tracking. For example, >> it does not reset very well. Also, initialization is a bit slow, >> probably because of the number of remote ioctl calls involved. >> But I believe Jan's patch to do a single ioctl can make it better. > > That approach has been buried, we decided to continue extending via new > ioctls. > > But why do you need that many remote calls during init? Aren't the > initial ioctls issued by the vcpu threads themselves? Yes, but system_reset is called from the io-thread, and it fires a lot of ioctls. However, I have an already working version that does a much better job than that. Will post today with details -- Glauber Costa. "Free as in Freedom" http://glommer.net "The less confident you are, the more serious you have to act."