Bug #942

emerge is too slow

Добавил(а) Adrien Duck почти 8 года назад. Обновлено почти 8 года назад.

Статус:New Начата:25.01.2017
Приоритет:Normal Дата выполнения:
Назначена:- Готовность в %:

0%

Категория:Calculate Linux Затраченное время: -
Версия:-
Голоса: 0

Описание

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,63 КБ) Sebastien Chavaux, Чт, 26 янв. 2017, 12:07:02 +0300

debug_nopkg.out (144,06 КБ) Sebastien Chavaux, Чт, 26 янв. 2017, 12:07:02 +0300

История

Обновлено Adrien Duck почти 8 года назад

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 !

Обновлено Mikhail Hiretsky почти 8 года назад

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?

Обновлено Adrien Duck почти 8 года назад

With FEATURES="-getbinpkg" :

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

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

Обновлено Mikhail Hiretsky почти 8 года назад

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

Обновлено Sebastien Chavaux почти 8 года назад

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"

Обновлено Mikhail Hiretsky почти 8 года назад

Please, show output of

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

Обновлено Sebastien Chavaux почти 8 года назад

Mikhail Hiretsky wrote:

Please, show output of
[...]

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

Обновлено Mikhail Hiretsky почти 8 года назад

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

Обновлено Mikhail Hiretsky почти 8 года назад

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

Обновлено Sebastien Chavaux почти 8 года назад

Mikhail Hiretsky wrote:

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

Here are the two files requested as attachments

Обновлено Adrien Duck почти 8 года назад

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

Обновлено Sebastien Chavaux почти 8 года назад

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

Обновлено Mikhail Hiretsky почти 8 года назад

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

Обновлено Adrien Duck почти 8 года назад

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.

Экспортировать в Atom PDF

Спасибо!