Skip to contentSkip to conversation

qemu-img ftp/http convert

Qemu-devel Mr J 2 participants 4 messages Jan 24, 2014 – Jun 21, 2021

lore
Share & tools
lore

Mr J

author
#0 lore raw

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

Signature · 38 lines
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
#1 lore raw

** Changed in: qemu
Importance: Undecided => Wishlist

Signature · 38 lines
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
#2 lore raw
In reply to Mr J

The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.

** Changed in: qemu
Status: New => Incomplete

Signature · 38 lines
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:
  Incomplete

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
#3 lore raw
In reply to Mr J

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
Status: Incomplete => Expired

Signature · 38 lines
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:
  Expired

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