[ 
https://issues.apache.org/jira/browse/KNOX-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16408068#comment-16408068
 ] 

Georgy edited comment on KNOX-1221 at 3/21/18 3:30 PM:
-------------------------------------------------------

I mean that:
 # Speed for request to webhdfs via knox is significanlty lesser then without 
knox (direct connection), mbits vs gigabits
 # Speed for one https request vis knox to webhdfs is nearly 100mbit/s. Speed 
for second, third, ... requests is unknown (I didn't test this), but sum of 
speeds for all concurrent requests is much larger then for one. For example, 
first connection via knox to webhdfs has speed 100 mbit/s. Then I start second 
and third connection. Iftop shows me that there is 200-300mbit/s for all three 
curl requests.


was (Author: maythes):
I mean that:
 # Speed for request to webhdfs via knox is significanlty lesser then without 
knox (direct connection), mbits vs gigabits
 # Speed for one https request vis knox to webhdfs is nearly 100mbit/s. Speed 
for second, third, ... requests is unknown (I didn't test this), but sum of 
speeds for all concurrent requests is much largerb then for one. For example, 
first connection via knox to webhdfs has speed 100 mbit/s. Then I start second 
and third connection. Iftop shows me that there is 200-300mbit/s for all three 
curl requests.

> Knox limits speed to 100mbit/s
> ------------------------------
>
>                 Key: KNOX-1221
>                 URL: https://issues.apache.org/jira/browse/KNOX-1221
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.9.0, 1.0.0
>         Environment: Knox 1.0.0
> RHEL 6.9
> JDK 1.8.0_60
> Launch string:
> /usr/bin/java -Djava.library.path=/opt/knox-1.0.0/ext/native -Xms2g -Xmx8g 
> -Dcom.sun.management.jmxremote 
> -Dcom.sun.management.jmxremote.authenticate=false 
> -Dcom.sun.management.jmxremote.ssl=false 
> -Dcom.sun.management.jmxremote.port=9000 -jar /opt/knox-1.0.0/bin/gateway.jar
>            Reporter: Georgy
>            Priority: Major
>         Attachments: gateway-site.xml, rtk.xml
>
>
> If I use direct connection to WebHDFS from one node I have speed nearly 
> several gigabites/sec when download or upload large files. But if I use knox 
> I have ulpload/download speed only 100mbit/sec from the same node. Found that 
> knox limits speed for one https session. As a workaround I upload large files 
> through knox in parallel but it is not a good way.
> Couldn't find any configuration params that can control such behaviour. Is it 
> a code limitation?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to