Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640684 - www-client/chromium: complication slowdown
Summary: www-client/chromium: complication slowdown
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-11 14:04 UTC by Alex Efros
Modified: 2018-06-20 20:37 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2017-12-11 14:04:09 UTC
I'm not sure is this a bug or is this can be fixed by gentoo devs, but overall situation is very sad: in last years `emerge chromium` has slowed down in 10 times!

# qlop -g chromium
chromium: Tue Oct 16 02:51:54 2012: 1112 seconds
chromium: Wed Nov  7 19:16:21 2012: 1438 seconds
chromium: Sat Nov 10 09:46:35 2012: 1176 seconds
chromium: Tue Nov 27 21:45:05 2012: 1170 seconds
chromium: Sat Dec  1 14:13:41 2012: 1173 seconds
chromium: Wed Dec 19 14:23:07 2012: 1229 seconds
chromium: Tue Jan 22 18:16:40 2013: 1965 seconds
chromium: Thu Jan 24 06:12:31 2013: 1364 seconds
chromium: Tue Mar 12 19:11:03 2013: 1393 seconds
chromium: Mon Mar 25 21:35:47 2013: 1479 seconds
chromium: Sat Apr  6 10:02:37 2013: 1546 seconds
chromium: Sun May 12 21:06:23 2013: 1500 seconds
chromium: Sat May 25 20:19:29 2013: 1680 seconds
chromium: Sun Jun 30 02:37:49 2013: 1644 seconds
chromium: Sun Jul 21 02:09:20 2013: 1598 seconds
chromium: Wed Jul 31 17:41:55 2013: 1496 seconds
chromium: Thu Aug  1 16:26:24 2013: 1431 seconds
chromium: Wed Aug 28 11:38:15 2013: 1477 seconds
chromium: Fri Sep  6 03:12:05 2013: 1506 seconds
chromium: Wed Oct  2 19:31:43 2013: 1381 seconds
chromium: Thu Oct 17 20:08:59 2013: 1376 seconds
chromium: Sat Nov  2 06:41:19 2013: 1414 seconds
chromium: Wed Nov 13 13:10:38 2013: 1494 seconds
chromium: Sun Nov 17 03:40:05 2013: 1468 seconds
chromium: Tue Dec  3 10:05:48 2013: 1506 seconds
chromium: Sat Dec  7 11:40:32 2013: 1525 seconds
chromium: Sun Jan  5 11:20:26 2014: 1490 seconds
chromium: Fri Jan 17 14:13:29 2014: 2040 seconds
chromium: Fri Jan 31 23:42:36 2014: 1877 seconds
chromium: Fri Mar 21 09:15:06 2014: 1798 seconds
chromium: Thu Apr 10 16:37:31 2014: 1857 seconds
chromium: Sun Apr 27 01:43:48 2014: 1862 seconds
chromium: Fri May 16 20:22:08 2014: 1945 seconds
chromium: Sat May 24 07:50:32 2014: 1985 seconds
chromium: Mon May 26 03:48:28 2014: 2256 seconds
chromium: Fri Jun 13 21:38:38 2014: 1965 seconds
chromium: Sun Jul 20 01:54:39 2014: 2015 seconds
chromium: Fri Aug 15 20:43:28 2014: 2736 seconds
chromium: Fri Sep 12 11:42:15 2014: 2852 seconds
chromium: Fri Oct 10 09:11:04 2014: 2844 seconds
chromium: Sun Oct 26 01:45:09 2014: 3201 seconds
chromium: Sat Nov 15 16:47:00 2014: 3255 seconds
chromium: Sat Nov 22 16:45:03 2014: 3482 seconds
chromium: Sat Dec  6 22:36:55 2014: 3263 seconds
chromium: Sat Jan 24 09:03:36 2015: 3733 seconds
chromium: Sun Feb  8 09:29:46 2015: 3756 seconds
chromium: Mon Feb  9 02:36:30 2015: 3408 seconds
chromium: Mon Feb  9 12:47:42 2015: 3396 seconds
chromium: Wed Feb 11 05:54:30 2015: 3464 seconds
chromium: Tue Feb 17 00:18:55 2015: 3439 seconds
chromium: Fri Mar  6 01:52:05 2015: 3555 seconds
chromium: Tue Apr  7 21:00:03 2015: 3922 seconds
chromium: Fri Apr 17 15:14:05 2015: 3738 seconds
chromium: Sat May  9 14:00:10 2015: 3658 seconds
chromium: Thu May 21 01:29:23 2015: 3901 seconds
chromium: Thu May 28 08:59:22 2015: 3796 seconds
chromium: Thu Jun 25 10:36:21 2015: 4042 seconds
chromium: Sat Jul 25 00:18:01 2015: 4113 seconds
chromium: Sat Sep  5 11:16:21 2015: 4202 seconds
chromium: Sun Sep 27 03:49:39 2015: 4240 seconds
chromium: Sat Oct 10 08:17:39 2015: 4844 seconds
chromium: Sat Oct 17 21:18:43 2015: 4710 seconds
chromium: Fri Nov 13 08:06:48 2015: 5139 seconds
chromium: Fri Dec  4 04:29:53 2015: 5002 seconds
chromium: Sat Dec 12 09:03:11 2015: 4560 seconds
chromium: Sat Dec 19 00:22:20 2015: 4680 seconds
chromium: Sun Jan 24 16:03:21 2016: 5236 seconds
chromium: Fri Feb 19 01:55:35 2016: 4875 seconds
chromium: Sat Feb 27 04:46:41 2016: 4962 seconds
chromium: Sat Mar  5 12:32:53 2016: 5245 seconds
chromium: Fri Mar 11 17:34:01 2016: 4966 seconds
chromium: Sat Mar 26 12:25:26 2016: 5224 seconds
chromium: Tue Apr 19 01:58:43 2016: 5249 seconds
chromium: Wed May  4 06:12:32 2016: 5810 seconds
chromium: Thu May 19 14:53:34 2016: 5928 seconds
chromium: Mon May 23 22:51:23 2016: 5603 seconds
chromium: Fri Jun  3 00:16:02 2016: 6119 seconds
chromium: Mon Jun 27 03:30:24 2016: 6096 seconds
chromium: Sun Jul 24 12:47:46 2016: 7128 seconds
chromium: Mon Aug  8 19:44:18 2016: 7139 seconds
chromium: Tue Sep  6 06:55:26 2016: 7199 seconds
chromium: Wed Sep 21 03:19:53 2016: 7662 seconds
chromium: Thu Oct  6 03:18:40 2016: 7309 seconds
chromium: Fri Oct 14 23:41:35 2016: 8516 seconds
chromium: Mon Nov 14 13:01:18 2016: 8698 seconds
chromium: Sat Dec  3 16:36:45 2016: 9171 seconds
chromium: Mon Jan 16 15:13:50 2017: 8093 seconds
chromium: Thu Jan 26 20:23:53 2017: 8160 seconds
chromium: Sat Jan 28 00:25:56 2017: 8935 seconds
chromium: Thu Feb  2 03:48:44 2017: 9075 seconds
chromium: Tue Feb 28 07:20:04 2017: 8614 seconds
chromium: Mon Mar 13 23:19:15 2017: 8417 seconds
chromium: Mon Apr  3 03:07:32 2017: 8493 seconds
chromium: Wed Apr 19 03:38:16 2017: 7772 seconds
chromium: Mon Apr 24 12:35:06 2017: 8062 seconds
chromium: Tue May 30 20:33:37 2017: 8398 seconds
chromium: Tue Jun 13 16:39:12 2017: 8715 seconds
chromium: Fri Jun 23 18:41:30 2017: 8537 seconds
chromium: Thu Aug  3 15:55:29 2017: 10198 seconds
chromium: Sat Sep  9 09:23:36 2017: 10732 seconds
chromium: Thu Sep 28 16:32:57 2017: 10834 seconds
chromium: Sat Oct 21 15:03:01 2017: 11802 seconds
chromium: Sat Nov  4 15:38:44 2017: 11884 seconds
chromium: Fri Nov 10 18:52:04 2017: 11477 seconds
chromium: Wed Nov 22 11:51:49 2017: 13746 seconds
chromium: Sun Dec  3 18:10:27 2017: 13362 seconds
chromium: Mon Dec 11 11:13:38 2017: 14076 seconds
chromium: 107 times

