From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq0kS-0003ah-Vf for qemu-devel@nongnu.org; Wed, 06 May 2015 10:56:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yq0kP-0004sU-N6 for qemu-devel@nongnu.org; Wed, 06 May 2015 10:56:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq0kP-0004sA-Fq for qemu-devel@nongnu.org; Wed, 06 May 2015 10:56:29 -0400 Message-ID: <554A2B93.9010200@redhat.com> Date: Wed, 06 May 2015 16:56:19 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1430864578-22072-1-git-send-email-jsnow@redhat.com> In-Reply-To: <1430864578-22072-1-git-send-email-jsnow@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/5] qtest: base64 r/w and faster memset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow , qemu-devel@nongnu.org Cc: afaerber@suse.de On 06/05/2015 00:22, John Snow wrote: > Adds new qtest protocol commands for base64 reads and writes, > as well as a proper command for memset instead of faking it > via write. > > This improves the ahci-test performance on my machine from about > 14 seconds to about ~3.5. > > v3: > - Including a memset optimization. > v2: > - Resend as non-RFC. > > == > For convenience, this branch is available at: > https://github.com/jnsnow/qemu.git branch qtest_protocol > https://github.com/jnsnow/qemu/tree/qtest_protocol > > This version is tagged qtest_protocol-v3: > https://github.com/jnsnow/qemu/releases/tag/qtest_protocol-v3 > == > > John Snow (5): > qtest: allow arbitrarily long sends > qtest: Add base64 encoded read/write > qtest: add memset to qtest protocol > qtest: precompute hex nibs > libqos/ahci: Swap memread/write with bufread/write > > qtest.c | 147 +++++++++++++++++++++++++++++++++++++++++++++------- > tests/ahci-test.c | 8 +-- > tests/libqos/ahci.c | 4 +- > tests/libqtest.c | 56 ++++++++++++++++---- > tests/libqtest.h | 49 ++++++++++++++++++ > 5 files changed, 230 insertions(+), 34 deletions(-) > Looks good! Paolo