Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HowTo] Velocizzare download in emerge:Axel e mirrorselect
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Thu Jul 01, 2004 7:11 pm    Post subject: Reply with quote

ok grazie il problema era quello :D
cmq ora ho lo stesso problema di un utente di qualche post sopra, dopo un po' si blocca....bah...
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Thu Jul 01, 2004 7:56 pm    Post subject: Reply with quote

si blocca come? che connessione hai?
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Thu Jul 01, 2004 9:11 pm    Post subject: Reply with quote

FonderiaDigitale wrote:
si blocca come? che connessione hai?

dal mio pc nn ho connessione diretta, ma mi collego ad un pc che ha l'adsl 640 di alice...
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Thu Jul 01, 2004 9:31 pm    Post subject: Reply with quote

il file di configurazione e la riga in make.conf?
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Thu Jul 01, 2004 9:32 pm    Post subject: Reply with quote

ho praticamene copia-incollato dal tuo how to....
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Thu Jul 01, 2004 9:51 pm    Post subject: Reply with quote

vedi uno dei post precedenti. devi diminuire i thread concorrenti e i timeout.
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
unz
l33t
l33t


Joined: 28 Jul 2004
Posts: 819
Location: Roma, Italia

PostPosted: Fri Aug 06, 2004 2:15 pm    Post subject: Reply with quote

un sentito grazie a MrFonderia ;)

ma che tu sappia, si può forzare axel ad usare subito il primo ftp che trova se questo garantisce una banda superiore a tot kb/s ... a volte ci si mette di più a testare i servers che a scaricare il pacchetto
_________________
Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Fri Aug 06, 2004 2:47 pm    Post subject: Reply with quote

infatti come ho scritto axel e' piu' indicato per grossi merge che per piccoli pacchetti.
ma questo non dipende da axel, ma dalla rete.

in ogni caso, devi giocare con /etc/axelrc o con i parametri che gli passi via make.conf per trovare la combinazione migliore per la tua rete e il tuo utilizzo di portage.
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
tuxer
Guru
Guru


Joined: 10 May 2004
Posts: 328

PostPosted: Tue Sep 07, 2004 8:21 pm    Post subject: Reply with quote

dunque dunque ho provato questo tip, complimentoni all'autore :D

però mi verrebbe un'idea, visto che i tempi di ricerca sono lunghissimi, troppo lunghi se non si devono scaricare pacchetti grossi, non si potrebbe fare in modo di usare questo tip SOLO quando (natutamente tutto in modo automatico) il pacchetto da scaricare è particolarmente grosso??

mi spiego si potrebbe fare uno scriptino che passa a emerge tutto così come sta, ma prima di far iniziare il download verifica con emerge -f quanto è grosso il pacchetto e decise se commentare o scommentare axel nel make.conf...

che ne dite?
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Tue Sep 07, 2004 9:36 pm    Post subject: Reply with quote

liberissimo di farlo :)
ma non credo che emerge -f sia cosi affidabile (sempre che lo sia affatto) sulla dimensione dei file da scaricare.
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
tuxer
Guru
Guru


Joined: 10 May 2004
Posts: 328

PostPosted: Tue Sep 07, 2004 10:44 pm    Post subject: Reply with quote

per farla in modo semplice potrei creare un alias a emerge del tipo
emerge='script che voglio', ci sono altri metodi migliori?
ma perché emerge -f potrebbe non essere affidabile? negli ebuild non c'è la grandezza giusta dei pacchetti?
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Tue Sep 07, 2004 11:04 pm    Post subject: Reply with quote

se non mi sbaglio, non sempre sono le dimensioni corrette.
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
onofabio
n00b
n00b


Joined: 09 Sep 2004
Posts: 1

PostPosted: Thu Sep 09, 2004 3:20 pm    Post subject: Reply with quote

fabel wrote:
c'è qualcosa che non mi funziona nella mia installazione, capita che il download si blocca dopo la ricerca, ad esempio:

Code:

Calculating system dependencies ...done!
>>> emerge (1 of 4) net-misc/iputils-021109-r3 to /
>>> Downloading ftp://gentoo.inode.at/source/distfiles/iputils-ss021109-try.tar.bz2
Initializing download: ftp://gentoo.inode.at/source/distfiles/iputils-ss021109-try.tar.bz2
Doing search...
Testing speeds, this can take a while...
4 usable servers found, will use these URLs:
URL                                                                    Speed
ftp://gentoo.inode.at/source/distfiles/iputils-ss021109-try.tar.bz2     1295
ftp://ftp.tpnet.pl/d2/ftp.slackware.com/slackware-current/source/n/tcp  1356
ftp://ftp.tpnet.pl/d2/ftp.slackware.com/slackware-9.1/source/n/tcpip/i  1895
ftp://ftp.tpnet.pl/d1/ftp.pld-linux.org/distfiles/by-md5/d/d/dd10ef3d7  3941


