All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1272252] [NEW] qemu-img ftp/http convert
@ 2014-01-24 10:11 Mr J
  2016-10-31 12:22 ` [Qemu-devel] [Bug 1272252] " Thomas Huth
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mr J @ 2014-01-24 10:11 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-21  4:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-24 10:11 [Qemu-devel] [Bug 1272252] [NEW] qemu-img ftp/http convert Mr J
2016-10-31 12:22 ` [Qemu-devel] [Bug 1272252] " Thomas Huth
2021-04-22  3:58 ` Thomas Huth
2021-06-21  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.