gerrit git slow 10Mb/s

12:46 PMBo, Yansonghi

12:46 PMWang, Rip/mediatek/vendor/amazon/signed-prebuilt-a
/platform/external/chromium_org
/device/htc/flounder-kernel
/device/moto/shamu-kernel
/fireos/prebuilts/thirdparty/com.nuance.s
/mediatek/kernel/common64
/fireos/prebuilts/system/so
/mediatek/kernel/common

12:50 PMBo, [email protected]:~$ git clone ssh://pek12-acos2014-gerrit-mirror.aka.amazon.com:9418/fireos/nightlymanifest --progress

Cloning into ‘nightlymanifest‘...

remote: Counting objects: 7594, done

remote: Finding sources: 100% (7594/7594)

Receiving objects:  47% (3588/7594), 9.56 MiB | 143 KiB/s

我的电脑
[email protected]:/tmp$ git clone ssh://pek12-acos2014-gerrit-mirror.aka.amazon.com:9418/fireos/nightlymanifest --progress

Cloning into ‘nightlymanifest‘...

remote: Counting objects: 7594, done

remote: Finding sources: 100% (7594/7594)

remote: Total 7594 (delta 0), reused 0 (delta 0)

Receiving objects: 100% (7594/7594), 100.47 MiB | 5.69 MiB/s, done.

Checking connectivity... done.

[email protected]:~$ tracepath pek12-acos2014-gerrit-mirror.aka.amazon.com -n

1?: [LOCALHOST]                                         pmtu 1500

1:  10.29.186.1                                         314.998ms

1:  10.29.186.1                                         264.081ms

2:  10.29.176.148                                       283.860ms

3:  10.29.176.153                                       291.790ms

4:  10.29.178.27                                        283.551ms reached

[email protected]:/tmp$ tracepath pek12-acos2014-gerrit-mirror.aka.amazon.com -n

1?: [LOCALHOST]                                         pmtu 1500

1:  10.29.184.1                                           1.134ms

1:  10.29.184.1                                           6.752ms

2:  10.29.176.146                                         1.220ms

3:  10.29.176.65                                          2.056ms asymm  2

4:  10.29.176.153                                         1.087ms asymm  3

5:  10.29.178.27                                          0.333ms reached

Resume: pmtu 1500 hops 5 back 61

[email protected]:~$ ip addr

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

inet 127.0.0.1/8 scope host lo

valid_lft forever preferred_lft forever

inet6 ::1/128 scope host

valid_lft forever preferred_lft forever

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000

link/ether 34:17:eb:bd:1e:eb brd ff:ff:ff:ff:ff:ff

inet 10.29.186.138/23 brd 10.29.187.255 scope global eth0

valid_lft forever preferred_lft forever

inet6 fe80::3617:ebff:febd:1eeb/64 scope link

valid_lft forever preferred_lft forever

3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000

link/ether 08:57:00:22:6c:21 brd ff:ff:ff:ff:ff:ff

inet6 fe80::a57:ff:fe22:6c21/64 scope link

valid_lft forever preferred_lft forever

[email protected]:/tmp$ ip addr

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN

link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

inet 127.0.0.1/8 scope host lo

valid_lft forever preferred_lft forever

inet6 ::1/128 scope host

valid_lft forever preferred_lft forever

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000

link/ether 34:17:ebe:f9:31 brd ff:ff:ff:ff:ff:ff

inet 10.29.184.115/23 brd 10.29.185.255 scope global eth0

valid_lft forever preferred_lft forever

inet6 fe80::3617:ebff:fede:f931/64 scope link

valid_lft forever preferred_lft forever

[email protected]:/tmp$ ssh -p9418 pek12-acos2014-gerrit-mirror.aka.amazon.com gerrit show-connections

Session     Start     Idle   User            Remote Host

--------------------------------------------------------------

91b834fa 12:30:51 00:00:00   boyans          10.29.184.115

11ac44bd 12:31:04 00:00:00   yongzhiq        10.29.186.138

f1a890ad 12:31:05 00:00:00   yongzhiq        10.29.186.138

51b2bc21 12:31:11 00:00:00   yongzhiq        10.29.186.138

31af08b8 12:31:11 00:00:00   yongzhiq        10.29.186.138

91dfd43c 12:31:12 00:00:00   yongzhiq        10.29.186.138

71e4a014 12:31:13 00:00:00   yongzhiq        10.29.186.138

d1d54c20 12:31:14 00:00:00   yongzhiq        10.29.186.138

f1cf308e 12:31:18 00:00:00   yongzhiq        10.29.186.138

11b2044f 12:34:02 00:02:38   boyans          10.29.186.138

--

1:33 PMWang, [email protected]:~$ ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 10Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 2
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: off
Cannot get wake-on-lan settings: Operation not permitted
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
[email protected]:~$ sudo ethtool -s eth0 speed 1000 duplex full

[email protected]:~$ ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 2
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: off
Cannot get wake-on-lan settings: Operation not permitted
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

你看第一个命令
Speed: 10Mb/s

然后我将
duplex full打开
现在是
Speed: 1000Mb/s

eth0               wlan0
 KB/s in  KB/s out   KB/s in  KB/s out