e rimane qui indefinitivamente :cry:

le entry in make.conf

Code:

FETCHCOMMAND="/usr/bin/axel -v -S4 -o \${DISTDIR}/\${FILE} \${URI}"
RESUMECOMMAND="/usr/bin/axel -v -S4 -o \${DISTDIR}/\${FILE} \${URI}"


e il file di configurazione riporta:

Code:

reconnect_delay = 15
connection_timeout = 25
search_timeout = 5
search_threads = 3
search_amount = 15
search_top = 4


vi viene in mente da cosa possa dipendere?



anch'io ho lo stesso problema
sei siuscito a capire come risolverlo?
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Thu Sep 09, 2004 8:50 pm    Post subject: Reply with quote

Code:
reconnect_delay = 5
connection_timeout = 5
search_timeout = 5
search_threads = 1
search_amount = 5
search_top = 4


prova questo
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
tassoman
n00b
n00b


Joined: 28 Oct 2004
Posts: 14

PostPosted: Thu Oct 28, 2004 11:03 pm    Post subject: Reply with quote

A me, con la lista consigliata, non trova mysql 4.0.21 da 8 mirrors!
Dovrei allungare la lista dei mirror da contattare?
ma soprattutto si può mettere padova di default, e se non ce l'hanno lì, cerca altrove?


....
Il bello è che riconfigurando com'era prima, senza axel, scarica tranquillamente...!!!

:oops: :oops: :oops:
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Thu Oct 28, 2004 11:24 pm    Post subject: Reply with quote

se leggi tutto il thread avrai avuto modo di capire che axel e' comodo per i file grossi.
bisognerebbe creare un wrapper che faccia da discriminante tra le dimensioni dei pacchetti da scaricare di modo tale da usare il tool giusto.
comunque sia, il mirror specificato in make.conf costituisce per portage una scelta preferenziale, se il file non viene trovato dentro quel repository, salta a un altro mirror gentoo, e cosi via, passando al sito madre in ultima istanza (se specificato nell'ebuild dall'autore, chiaramente).
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
kki
n00b
n00b


Joined: 21 Nov 2003
Posts: 10

PostPosted: Tue Nov 16, 2004 9:35 pm    Post subject: Reply with quote

Io invece ottengo liste di questi errori uno per ogni mirror provato !
lo sto usando in colinux (www.colinux.org)
idee ?

Code:
>>> Downloading http://easynews.dl.sourceforge.net/sourceforge/ctags/ctags-5.5.4
.tar.gz
[ctags-5.5.4] bash: line 1: /usr/portage/distfiles: syntax error: operand expect
ed (error token is "/usr/portage/distfiles")
!!! Couldn't download ctags-5.5.4.tar.gz. Aborting.
Back to top
View user's profile Send private message
socrat3
n00b
n00b


Joined: 10 Jul 2004
Posts: 38

PostPosted: Wed Nov 17, 2004 3:00 am    Post subject: Reply with quote

Ma non supporta il resume.

stavo scaricando apache e' caduta la mia adsl e ora ho un errore.

ecco l'errore:

emerge apache
Calculating dependencies ...done!
>>> emerge (1 of 1) net-www/apache-2.0.52-r1 to /
>>> Resuming download...
>>> Downloading http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/distfiles/httpd-2.0.52.tar.gz
Initializing download: http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/distfiles/httpd-2.0.52.tar.gz
Doing search...
Testing speeds, this can take a while...
7 usable servers found, will use these URLs:
URL Speed
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/distfil 328
ftp://ftp.uni-mannheim.de/WWW/apache/mirrors/dev.apache.org/dist/httpd 1247
ftp://ftp.tpnet.pl/d1/apache/httpd/httpd-2.0.52.tar.gz 1261
ftp://ftp.cronyx.ru/.2/mirror/apache.org/dist/httpd/httpd-2.0.52.tar.g 1549

