Bug 1508779 - Webadmin - ImageIO- upload/donwload take at least X3 more time than a regular scp of the same image to the host.
Summary: Webadmin - ImageIO- upload/donwload take at least X3 more time than a regular...
Keywords:
Status: CLOSED DUPLICATE of bug 1508776
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Allon Mureinik
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-02 08:36 UTC by Avihai
Modified: 2017-11-02 09:45 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-11-02 09:45:34 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)
engine , vdsm ,imageIO logs (1.31 MB, application/x-gzip)
2017-11-02 08:36 UTC, Avihai
no flags Details

Description Avihai 2017-11-02 08:36:09 UTC
Created attachment 1346869 [details]
engine , vdsm  ,imageIO logs

Description of problem:
Upload/download take at least X3 more time than a regular scp of the same image to the host.

Version-Release number of selected component (if applicable):
Engine - 4.2.0-0.0.master.20171030210714.gitef6bb9c.el7
VDSM0  - 4.20.5-5.git3d47978

How reproducible:
100%

Steps to Reproduce:
1.Measure the time it takes to copy an image file from localhost to VDSM host.

I used 2G image which took 62 seconds with scp .

2.From UI choose the same image & upload . 
Time it took = 235 seconds ! X4 more than scp (step 1)

3. From UI download the same image .
Time it took = 235 seconds ! X4 more than scp (step 1)

Actual results:
It takes X3 times more to upload/download an image file vs scp of the same file from the same source(localhost) to destination (VDSM host) 

Expected results:


Additional info:
Test was done with both qcow/raw format with 2G & 10G images - results were the same - X3 times more than scp to upload/download file .

Comment 1 Yaniv Kaul 2017-11-02 09:45:34 UTC
1. Need to change chunk size.
2. Need to see if SSL is using compression or not - and if it makes a difference.
3. There's no doubt it'll be slower - as the data is apparently proxied via the Engine. Compare with a SOCKS proxy and you'll see that.

*** This bug has been marked as a duplicate of bug 1508776 ***


Note You need to log in before you can comment on or make changes to this bug.