From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6dse-0003Jl-K9 for qemu-devel@nongnu.org; Fri, 24 Jan 2014 05:21:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6dsY-0005Ad-Ja for qemu-devel@nongnu.org; Fri, 24 Jan 2014 05:20:56 -0500 Received: from indium.canonical.com ([91.189.90.7]:33550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6dsY-0005AW-DM for qemu-devel@nongnu.org; Fri, 24 Jan 2014 05:20:50 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1W6dsX-00088U-My for ; Fri, 24 Jan 2014 10:20:49 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id ACBDF2E807E for ; Fri, 24 Jan 2014 10:20:49 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 24 Jan 2014 10:11:50 -0000 From: Mr J Sender: bounces@canonical.com References: <20140124101150.11988.40603.malonedeb@wampee.canonical.com> Message-Id: <20140124101150.11988.40603.malonedeb@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1272252] [NEW] qemu-img ftp/http convert Reply-To: Bug 1272252 <1272252@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: Converting images with ftp or http as source could be done a lot faster. The way it works now (qemu 1.7.50) is significantly slower than the optimal way. FTP - how it works now 1. Connect and login to ftp-server. Ask for size of file. 2. Get a chunk of data using rest+retr 3. Goto step 1 again in a loop until all data is retrieved FTP - better solution 1. Connect and login to ftp-server. Dont ask for size of file. 2. Retrieve all remaining data 3. Goto step 1 again if disconnected/io error (max NN errors etc) Http - how it works now 1. Connect to webserver and ask for size of file / http HEAD. 2. Get a chunk of data using http Range. 3. Goto step 1 again in a loop until all data is retrieved. Http - better solution 1. Connect to webserver. 2. Retrieve all remaining data. 3. Goto step 1 again if disconnected/io error (max NN errors). ** Affects: qemu Importance: Undecided Status: New ** Tags: optimisation qemu-img -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1272252 Title: qemu-img ftp/http convert Status in QEMU: New Bug description: Converting images with ftp or http as source could be done a lot faster. The way it works now (qemu 1.7.50) is significantly slower than the optimal way. FTP - how it works now 1. Connect and login to ftp-server. Ask for size of file. 2. Get a chunk of data using rest+retr 3. Goto step 1 again in a loop until all data is retrieved FTP - better solution 1. Connect and login to ftp-server. Dont ask for size of file. 2. Retrieve all remaining data 3. Goto step 1 again if disconnected/io error (max NN errors etc) = Http - how it works now 1. Connect to webserver and ask for size of file / http HEAD. 2. Get a chunk of data using http Range. 3. Goto step 1 again in a loop until all data is retrieved. Http - better solution 1. Connect to webserver. 2. Retrieve all remaining data. 3. Goto step 1 again if disconnected/io error (max NN errors). To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1272252/+subscriptions