[LU-8262] Use multi-thread tool to download when lbuild Created: 12/Jun/16  Updated: 04/Apr/17  Resolved: 04/Apr/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Li Xi (Inactive) Assignee: Minh Diep
Resolution: Won't Fix Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

Currently, lbuild script use wget or curl to download source RPMs when building. This usually works well. However, if building on a machine with unstable and slow Internet connection, doanloading an 100MB RPM would takes more than an hour. And wget could also stuck forever when router restarts. This doesn't happens offen in some part of world, but unfortunately, I am one of the persons who are annoyed by this problem and can not do anything to improve the network condition.

The solution left is to use an multi-thread tool to doanload RPMs. After some searching and testing, I find that mytget (https://github.com/lytsing/Mytget) is a good tool, which not only improves the bandwidth, but also improves the robustness.



 Comments   
Comment by Gerrit Updater [ 12/Jun/16 ]

Li Xi (lixi@ddn.com) uploaded a new patch: http://review.whamcloud.com/20737
Subject: LU-8262 lbuid: use mytget to download source RPMs
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 0d11d8943932f89215a3f9945b4c4eb59abf2cdd

Comment by Peter Jones [ 13/Jun/16 ]

Minh

Can you please review this patch?

Peter

Comment by Li Xi (Inactive) [ 04/Apr/17 ]

Since as suggested, we have a lot of ways to cache the RPMs. So I think we can close this ticket.

Comment by Peter Jones [ 04/Apr/17 ]

ok li xi

Generated at Sat Feb 10 02:16:01 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.