77547.14    565.32      0.00      0.00
56622.94    629.74      0.00      0.00
69039.08    672.78      0.00      0.00
33113.65    493.64      0.00      0.00
12932.97    203.45      0.00      0.00
12614.40    171.94      0.00      0.00
15648.71    226.70      0.00      0.00
11993.47    134.61      0.00      0.00
16018.36    190.65      0.00      0.00
14981.05    243.08      0.00      0.00
17264.12    275.50      0.00      0.00
16558.90    273.97      0.00      0.00
11589.93    157.24      0.00      0.00

现在下载也正常了
其实这个问题 下载的时候觉得慢 重启一下就行了
是估计两张网卡老切换导致的
lan和wlan

时间: 2024-10-10 14:10:50

gerrit git slow 10Mb/s的相关文章

gerrit git使用

有关git的参考资料 pro git中文版, 最好的git书籍 http://git-scm.com/book/zh 图解git http://marklodato.github.com/visual-git-guide/index-zh-cn.html git交互式学习 http://try.github.com/levels/1/challenges/1 Git分支管理策略 http://blog.jobbole.com/23398/ type3的关于git和Gerrit资料 http://

workstart-vanzo gerrit git 等知识点

OpenID 是一个以用户为中心的数字身份识别框架,它具有开放.分散.自由等特性. 什么是gerrit? 看了网上的介绍,感觉所谓的gerrit就是一个基于web实现代码管理的服务器.Gerrit 为 Git 引入的代码审核是强制性的,就是说除非特别的授权设置,向 Git 版本库的推送(Push)必须要经过 Gerrit 服务器,修订必须经过代码审核的一套工作流程之后,才可能经批准并纳入正式代码库中…首先贡献者的代码通过 git 命令(或 repo 封装)推送到 Gerrit 管理下的 Git

CentOS安装gitlab,gerrit,jenkins并配置ci流程

By Wenbin [email protected] 2016/4/9 这是我参考了网上很多的文档,配置了这三个软件在一个机器上,web分别访问8081,8082,8083端口,成功构建了一个ci流程. 版本都是目前最新的版本. 用户 Gitlab:  root/wenbindevops , wenbin/12345678 Gerrit:  gerrit/gerrit, wenbin/wenbin, jenkins/jenkins Jenkins:  jenkins/jenkins 主机192

android源码GIT下载

mkdir device cd device git clone https://android.googlesource.com/device/common.git mkdir htc cd htc git clone https://android.googlesource.com/device/htc/common.git git clone https://android.googlesource.com/device/htc/dream-sapphire.git git clone h

Git的学习与常用操作

·Git的工作原理关系图: 一个文件从修改到提交的过程: 修改 ---〉工作区中进行,此时工作区的状态比暂存区,版本库区要新 添加 ---〉修改的文件被添到暂存区,工作区与暂存区的文件状态一样,都要比版本库区的状态要新 提交 ---〉暂存区中的文件被写入版本库区,此时工作区,暂存区,工作区中的文件状态时一样的 注意:工作区,暂存区都是临时存放点,不安全 版本库区是安全存放点,所有文件的版本都是控制在版本库区中的 说明:从远程git服务器克隆到本地的git库,有一个隐藏的.git目录,这个目录就是

centos 安装http协议的git server

1.服务器端安装httpd,git,gitweb等 1 #yum install httpd git git-daemon  gitweb 2.服务器端初始化仓库 1 2 3 #mkdir -p /data3/gitserver #cd /data3/gitserver #git init --bare git_repo #初始化一个裸仓库 3.向裸仓库提交初始文件 1 2 3 4 5 6 7 #cd /tmp #git clone /data3/gitserver/git_repo #cd g

提交gerrit 方法步骤

1. 添加公钥认证 那请登录 gerrit 网页 http://172.16.*.*:8080/#/settings/ssh-keys 添加本地公钥内容到gerrit 2. vi  ~/.ssh/configHost gerrit Hostname 172.16.*.* Port 29418 User yourname    ###gerrit登录名一致 3. ssh gerrit 会有如下提示:~$ ssh gerrit **** Welcome to Gerrit Code Review *

CI CD系统整合

转载_CI 系统搭建:Git.Gerrit与Jenkins 2014-08-11 20:55 15678人阅读 评论(1) 收藏 举报 分类: 软件集成和项目管理(3) 目录(?)[+] 去年写的这五篇 CI 文章时候方便邮件测试,自己搞了一个 thstack.com 域名玩.当时也没在意,所有的文章里邮箱地址都是引用 @thstack.com 域名.让我没想到是,2014 年这个神奇的一年,thstack.com 会成为我们的公司名字和域名. 我想说的是,我们内部的邮件系统也在用 @thsta

Gerrit2安装配置

Gerrit是用于Git版本控制系统的代码审核系统. 下载 当前最新版本的gerrit为2.8.1,从官方下载二进制war包即可. 数据库设置 gerrit可以使用H2,PostgreSQL,MySql和Oracle数据库.这个安装使用PostgreSQL数据库. 创建gerrit使用的用户和数据库: $ createuser --username=postgres -RDIElPS gerrit2 $ createdb --username=postgres -E UTF-8 -O gerri