From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEfsR-0006aB-Qo for qemu-devel@nongnu.org; Fri, 23 Jan 2015 10:10:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEfsN-00059Q-Ts for qemu-devel@nongnu.org; Fri, 23 Jan 2015 10:10:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEfsN-00059M-MG for qemu-devel@nongnu.org; Fri, 23 Jan 2015 10:10:23 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0NFAMeA014894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 23 Jan 2015 10:10:23 -0500 Message-ID: <54C2645C.9010401@redhat.com> Date: Fri, 23 Jan 2015 10:10:20 -0500 From: Max Reitz MIME-Version: 1.0 References: <1422025185-25229-1-git-send-email-mreitz@redhat.com> In-Reply-To: <1422025185-25229-1-git-send-email-mreitz@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] iotests: Lower 064's memory usage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Jeff Cody , Stefan Hajnoczi On 2015-01-23 at 09:59, Max Reitz wrote: > Test 064 reads a lot of data at once which currently results in qemu-io > having to allocate up to about 1 GB of memory (958 MB, to be exact). > This patch lowers that amount to 128 MB by making the test read smaller > chunks. > > Signed-off-by: Max Reitz > --- > tests/qemu-iotests/064 | 19 +++++++++++++++++-- > tests/qemu-iotests/064.out | 34 ++++++++++++++++++++++++++++++---- > 2 files changed, 47 insertions(+), 6 deletions(-) Applied to my block tree: https://github.com/XanClic/qemu/commits/block