I've fast enough system (i7-2600K overclocked at 4.5GHz), but use -j4 instead of usual -j8 to keep whole system responsive while compiling chromium. If this situation can be improved in some way - probably we should try to do this. I dislike -bin packages because of hardened system, but chromium doesn't even have -bin variant. :(
Comment 1 Mike Gilbert gentoo-dev 2017-12-12 17:50:12 UTC
I feel you; I have seen chromium go from 20 minutes up to 5 hours on my 6 core AMD chip. There's really not much we can do since the developers keep piling on code.

If you want a pre-compiled version of chromium, I suggest www-client/google-chrome, which I also update regularly and use on a daily basis.
Comment 2 Alex Efros 2017-12-12 20:41:42 UTC
(In reply to Mike Gilbert from comment #1)
> If you want a pre-compiled version of chromium, I suggest
> www-client/google-chrome, which I also update regularly and use on a daily
> basis.

I believe google-chrome isn't the same as chromium - chromium should have much less unconditional google-tracking inside - this is the reason I prefer chromium.
Comment 3 Alex Efros 2018-06-20 19:31:28 UTC
This crazy trend continues, now chromium compiles 3x slower than 1 year ago and 20x slower than firefox today.

I've read chromium developers/testers say they build it on Windows machines (powerful ones, 32+ cores and a lot of RAM) in a minutes! I just can't believe it's normal to compile it that long on Gentoo. Maybe there are some gcc options should be tuned to speed up it, or we should use different compiler, or enforce using ccache or something.

I'm about to give up on using chromium at all. And in any case I'm not going to move to google-chrome, too much google-tracking inside.

Another reason which makes me thing there is something wrong in ebuild itself - I've played with MAKEOPTS=-j8 - changes between -j4 and -j8 result in visible change of average CPU load from 100% to 50%, but makes no more than 5-10% difference in build speed. How is this possible?
Comment 4 Mike Gilbert gentoo-dev 2018-06-20 20:37:25 UTC
Chromium developers generally do incremental builds -- they rarely build all files more than once. This is not something we can do in an ebuild.