Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Make Options and Load average.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
hal8000
n00b
n00b


Joined: 27 Mar 2025
Posts: 18

PostPosted: Sat May 31, 2025 9:29 pm    Post subject: Make Options and Load average. Reply with quote

I'm using an Acer A515-57 laptop. Processor is i5-12450H and 16G DDR4.

Ive experimented with MAKEOPTS in /etc/portage/make.conf and emerging app-misc/mc
With Make set to 8 jobs and a load average of 9, mc compiles in:

real 0m44.099s
user 1m13.009s
sys 0m19.499s


With make set to -j8 and -l3 I get a faster compile time of

Code:
time emerge --ask app-misc/mc


real 0m49.376s
user 0m55.429s
sys 0m15.577s


I don't know if this a good or bad result for this hardware, but I have conky running on my desktop, and it never uses more
than 2G RAM when mc is emerged.

Below is my /etc/portage/make.conf

Quote:

cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=alderlake -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
RUSTFLAGS="${RUSTFLAGS} -C target-cpu=alderlake"

MAKEOPTS="-j8 -l3"

# CPU FLAGS
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3 vpclmulqdq"

#NOTE: This stage was built with the bindist USE flag enabled
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8

GENTOO_MIRRORS="https://www.mirrorservice.org/sites/distfiles.gentoo.org/"
# accept license
ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"

# Append getbinpkg
FEATURES="${FEATURES} getbinpkg"

# USE flags
USE="X -kde udev ffmpeg systemd zlib zstd pipewire pulseaudio modules-sign dist-kernel"

#USE="modules-sign"
#USE="dist-kernel"


Thanks in advance for any suggestions, modifications or improovements.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5770
Location: Bavaria

PostPosted: Sat May 31, 2025 10:29 pm    Post subject: Re: Make Options and Load average. Reply with quote

hal8000 wrote:
With Make set to 8 jobs and a load average of 9, mc compiles in:

real 0m44.099s

With make set to -j8 and -l3 I get a faster compile time of

real 0m49.376s

Hmm ... 44 seconds is less than 49 sec. ... so, this is expected and correct (dont count/add the other values; you dont need them)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



OSZAR »