Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1508779

Summary: Webadmin - ImageIO- upload/donwload take at least X3 more time than a regular scp of the same image to the host.
Product: [oVirt] ovirt-engine Reporter: Avihai <aefrat>
Component: BLL.StorageAssignee: Allon Mureinik <amureini>
Status: CLOSED DUPLICATE QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-02 09:45:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine , vdsm ,imageIO logs none

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 ***