File size: 6918995 bytes
No state file, cannot resume!
>>> Resuming download...
>>> Downloading http://gentoo.mirror.sdv.fr/distfiles/httpd-2.0.52.tar.gz
Initializing download: http://gentoo.mirror.sdv.fr/distfiles/httpd-2.0.52.tar.gzDoing search...
File not found
>>> Resuming download...
>>> Downloading http://ftp.easynet.nl/mirror/gentoo/distfiles/httpd-2.0.52.tar.gz
Initializing download: http://ftp.easynet.nl/mirror/gentoo/distfiles/httpd-2.0.52.tar.gz
Doing search...
File not found
>>> Resuming download...
>>> Downloading http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/distfiles/httpd-2.0.52.tar.gz
Initializing download: http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/distfiles/httpd-2.0.52.tar.gz
Doing search...
File not found
>>> Resuming download...
>>> Downloading http://www.apache.org/dist/httpd/httpd-2.0.52.tar.gz
Initializing download: http://www.apache.org/dist/httpd/httpd-2.0.52.tar.gz
Doing search...
Testing speeds, this can take a while...
7 usable servers found, will use these URLs:
URL Speed
http://www.apache.org/dist/httpd/httpd-2.0.52.tar.gz 563
ftp://ftp.uni-mannheim.de/WWW/apache/mirrors/dev.apache.org/dist/httpd 1250
ftp://ftp.tpnet.pl/d1/apache/httpd/httpd-2.0.52.tar.gz 1281
ftp://ftp.cronyx.ru/.2/mirror/apache.org/dist/httpd/httpd-2.0.52.tar.g 1558

File size: 6918995 bytes
No state file, cannot resume!
!!! Couldn't download httpd-2.0.52.tar.gz. Aborting.
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Thu Nov 18, 2004 9:57 am    Post subject: Reply with quote

Ho notato che ultimamente sui mirrors di padova ed i principali indicati da mirrorselect non si trova molto, il problema che abbiamo con axel potrebbe essere dovuto anche a quello. Ho indicato in make.conf un mirror americano e ora scarica. Succede solo a me?
_________________
Linux user#370732
Back to top
View user's profile Send private message
merlinux
n00b
n00b


Joined: 12 Apr 2005
Posts: 46

PostPosted: Tue Nov 08, 2005 12:54 pm    Post subject: Reply with quote

Ciao a tutti!
Innanzitutto complimenti a FonderiaDigitale per il post!
Ho provato (e sto provando!) Axel e devo dire che e' veramente veloce , ma mi chiedevo se potesse fare la ricerca anche attraverso altri siti oltre a filesearching.com (ad esempio google).
Infatti l'unico neo che ho trovato io e' che non trova mai piu' di un server usabile per il download.
L'ultima verifica l'ho fatta scaricando la versione dvd di knoppix (scaricamento ancora in atto) :

risultato di filesearching.com:

1 1017.4M ftp.nsp.ac.ru/.0/linuxcenter/KNOPPIX_4.0.2/KNOPPIX_V4.0.2DVD-2005-09-23-EN.iso
2 1017.4M netserv3.chg.ru/.0/linuxcenter/KNOPPIX_4.0.2/KNOPPIX_V4.0.2DVD-2005-09-23-EN.iso

risultato di axel:

merlinux@bucefalo /storage/Axel $ axel -a -S4 ftp://ftp.uni-kl.de/pub/linux/knoppix/DVD/KNOPPIX_V4.0.2DVD-2005-09-23-EN.iso
Initializing download: ftp://ftp.uni-kl.de/pub/linux/knoppix/DVD/KNOPPIX_V4.0.2DVD-2005-09-23-EN.iso
Doing search...
Testing speeds, this can take a while...
1 usable servers found, will use these URLs:
URL Speed
ftp://ftp.uni-kl.de/pub/linux/knoppix/DVD/KNOPPIX_V4.0.2DVD-2005-09-23 207391


....e' probabile che abbia toppato qualcosa io??
Ho "giocato" un po' con l'axelrc e questo e' quello che sto usando adesso:

reconnect_delay = 5
# max_speed = 0
num_connections = 5
connection_timeout = 6
# http_proxy =
# no_proxy =
# strip_cgi_parameters = 1
# default_filename = default
# save_state_interval = 10
# verbose = 1
search_timeout = 5
search_threads = 3
search_amount = 20
search_top = 6

Qualche idea??
Ad ogni modo sono soddisfatto lo stesso .... "Downloaded 683.3 megabytes in 1:37:08 seconds. (120.05 KB/s)"... con un collegamento teorico di 4Mbit ed altri 3 computer che stavano scaricando nello stesso momento! :-))

Grazie!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum