Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919324 - www-client/chromium does not respect MAKEOPTS
Summary: www-client/chromium does not respect MAKEOPTS
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: makeopts-ignored
  Show dependency tree
 
Reported: 2023-12-06 10:53 UTC by Agostino Sarubbo
Modified: 2024-05-23 16:38 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (first part) (log1.txt.xz,598.75 KB, application/x-xz)
2023-12-06 12:20 UTC, Agostino Sarubbo
Details
build log (second part) (log2.txt.xz,602.96 KB, application/x-xz)
2023-12-06 12:20 UTC, Agostino Sarubbo
Details
emerge --info + ps faux (ps,312.41 KB, text/plain)
2023-12-06 13:37 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-12-06 10:53:20 UTC
I have a server that have nproc=64.

I'm building chromium with -j60 and I noticed that the load goes a lot over the server capacity like a load of 84 to 110 while, obviously, the server is not doing anything else.

I observer that the load is going around 84 at the compilation line [7988/57663]
I observer that the load is going around 110 at the compilation line [19113/57663]

My guess is that while chromium has a limit of -j60, at some point it launches a subtask (like thirdy party software) that have themself a parallelizzation.

I will attach the compressed log asap
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-06 10:53:37 UTC
`ps faux` when it's misbehaving and emerge --info too please.
Comment 2 Ionen Wolkens gentoo-dev 2023-12-06 10:59:39 UTC
fwiw I seen similar happen on qtwebengine:6 (esp. noticeable with ccache given it speeds through things and accumulate threads), I looked into it a fair deal but I never found the source of it. Pretty sure it's related to nodejs invocations though.
Comment 3 Ionen Wolkens gentoo-dev 2023-12-06 11:03:21 UTC
(In reply to Ionen Wolkens from comment #2)
> fwiw I seen similar happen on qtwebengine:6 (esp. noticeable with ccache
> given it speeds through things and accumulate threads), I looked into it a
> fair deal but I never found the source of it. Pretty sure it's related to
> nodejs invocations though.
(aka, fortunately it's not too bad on ram usage that I've seen so -jX is still good for that -- but cpu usage does shoot up)
Comment 4 Agostino Sarubbo gentoo-dev 2023-12-06 12:20:18 UTC
Created attachment 877657 [details]
build log (first part)

First part of the log (size was too much to get it attached)
Comment 5 Agostino Sarubbo gentoo-dev 2023-12-06 12:20:39 UTC
Created attachment 877658 [details]
build log (second part)

Second part of the log (size was too much to get it attached)
Comment 6 Agostino Sarubbo gentoo-dev 2023-12-06 13:37:54 UTC
Created attachment 877659 [details]
emerge --info + ps faux

ps faux was a bit stripped since there are other unrelated process, so this is 'ps aux | grep "^portage"'
Comment 7 Agostino Sarubbo gentoo-dev 2023-12-06 13:44:23 UTC
(In reply to Agostino Sarubbo from comment #6)
> Created attachment 877659 [details]
> emerge --info + ps faux

Note that it was taken when the load was over 105