You are not logged in.

#1 2004-04-26 18:44:47

sear
Member
Registered: 2004-04-24
Posts: 42

pacman is getting packages very slow

hi there

it is really slow to get packages with pacman for me on my machine. the speed always goes up to 60 then goes down to 0 and then to 30 and then to 0 kb/s etc. etc.

my normal speed is between 70 and 100 kb/s

i have got a 770/100 ADSL in switzerland.

thanks for help!
sear

Offline

#2 2004-04-26 19:45:45

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: pacman is getting packages very slow

Edit /etc/pacman.conf.
In each section, move lines with swiss / german / french / etc addresses to the first places.

Pfüati!


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#3 2004-04-26 21:52:42

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: pacman is getting packages very slow

I live in Sweden and use the Chemnitz mirror, averaging 6,5Mb/s!

That's the fastest downloads I've ever made!!!

Just do what Pink Chick said and you be fine.


arch + gentoo + initng + python = enlisy

Offline

#4 2004-04-26 22:06:44

matias
Member
Registered: 2004-04-11
Posts: 42

Re: pacman is getting packages very slow

Offline

#5 2004-04-27 09:35:56

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: pacman is getting packages very slow

How should wget improve the performance?


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#6 2004-04-27 12:14:06

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: pacman is getting packages very slow

It hacks your provider so that you have more bandwidth, or something like that........

Offline

#7 2004-04-27 13:04:48

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: pacman is getting packages very slow

wget gives pacman a turbo boost

Mr Green tongue


Mr Green

Offline

#8 2004-04-27 14:11:59

matias
Member
Registered: 2004-04-11
Posts: 42

Re: pacman is getting packages very slow

Pink Chick wrote:

How should wget improve the performance?

Don't know, just try it and then tell us.

Offline

#9 2004-04-27 16:22:13

sear
Member
Registered: 2004-04-24
Posts: 42

Re: pacman is getting packages very slow

my pacman didn't work anymore after that.....


/usr/bin/wget: error while loading shared libaries: libssl.so.0.9.7: cannot open

Offline

#10 2004-04-27 16:25:32

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: pacman is getting packages very slow

Have you got wget installed ?

Mr Green


Mr Green

Offline

#11 2004-04-27 18:57:22

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: pacman is getting packages very slow

No, his problem with wget is that he doesn't have the newer version of openssl.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#12 2004-04-28 06:56:17

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: pacman is getting packages very slow

pacman -Suy

Mr Green  smile


Mr Green

Offline

#13 2004-04-28 08:21:00

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: pacman is getting packages very slow

Mr Green wrote:

wget gives pacman a turbo boost

Mr Green tongue

Not at all. It is simply a download manager. It fetches as fast as it can, like pacman does, 2.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#14 2004-04-28 09:25:56

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: pacman is getting packages very slow

Ok. but I just find it quicker for me

Sorry for posting

Mr Green  :cry:


Mr Green

Offline

#15 2004-04-28 12:22:24

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: pacman is getting packages very slow

Ok. I set up my pacman to work with wget with -t 0 and -T 10 options. I'm gonna leave it for at least 2-4 weeks. We'll see which way it works better. That doesn't have to mean faster. My connection is wireless and from time to time it likes to become unstable (like freezing until i do "something" to wake it up - it may be ping to outside server etc.) - I can't do much about it because I'm not in control of antenna and access point and my provider is [censored]..... :-). So the real gain from using wget instead of pacman to download packages may be this timeout option wich in turn also may end up with shorter time of package download. We'll see....

BTW: my pacman is now using wget to download everything including package dbs. I have a lot of repos (turs included) in my pacman.conf and as I can see it reconnects to the ftp server for every db it downloads. This is kind of inefficient because each reconnect takes 5-20 seconds at least. Also using wget to download dbs does not look nice - in this case I would prefer leaving download of dbs to pacman and everthing else to wget.

Offline

#16 2004-04-28 16:51:28

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: pacman is getting packages very slow

Pacman reconnects to download dbs too, last I heard.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#17 2004-05-05 22:02:51

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: pacman is getting packages very slow

Find an rsync server that will supply current & extra, and then either use brute force and mirror them, or mirror the packages you have installed.
Then change pacman.conf to point to your local mirror, and put that line first in the current and extra sections. In general you should find rsync runs at full speed whereas ftp can be very slow.


--(*(cs25x--));

Offline

#18 2004-05-05 23:02:53

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: pacman is getting packages very slow

You should never use ftp off of archlinux.org, it is capped for that reason, so no one uses it.  If you want to use an archlinux ftp server, use ftp.archlinux.org.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#19 2004-05-05 23:22:53

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: pacman is getting packages very slow

I have archlinux.org down near the bottom of my lists, and I refer to the fr, de, it, and ibiblio sites when I complain about speed. It appears to be a protocol problem, rather than being confined to one particular site. Here, in nz every mirror is distant, so I give the list a shake to find a good one.


--(*(cs25x--));

Offline

Board footer

Powered by FluxBB