View previous topic :: View next topic |
Author |
Message |
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2390
|
Posted: Tue Oct 15, 2024 11:00 am Post subject: |
|
|
Chiitoo wrote: | Zucca wrote: | Code: | 2024-10-14T12:47:02 >>> dev-qt/qtwebengine: 9:19:17 | on Code: | Intel(R) Core(TM) i5-7600T (4) @ 3.70 GHz | with 32GiB of RAM.
Holy compilation marathon, Batman!
I knew qtwebengine was big, but that big? Although I had USE=-jumbo-build.
Has anyone measured how much jumbo-build reduces the compilation time? In percents? |
It's been a while since I actually tried, but I would still guess it should be about 50% of the time with 'jumbo-build' disabled (assuming the increased memory-use will not be a problem). |
Back in the days of jumboo-enabled chromium builds it was something like 7 hours compared to more than 35 hours for my poor old E6200 - dual core dual thread processor with 6 GB of RAM.
Chiitoo wrote: | Zucca wrote: | Also I always thought it was based on webkit and not the chromium (blink) fork.
|
There was Qt Webkit [1], which kind of fell into slumber, and eventually lost its outside-Qt maintainers as well.
1. https://code.qt.io/cgit/qt/qtwebkit.git/ |
Chromium was initially based on webkit but that was more than a decade ago. That's why it was fast and compiled quickly. Then I abandoned Linux for a while and I don't know when it dropped the webkit part and became the monster that it now is.
Webkit itself was an internal Apple project that I think Safari was based on. It may still be.
p.s. I just checked because I remember something about KDE. Webkit is a fork of KHTML.
Best Regards,
Georgi |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3685 Location: Rasi, Finland
|
Posted: Tue Oct 15, 2024 5:35 pm Post subject: |
|
|
eschwartz wrote: | Counterpoint: -O0 disables optimizations that lead to smaller code size, which means that the linker needs to do more work to link it all. | Ah. I didn't think that... Good (counter)point. ;)
Anyways... webkit-gtk seems quite lighter to compile: Code: | 2024-10-15T03:44:16 >>> net-libs/webkit-gtk: 5:38:39 | .
I might as well now rebuild both with USE=jumbo-build... Let's gather some statistics. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3685 Location: Rasi, Finland
|
Posted: Wed Oct 16, 2024 6:08 am Post subject: |
|
|
USE=jumbo-build: | M710q ~ # qlop
2024-10-15T22:49:10 >>> net-libs/webkit-gtk: 1:51:00
2024-10-16T00:40:10 >>> dev-qt/qtwebengine: 4:57:55 |
As expected. Webkit-gtk compiles quite a lot faster with jumbo-build. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
tckosvic Tux's lil' helper
Joined: 18 Apr 2023 Posts: 138
|
Posted: Mon Oct 21, 2024 12:42 pm Post subject: |
|
|
I just did an emerge update and emerge compiled two different versions of qtwebengine in one emerge task. These were 5.15.14 and 6.7.3. This took about a day and a half on a reasonably fast i7 chip with 6 cpus dedicated to the task.
I am not sure how this could occur. Anyone with any insights? |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2390
|
Posted: Mon Oct 21, 2024 1:18 pm Post subject: |
|
|
tckosvic wrote: | I just did an emerge update and emerge compiled two different versions of qtwebengine in one emerge task. These were 5.15.14 and 6.7.3. This took about a day and a half on a reasonably fast i7 chip with 6 cpus dedicated to the task.
I am not sure how this could occur. Anyone with any insights? |
When two versions can coexist, they are given slots, so that applications requiring different versions can still coexist together. You emerged two different slots. Whether you have applications that necessitated it or you just had qtwebengine in world and portage found the update.
Best Regards,
Georgi |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3685 Location: Rasi, Finland
|
Posted: Tue Nov 05, 2024 10:14 am Post subject: |
|
|
I needed to compile qtwebengine on my main laptop.
With AMD Ryzen 5 3500U and non expandable 8GiB of RAM from which 6.7GiB is available (the missing is used by iGPU). So I chose to go with USE="-jumbo-build".
Although the CPU has 4 cores and 8 threads I normally let portage use 4 per build process so that I can still use the laptop while updates are being built. Also if I was to set jobs any higher I think I'd run out of memory.
Because of the lack of memory, I also used the NVMe SSD disk space for PORTAGE_TMPDIR since the temp files for qtwebengine take a little over 6GiB at worst.
Lastly, I use a daemon which downclocks the CPU so that the fan doesn't make too much noise.
And... Code: | NBLK-WAX9X ~ # qlop qtwebengine
2024-11-04T02:57:11 >>> dev-qt/qtwebengine: 28:01:00 | ... Yeah. I understand why some people like to use binary packages.
Yes. I did quickpkg'd that after the compilation.
I think I could only speed up the compilation by letting CPU clock as high as possible.
My rough guess would be that the compilation would then take 16-18 hours.
I think I'll set the minimum RAM requirement for my future systems to 16GiB. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2390
|
|
Back to top |
|
|
|