lin and lrm activity times versus compile times

 
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Core Tools
View previous topic :: View next topic  
Author Message
engelsman



Joined: 21 Aug 2005
Posts: 131
Location: Netherlands

PostPosted: Sun Oct 29, 2006 9:13 am    Post subject: lin and lrm activity times versus compile times Reply with quote

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"


Question 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 Exclamation
Back to top
View user's profile Send private message
sofar



Joined: 11 Aug 2005
Posts: 172

PostPosted: Wed Nov 01, 2006 9:27 pm    Post subject: correct Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Core Tools 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


Powered by phpBB © 2001, 2005 phpBB Group