Gentoo Archives: gentoo-user

From: Ronan Mainbourg <ronan.mainbourg@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Trying to make portage use "puf" instead of "wget"
Date: Sat, 19 Dec 2009 14:10:00
Message-Id: 7985d0a50912190608i282a0fe4u1764b53a77a37698@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Trying to make portage use "puf" instead of "wget" by Marcus Wanner
1 Sorry, I should have given more details on why I am trying to do that:
2
3 the Internet connection I use at work is handled by a router which do
4 automatic load-balancing between two different connections.
5 So when bandwidth usage of the first connection is saturated, all new
6 connections are routed to the second one.
7
8 Although bandwidth of those two connections (1024kb/s + 512 kb/s) are
9 limited and shared with other colleagues, in general I see some good dl
10 speed improvements using tools that can do parallel fetch, that's why I'm
11 trying to make portage act this way.
12
13 Paul:
14
15 I tried your modified FETCHCOMMAND, but without success :(
16
17 My configuration only allows me to run emerge as root (most of the time I
18 use sudo).
19
20 The only thing I get trying to emerge media-libs/libdvbpsi is this log
21 (maybe I can activate a more verbose one, but I don't know how?) :
22
23
24 >>> Emerging (1 of 1) media-libs/libdvbpsi-0.1.6
25 >>> Downloading '
26 http://mirror.ovh.net/gentoo-distfiles/distfiles/libdvbpsi5-0.1.6.tar.bz2'
27 >>> Downloading '
28 http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-0.1.6.tar.bz2'
29 !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting.
30 * Fetch failed for 'media-libs/libdvbpsi-0.1.6', Log file:
31 * '/var/tmp/portage/media-libs/libdvbpsi-0.1.6/temp/build.log'
32
33 >>> Failed to emerge media-libs/libdvbpsi-0.1.6, Log file:
34
35 >>> '/var/tmp/portage/media-libs/libdvbpsi-0.1.6/temp/build.log'
36
37
38 And in the build.log:
39
40 >>> Downloading '
41 http://mirror.ovh.net/gentoo-distfiles/distfiles/libdvbpsi5-0.1.6.tar.bz2'
42 >>> Downloading '
43 http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-0.1.6.tar.bz2'
44 !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting.
45
46
47 Download work great when I type directly:
48
49 puf
50 http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-0.1.6.tar.bz2'
51
52
53 Any help please ?
54
55 2009/12/19 Marcus Wanner <marcusw@×××.net>
56
57 > On 12/18/2009 1:38 PM, Nikos Chantziaras wrote:
58 >
59 >> On 12/18/2009 05:40 PM, Ronan Mainbourg wrote:
60 >>
61 >>> Because my Internet connection is not very fast, I'd like to make
62 >>> portage fetch files using net-misc/puf (wich can dl several chunks of a
63 >>> file at the same time) instead of wget.
64 >>>
65 >> You got it backwards. Downloading more than one chunk at the same time is
66 >> only useful on *fast* connections, not *slow* ones.
67 >>
68 > I hate to say it but he is correct...puf won't do you any good unless the
69 > speed at which to file is being downloaded is less than the maximum speed
70 > for your net connection :(
71 >
72 > Marcus
73 >
74 >
75
76
77 --
78 Ronan Mainbourg
79 ronan.mainbourg@×××××.com

Replies

Subject Author
Re: [gentoo-user] Re: Trying to make portage use "puf" instead of "wget" Xi Shen <davidshen84@××××××××××.com>
Re: [gentoo-user] Re: Trying to make portage use "puf" instead of "wget" Paul Hartman <paul.hartman+gentoo@×××××.com>