Bug #942

emerge is too slow

Added by Adrien Duck almost 8 years ago. Updated almost 8 years ago.

Status:New Start:01/25/2017
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Calculate Linux Spent time: -
Target version:-
Votes: 0

Description

Hi Team Calculate

On Calculate MATE, on HDD with 2Go RAM CPU Quad Core 2GHz:

time emerge -pv vlc

real    1m29.395s
user    0m50.782s
sys     0m1.359s

For an update :

 time emerge -pvUDN --with-bdeps=y @world

real    0m37.917s
user    0m37.470s
sys     0m0.444s

On CLD, on HDD with 4Go RAM CPU Quad Core 2,3GHz:

time emerge -pv vlc

real    0m4.870s
user    0m4.755s
sys     0m0.112s

For an update :

 time emerge -pvUDN --with-bdeps=y @world

real    4m27.318s
user    3m50.672s
sys     0m4.617s

Is it possible to accelerate emerge?

Thanks !

debug.out (149.6 KB) Sebastien Chavaux, 01/26/2017 12:07 pm

debug_nopkg.out (144.1 KB) Sebastien Chavaux, 01/26/2017 12:07 pm

History

Updated by Adrien Duck almost 8 years ago

oops, wrong informations in main bug (copy paste :()
I can't edit the main bug to correct commands...

On Gentoo MATE, on HDD with 2Go RAM CPU Quad Core 2GHz:

time emerge -pv vlc
real    0m4.870s
user    0m4.755s
sys     0m0.112s

 time emerge -pvUDN --with-bdeps=y @world
real    0m37.917s
user    0m37.470s
sys     0m0.444s

On CLD, on HDD with 4Go RAM CPU Quad Core 2,3GHz:

time emerge -pv vlc
real    1m29.395s
user    0m50.782s
sys     0m1.359s

 time emerge -pvUDN --with-bdeps=y @world
real    4m27.318s
user    3m50.672s
sys     0m4.617s

Is it possible to accelerate emerge?
Thanks !

Updated by Mikhail Hiretsky almost 8 years ago

How much time will run

time FEATURES=-getbinpkg emerge -pv vlc

How many packages installed in Gentoo MATE and CLD?

What is model of HDD use for Mate and CLD?

Updated by Adrien Duck almost 8 years ago

With FEATURES="-getbinpkg" :

real    0m14.675s
user    0m14.363s
sys     0m0.256s

On CL : Found 1549 matches
On Gentoo MATE : Found 1137 matches

Updated by Mikhail Hiretsky almost 8 years ago

What PORTAGE_BINHOST do you use? (/etc/portage/make.conf/binhost)

Updated by Sebastien Chavaux almost 8 years ago

Mikhail Hiretsky wrote:

What PORTAGE_BINHOST do you use? (/etc/portage/make.conf/binhost)

Hello,On my cld it is PORTAGE_BINHOST="http://miroir.linuxtricks.fr/calculate/grp/x86_64"

Updated by Mikhail Hiretsky almost 8 years ago

Please, show output of

cl-update --sync-only --scan
wgetpaste /var/log/calculate/binhost-scan.log

Updated by Sebastien Chavaux almost 8 years ago

Mikhail Hiretsky wrote:

Please, show output of
[...]

Here is: http://pastebin.calculate-linux.org/en/show/13740

Updated by Mikhail Hiretsky almost 8 years ago

Please attach debug.out, debug_nopkg.out of

emerge -pv --debug vlc &>/tmp/debug.out
FEATURES="-getbinpkg" emerge -pv --debug vlc &>/tmp/debug_nopkg.out

Updated by Mikhail Hiretsky almost 8 years ago

How much time passed from starting the program to output message "Calculating dependencies"?

Updated by Sebastien Chavaux almost 8 years ago

Mikhail Hiretsky wrote:

Please attach debug.out, debug_nopkg.out of
[...]

Here are the two files requested as attachments

Updated by Adrien Duck almost 8 years ago

Mikhail Hiretsky wrote:

How much time passed from starting the program to output message "Calculating dependencies"?

real 0m25.579s
user 0m25.013s
sys 0m0.180s

Updated by Sebastien Chavaux almost 8 years ago

Adrien Daugabel wrote:

Mikhail Hiretsky wrote:

How much time passed from starting the program to output message "Calculating dependencies"?

real 0m25.579s
user 0m25.013s
sys 0m0.180s

On my machine, it gives:
Real 0m49.632s
User 0m49.092s
Sys 0m0.370s

Updated by Mikhail Hiretsky almost 8 years ago

In portage there is a problem with http binhost.

Try to use ftp binhost (write in /var/lib/calculate/calculate.env):

[update]
cl_update_binhost_list = ftp://mirror.yandex.ru/calculate

And re-scan cl-update --scan -s. After this try running the command twice:

time emerge -pv

Updated by Adrien Duck almost 8 years ago

With HTTP mirror (emerge -pv vlc)

real 0m11.205s
user 0m11.028s
sys 0m0.169s

With FTP mirror :
real 0m14.031s
user 0m11.134s
sys 0m0.178s

3 days ago, with http mirror, before These are the packages that would be merged, in order message, we waited 30 seconds. Not today.

Also available in: Atom PDF

Thank you!