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