From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZcob-0007Su-RE for qemu-devel@nongnu.org; Thu, 11 Jan 2018 08:22:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZcoY-0003Gr-NA for qemu-devel@nongnu.org; Thu, 11 Jan 2018 08:22:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47972) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eZcoY-0003FA-H9 for qemu-devel@nongnu.org; Thu, 11 Jan 2018 08:22:38 -0500 References: <20180111082452.27295.85707.stgit@pasha-VirtualBox> <20180111082738.27295.80055.stgit@pasha-VirtualBox> <0e223aaa-c3c9-1cdf-5548-5a532d3a7361@redhat.com> <000901d38add$ddb4b750$991e25f0$@ru> From: Paolo Bonzini Message-ID: <17a6b61c-e151-a5e1-978a-b54da71dbe55@redhat.com> Date: Thu, 11 Jan 2018 14:22:25 +0100 MIME-Version: 1.0 In-Reply-To: <000901d38add$ddb4b750$991e25f0$@ru> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH v3 29/30] replay: improve replay performance List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Dovgalyuk , 'Pavel Dovgalyuk' , qemu-devel@nongnu.org Cc: kwolf@redhat.com, peter.maydell@linaro.org, boost.lists@gmail.com, quintela@redhat.com, jasowang@redhat.com, mst@redhat.com, zuban32s@gmail.com, maria.klimushenkova@ispras.ru, kraxel@redhat.com, alex.bennee@linaro.org On 11/01/2018 14:12, Pavel Dovgalyuk wrote: >> From: Paolo Bonzini [mailto:paolo.bonzini@gmail.com] On Behalf Of Paolo Bonzini >> On 11/01/2018 09:27, Pavel Dovgalyuk wrote: >>> + } else { >>> + qemu_notify_event(); >>> + } >> >> Before this patch, what would do the qemu_notify_event? > > We tried using qemu_notify_event to wake up the iothread and speedup the replay, > when there is no work for vcpu thread to do. But why doesn't the iothread wake up on its own? Paolo