View previous topic :: View next topic |
Author |
Message |
engelsman
Joined: 21 Aug 2005 Posts: 131 Location: Netherlands
|
Posted: Sun Oct 29, 2006 9:13 am Post subject: lin and lrm activity times versus compile times |
|
|
Yesterday a lunar update presented me with a long list of modules, and I had no idea how long it would take to complete. The activity log appeared to show the system still busy with qt3 after 45 mins, but later I realised that it had really been busy building kdelibs3, as shown by the log: Code: |
20061028-08:45:48 lin moonbase 20061028.08 success
20061028-08:47:48 lrm pango 1.14.6 success
20061028-08:48:05 lin pango 1.14.7 success
20061028-08:48:18 lrm qt3 3.3.6 success
20061028-09:59:20 lrm kdelibs3 3.5.5 success
20061028-10:22:50 lin kdelibs3 3.5.5 success
20061028-10:22:55 lin qt3 3.3.7 success
|
I thought I understood this until I wrote a script to extract compile times for installed modules, because I was curious about how long it would take to rebuild my system from scratch. While writing that script, I discovered lvu compile and it was clear that these times were far simpler and I would not need the complex handling I thought I would need for the nested activity times: Code: |
root@lunar# lvu compile qt3 | grep "Mark Compile st"
++ Mark Compile start : "qt3" "3.3.7" "Sat Oct 28 08:48:06 UTC 2006"
++ Mark Compile stop : "qt3" "3.3.7" "Sat Oct 28 09:10:01 UTC 2006"
root@lunar# lvu compile kdelibs3 | grep "Mark Compile st"
++ Mark Compile start : "kdelibs3" "3.5.5" "Sat Oct 28 09:10:44 UTC 2006"
++ Mark Compile stop : "kdelibs3" "3.5.5" "Sat Oct 28 10:21:33 UTC 2006"
|
When installing or updating a module that needs to build or rebuild other modules that it depends on, when are the various lin and lrm messages added to the activity log?
P.S. I had forgotten that theedge will show compile times until I read it in another thread. I shall add my script there for completeness.
P.P.S. Just discovered that lvu info $MODULE shows last compile time and much more  |
|
Back to top |
|
 |
sofar

Joined: 11 Aug 2005 Posts: 172
|
Posted: Wed Nov 01, 2006 9:27 pm Post subject: correct |
|
|
currently lin stops logging once POST_INSTALL is finished - in order to account for whatever happens in the POST_INSTALL stage. This means that modules that force a recompile of others are accounted for in that period, and as such, their time too. |
|
Back to top |
|
 |
|