Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Longest compiling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Tue Sep 20, 2016 1:28 am    Post subject: Longest compiling Reply with quote

Louisiana historic flood of 2016 surprised me at 3 AM in the morning. I grabbed my laptop, two little dogs and one other thing and headed for highway thru 2.5 feet deep water. All my equipment was submerged, as everything else in the house.
Sitting in the hotel now I decided to upgrade chromium. As I do not want to kill my laptop I'm building with -j1 and the i5 CPU is tuned down to 1.2 GHz.
Code:
mate2 ~ # qlop -c
 * www-client/chromium-54.0.2840.27
     started: Sun Sep 18 18:03:52 2016
     elapsed: 1 day, 2 hours, 17 minutes, 12 seconds

And it is not finished yet ... :(
This laptop used to be aided by distcc, no localhost included.

The longest compiling before this I can recall was building kernel on an i486, 14 hours.

BTW, I'm short about $35k to rebuild my home, our friends set up a gofund fundraiser, would it be appropriate to post a gofund link here ... :?:
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Tue Sep 20, 2016 1:42 am    Post subject: Reply with quote

Surprised it's taking that long, then again, not really - chromium is one of the nasties which includes openoffice, firefox, llvm, and webkit-gtk.

I let my i5 laptop go full bore, using both threads of both cores when building (-j4). Turboboost speed is circa 2.6GHz. I have never tried building chromium but suspect it's pretty bad. I am just too lazy to hook up ethernet, and chances are, the i/o latency of shuffling files back and forth won't be much of a speedup if the local CPU isn't used as well.

Do you have distcc enabled with no hosts and no localhost distcc? It might be slower than it should be because it's timing out contacting servers.

My worst compile was about 3 days build time, probably 4 days overall because it died a few times and I had to go fix it. This was centericq on a 16.7 MHz, 24MB MIPS R2000 (NetBSD). Since it was C++, it was swapping very badly and its disk is slow.

Sorry for your flood losses, but yeah, not sure it's allowed per rules as it's still an advertisement. At best it goes in OTW.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Tue Sep 20, 2016 1:57 am    Post subject: Reply with quote

It finished!

Now I got this ...
Code:
 (media-libs/libwebp-0.5.1:0/6::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (www-client/chromium-54.0.2840.27:0/0::gentoo, ebuild scheduled for merge)


:roll: :twisted:

Yea, I adjusted my make.conf for solo compilation.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Tue Sep 20, 2016 4:14 am    Post subject: Reply with quote

Fascinating. It so happened I had ccache enabled, chromium rebuild took 1 hour 20 minutes.
Back to top
View user's profile Send private message
arnvidr
l33t
l33t


Joined: 19 Aug 2004
Posts: 629
Location: Oslo, Norway

PostPosted: Tue Sep 20, 2016 6:55 am    Post subject: Reply with quote

Not long in itself, but I recently had a couple of packages that have ballooned something insane in compile time. I have no idea why these two packages have decided to go crazy on me, when something normally huge, like libreoffice, has remained stable when it comes to compile times. Anyone else seen this?
Code:
     Tue Sep  6 10:03:34 2016 >>> net-libs/nodejs-6.5.0
       merge time: 9 minutes and 59 seconds.

     Mon Sep 19 16:47:59 2016 >>> net-libs/nodejs-6.6.0
       merge time: 4 hours, 8 minutes.
Code:
     Mon Aug 22 18:03:57 2016 >>> media-sound/ardour-5.0
       merge time: 27 minutes and 33 seconds.

     Mon Aug 29 19:23:43 2016 >>> media-sound/ardour-5.0
       merge time: 3 hours, 27 minutes and 54 seconds.

     Tue Sep 20 00:14:54 2016 >>> media-sound/ardour-5.3
       merge time: 6 hours, 53 minutes and 36 seconds.


edit: I assume this has something to do with exhausting all available RAM on this box, but still no idea why these require so much.
_________________
Noone wrote:
anything
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Wed Sep 21, 2016 1:37 am    Post subject: Reply with quote

Swap devices are normally much slower than main memory. If your system requires extensive swapping to build the package, the wall time required will increase significantly, even though the CPU time will stay about the same.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Wed Sep 21, 2016 7:38 am    Post subject: Reply with quote

Fun with the R2000 machine I was compiling on - the machine does not support DMA, so there's plenty for the CPU to do when it's swapping :D
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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