更新 Git 到 2.6.0, 对所有目录执行了一遍 git repack -abd 建立 bitmap 索引,目前看起来效果拔群。
昨天大约凌晨1点建完的索引, 附件中 service_traffic_IPv4 是 mirrors 流量图,绿色部分为 git:// 的流量,昨天0点之前和今天白天的流量都比较大; cpu 是 CPU 占用率,在今天流量大于昨天0点之前的情况下,今天基本一直在100以下。 -- Justin Wong Fingerprint: 15CC 6A61 738B 1599 0095 E256 CB67 DA7A 865B AC3A On Fri, Oct 9, 2015, at 14:39, Justin Wong wrote: > Hi there, > > 我是 TUNA mirrors 管理员。TUNA AOSP 镜像业务目前处于吃满服务器CPU/内存/磁盘IO状态,难以继续运行。 > > 之前看了 Git 2.0 之后从 JGit 引来了 Bitmap 索引,号称提速很多,但是能查到的资料很有限,JGit 的资料 > 更少,相关的文档只看到了 Google 的运维经验 [1] > > 请问是否有人有运维大规模 Git 服务的经验,可以分享一下? > > > Cheers, > Justin > > [1] > https://www.eclipsecon.org/2013/sites/eclipsecon.org.2013/files/Scaling%20Up%20JGit%20-%20EclipseCon%202013.pdf > -- > Justin Wong > > Blog: https://bigeagle.me/ > Fingerprint: 15CC 6A61 738B 1599 0095 E256 CB67 DA7A 865B AC3A > Email had 1 attachment: > + signature.asc > 1k (application/pgp-signature) -- --- You received this message because you are subscribed to the Google Groups "TUNA 主邮件列表" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
