Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513462 - www-apps/owncloud-6.0.x - src_install() is slow
Summary: www-apps/owncloud-6.0.x - src_install() is slow
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-16 11:08 UTC by Frank Krömmelbein
Modified: 2014-06-16 16:27 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info-owncloud,6.15 KB, text/plain)
2014-06-16 11:09 UTC, Frank Krömmelbein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2014-06-16 11:08:59 UTC
It takes disproportionately long to install www-apps/owncloud-6.0.x:
Problem occurs right after this portage message: 

>>> Install owncloud-6.0.3 into /var/tmp/portage/www-apps/owncloud-6.0.3/image/ category www-apps

With top on a different console, i could see nearly no CPU usage during this "break", sometimes a small peak of python. This happens on a fast System with SSD. But only for owncloud, other packages seems not to be affected.

www-apps/owncloud-6.0.3 was built with the following:
USE="curl mysql sqlite -postgres -vhosts"

genlop -t owncloud
 * www-apps/owncloud

     Mon Jan 13 00:21:57 2014 >>> www-apps/owncloud-6.0.0a
       merge time: 16 minutes and 12 seconds.

     Mon Jan 13 00:40:38 2014 >>> www-apps/owncloud-6.0.0a
       merge time: 16 minutes and 47 seconds.

     Thu Jan 23 02:38:19 2014 >>> www-apps/owncloud-6.0.1
       merge time: 13 minutes and 35 seconds.

     Tue Mar  4 13:42:42 2014 >>> www-apps/owncloud-6.0.2
       merge time: 22 minutes and 10 seconds.

     Tue Apr 29 18:07:36 2014 >>> www-apps/owncloud-6.0.3
       merge time: 42 minutes.

     Mon Jun 16 12:58:54 2014 >>> www-apps/owncloud-6.0.3
       merge time: 25 minutes and 12 seconds.


time emerge owncloud
real    25m21.954s
user    20m18.129s
sys     4m29.514s


For comparison:
genlop -t kdelibs
 * kde-base/kdelibs

     Sat Jan 11 21:56:25 2014 >>> kde-base/kdelibs-4.11.2-r1
       merge time: 10 minutes and 9 seconds.

     Sat Jan 18 13:53:07 2014 >>> kde-base/kdelibs-4.12.1
       merge time: 10 minutes and 42 seconds.

     Sat Jan 25 23:17:16 2014 >>> kde-base/kdelibs-4.12.1
       merge time: 10 minutes and 25 seconds.

     Fri Feb  7 02:24:27 2014 >>> kde-base/kdelibs-4.12.2
       merge time: 9 minutes and 59 seconds.

     Wed Mar  5 09:05:57 2014 >>> kde-base/kdelibs-4.12.3
       merge time: 10 minutes and 29 seconds.

     Wed Mar  5 15:03:56 2014 >>> kde-base/kdelibs-4.12.3
       merge time: 10 minutes and 42 seconds.

     Fri Mar 14 19:09:54 2014 >>> kde-base/kdelibs-4.12.3-r1
       merge time: 10 minutes and 28 seconds.

     Tue Mar 18 01:48:11 2014 >>> kde-base/kdelibs-4.12.3
       merge time: 11 minutes and 27 seconds.

     Tue Apr  1 23:01:53 2014 >>> kde-base/kdelibs-4.12.4
       merge time: 11 minutes and 27 seconds.

     Wed Apr 16 23:10:20 2014 >>> kde-base/kdelibs-4.13.0
       merge time: 10 minutes and 55 seconds.

     Tue May 13 21:39:04 2014 >>> kde-base/kdelibs-4.13.1
       merge time: 10 minutes and 55 seconds.

     Sun May 25 23:19:23 2014 >>> kde-base/kdelibs-4.13.1-r1
       merge time: 10 minutes and 55 seconds.

     Sun Jun 15 20:48:25 2014 >>> kde-base/kdelibs-4.13.2
       merge time: 10 minutes and 17 seconds.


There is no difference if i switch from Python 3.3.x back to Python 2.7.x. 


Reproducible: Always
Comment 1 Frank Krömmelbein 2014-06-16 11:09:24 UTC
Created attachment 379010 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-16 15:37:56 UTC
Looks like bug #210575 or bug #465000. Any ebuild that uses `doins -r' is slow.
Comment 3 Frank Krömmelbein 2014-06-16 16:27:24 UTC
Nice catch, thank you very much Jeroen Roovers!

I just disabled xattr Usefag for portage and now got this times:

time emerge owncloud
real    3m20.590s
user    1m31.707s
sys     1m21.696s

     Mon Jun 16 18:01:30 2014 >>> www-apps/owncloud-6.0.3
       merge time: 3 minutes and 10 seconds.

So i think i must wait until this https://bugs.gentoo.org/show_bug.cgi?id=511984#c1 is solved.