Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
high i/o and swapping while build some pkg, e.g. qtwebengine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hujuice
Apprentice
Apprentice


Joined: 16 Oct 2007
Posts: 278
Location: Rome, Italy

PostPosted: Fri Mar 15, 2019 10:34 am    Post subject: high i/o and swapping while build some pkg, e.g. qtwebengine Reply with quote

Hello everybody,
I cannot understand why my powerful laptop become almost unable to compile some packages because high, continuous swap reading by the cc1plus process. The RAM is 8Gi and it is not full.

While I'm writing, for example, I'm trying to build dev-qt/qtwebengine. 'top' shows that the CPU is 80% idling and 20% waiting I/O and in fact 'iotop' shows that all the concurrent cc1plus processes have very high disk reading for swapping. 'free' shows that I have 3.9Gi of available RAM.
After waiting a lot (I mean say one hour) the CPU activity restarts as I expected.
A handful of other packages (dev-qt/qtwebkit, sys-devel/clang) have the same issue.

What's happening?

The CPU is a pretty new i7 Coffee Lake (https://ark.intel.com/content/www/us/en/ark/products/134906/intel-core-i7-8750h-processor-9m-cache-up-to-4-10-ghz.html) and -march=native. It is a 12 thread (6 core x 2) CPU and by attempt I'm guessing that reducing MAKEOPTS the problem reduces too.

Hints?

Regards,
HUjuice
_________________
Who hasn't a spine, should have a method.
Chi non ha carattere, deve pur avere un metodo.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22339
Location: here

PostPosted: Fri Mar 15, 2019 10:41 am    Post subject: Reply with quote

Look jumbo-build use flag

https://chromium.googlesource.com/chromium/src/+/HEAD/docs/jumbo.md
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
hujuice
Apprentice
Apprentice


Joined: 16 Oct 2007
Posts: 278
Location: Rome, Italy

PostPosted: Fri Mar 15, 2019 10:49 am    Post subject: Reply with quote

fedeliallalinea wrote:
Look jumbo-build use flag

Well: I use it for chromium and I didn't notice that it is more widely available. I'll try.
Thank you.
HUjuice
_________________
Who hasn't a spine, should have a method.
Chi non ha carattere, deve pur avere un metodo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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