Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919324

Summary: www-client/chromium does not respect MAKEOPTS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: CONFIRMED ---    
Severity: normal CC: gentoo, ionen, kangie
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 654178    
Attachments: build log (first part)
build log (second part)
emerge --info + ps faux

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