You are not logged in.

#1 2008-03-26 03:39:01

LTSmash
Member
From: Aguascalientes - Mexico
Registered: 2008-01-02
Posts: 348
Website

[SOLVED] Sluggish database update times since new Arch install

Hi guys, this time I write to ask something about pacman that i find unusual.

Happens that I decided to reinstall my Arch like 2 months ago, and since then pacman takes a real longer time that it used to just to sync the databases, to be more accurate this sluggishness presents not when the progress bar is downloading the new DB, but between DB downloads (e.g. it takes about minute from the time it finishes downloading the core DB to when it starts to download the extra DB.)...

Any ideas?

Thanks for the support.

Last edited by LTSmash (2008-03-27 03:08:53)


Proud Ex-Arch user.
Still an ArchLinux lover though.

Currently on Kubuntu 9.10

Offline

#2 2008-03-26 04:47:50

imagelife
Member
From: China
Registered: 2008-01-10
Posts: 49

Re: [SOLVED] Sluggish database update times since new Arch install

maybe the mirror is slowly!
yeah?


just want to tell you!…………

Offline

#3 2008-03-26 22:00:20

LTSmash
Member
From: Aguascalientes - Mexico
Registered: 2008-01-02
Posts: 348
Website

Re: [SOLVED] Sluggish database update times since new Arch install

imagelife wrote:

maybe the mirror is slowly!
yeah?

Not really, because when it downloads anything it does that at full speed, and I have tried many mirrors but no luck, same sluggishness.

i have already optimized de pacman DB.


Proud Ex-Arch user.
Still an ArchLinux lover though.

Currently on Kubuntu 9.10

Offline

#4 2008-03-27 01:14:30

ibendiben
Member
Registered: 2007-10-10
Posts: 519
Website

Re: [SOLVED] Sluggish database update times since new Arch install

Try using rankmirrors to set up a good number of the fastest mirrors for your location, for me this changes everything!
I live in europe so I first delete every other mirror in /etc/pacman.d/mirrorlist, then I enable all leftover mirrors and run:

rankmirrors -n10 /etc/pacman.d/mirrorlist #-n10 to only output the 10 best, change this number to your likings

for several times and replace the resulting 'overall top-listed mirrors' list in /etc/pacman.d/mirrorlist

Hope this does the trick for you too!

ps. You need python to use rankmirrors, I recommend you read the rankmirror man-page for further options

Offline

#5 2008-03-27 01:18:02

ibendiben
Member
Registered: 2007-10-10
Posts: 519
Website

Re: [SOLVED] Sluggish database update times since new Arch install

Also, do you happen to use a different filesystem? (like riserfs, xfs, jfs)

Offline

#6 2008-03-27 02:54:59

LTSmash
Member
From: Aguascalientes - Mexico
Registered: 2008-01-02
Posts: 348
Website

Re: [SOLVED] Sluggish database update times since new Arch install

ibendiben wrote:

Try using rankmirrors to set up a good number of the fastest mirrors for your location, for me this changes everything!
I live in europe so I first delete every other mirror in /etc/pacman.d/mirrorlist, then I enable all leftover mirrors and run:

rankmirrors -n10 /etc/pacman.d/mirrorlist #-n10 to only output the 10 best, change this number to your likings

for several times and replace the resulting 'overall top-listed mirrors' list in /etc/pacman.d/mirrorlist

Hope this does the trick for you too!

ps. You need python to use rankmirrors, I recommend you read the rankmirror man-page for further options

Ok, let me try...

Also, do you happen to use a different filesystem? (like riserfs, xfs, jfs)

Well, yeah, I'm using XFS


Proud Ex-Arch user.
Still an ArchLinux lover though.

Currently on Kubuntu 9.10

Offline

#7 2008-03-27 03:08:35

LTSmash
Member
From: Aguascalientes - Mexico
Registered: 2008-01-02
Posts: 348
Website

Re: [SOLVED] Sluggish database update times since new Arch install

ibendiben wrote:

Try using rankmirrors to set up a good number of the fastest mirrors for your location, for me this changes everything!
I live in europe so I first delete every other mirror in /etc/pacman.d/mirrorlist, then I enable all leftover mirrors and run:

rankmirrors -n10 /etc/pacman.d/mirrorlist #-n10 to only output the 10 best, change this number to your likings

for several times and replace the resulting 'overall top-listed mirrors' list in /etc/pacman.d/mirrorlist

Hope this does the trick for you too!

ps. You need python to use rankmirrors, I recommend you read the rankmirror man-page for further options

Well, it seems to me that this solved the problem. I had uncommented some lines at Czech Republic but live in Mexico, so that was lagging the pacman operations a lot. But now its fast as usual.

Thanks for your help smile


Proud Ex-Arch user.
Still an ArchLinux lover though.

Currently on Kubuntu 9.10

Offline

Board footer

Powered by FluxBB