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

Eric Yang edited comment on YARN-9229 at 1/25/19 9:23 PM:
----------------------------------------------------------

Docker pull command
{code}
time docker pull registry.docker-reg.hbase.ycluster:5000/centos:latest
{code}

Docker push command
{code}
docker tag centos:latest registry.docker-reg.hbase.ycluster:5000/centos:latest
time docker push registry.docker-reg.hbase.ycluster:5000/centos:latest
{code}

Benchmark result for doing docker pull and push operations using NFS Gateway:
| | Remote | Local |
| Pull | 23.406s | 33.635s |
| Push | 1m33.782s | 1m26.903s |

When docker Image is cached
| | Remote | Local |
| Pull | 0.136s | 0.129s |
| Push | 0.141s | 0.161s |

Writing to docker registry is three times as slow as reading from docker 
registry.  Most of the time was spent in compression and decommission.  The 
actual network transfer time is very small in comparison to the overall docker 
pull/push operation.


was (Author: eyang):
Benchmark result for doing docker pull and push operations using NFS Gateway:
| | Remote | Local |
| Pull | 23.406s | 33.635s |
| Push | 1m33.782s | 1m26.903s |

When docker Image is cached
| | Remote | Local |
| Pull | 0.136s | 0.129s |
| Push | 0.141s | 0.161s |

Writing to docker registry is three times as slow as reading from docker 
registry.  Most of the time was spent in compression and decommission.  The 
actual network transfer time is very small in comparison to the overall docker 
pull/push operation.

> Document docker registry deployment with NFS Gateway
> ----------------------------------------------------
>
>                 Key: YARN-9229
>                 URL: https://issues.apache.org/jira/browse/YARN-9229
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Major
>
> The goal of this task is to demonstrate running docker pull of image from 
> HDFS via NFS gateway. Document the pros and cons for using NFS gateway.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to