View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3848
|
Posted: Sun Apr 14, 2024 10:38 am Post subject: Slow install phase on some ebuilds. |
|
|
Some ebuilf in install phase are VERY slow.
It so happens swap file is obviously involved in the slow down.
SEEMS like some files to be installed are stored in swap instead of $PORTAGE_TMPDIR, which is on disk.
Couple of minutes lost in the process...
Any thought on the subject?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1720 Location: Germany
|
|
Back to top |
|
|
sublogic Apprentice
Joined: 21 Mar 2022 Posts: 269 Location: Pennsylvania, USA
|
Posted: Sun Apr 14, 2024 10:05 pm Post subject: |
|
|
I would add: run vmstat 1 --unit m in a terminal window to confirm that swap is involved. The si and so columns are swap. bi and bo are disk I/O, but not swap. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3687 Location: Rasi, Finland
|
Posted: Tue Apr 16, 2024 6:00 pm Post subject: Re: Slow install phase on some ebuilds. |
|
|
CaptainBlood wrote: | SEEMS like some files to be installed are stored in swap instead of $PORTAGE_TMPDIR, which is on disk. | Are you using -pipe. Afaik it consumes more ram to avoid temporary files during compilation. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
|