Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What about a estimated compile time for Portage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Shadow Skill
Veteran
Veteran


Joined: 04 Dec 2004
Posts: 1023

PostPosted: Fri May 13, 2005 11:46 am    Post subject: What about a estimated compile time for Portage Reply with quote

I was just reading a thread here asking if it is possible to create what one poster in that thread called network transparent Portage, and I got to thinking what if in both single user and multiuser environments Portage had a way of telling the user how long a given Portage install/upgrade and/or remove operation was going to take based on the system specs, the cflags, the use flags in make.conf, and any inline use or cflags specified during the given operation.

Perhaps they could be given ratings where the highest level say five would tell the user that he mine as well go to bed while Portage does its thing, while the lowest being one would indicate that the user won't be waiting any length of time for the operation to complete.

Perhaps this could be extended into the network environment by allowing the system admin to prioritize the updates so that the load on the machines can be minimized or it can be timed for the times when server utilization is relatively low.

What do you all think?
_________________
Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.

"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it."
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Fri May 13, 2005 12:05 pm    Post subject: Reply with quote

In my new-to-gentoo days I made a trivial script that attempts to calculate the % completion of a single ebuild on a single machine.

I was somewhat surprised to see it make its way to gentooexperimental.org 8O

AFAIK, its the only real-time implementation of something similar to what you're looking for.

There is of course genlop, which shows you the runtime of past ebuilds.
Back to top
View user's profile Send private message
Pink
Veteran
Veteran


Joined: 24 Jul 2003
Posts: 1062

PostPosted: Fri May 13, 2005 12:17 pm    Post subject: Reply with quote

If i need to I usually use genlop -c to see how long an emerge has left or genlop -t progname to see what it took before.

Something like this:

Code:
root: genlop -t mozilla-firefox
 * www-client/mozilla-firefox

     Tue Apr 26 10:21:25 2005 >>> www-client/mozilla-firefox-1.0.3
       merge time: 39 minutes and 44 seconds.

     Sat May  7 23:55:45 2005 >>> www-client/mozilla-firefox-1.0.3
       merge time: 39 minutes and 53 seconds.

or
Code:
root: genlop -c

 * www-client/mozilla-firefox-1.0.3

       current merge time: 1 minute and 8 seconds.
       ETA: 38 minutes and 40 seconds.

It gives a rough guide but I do think something more accurate and informative before a compile starts is needed. Personally, I have found the scripts floating around to never work. The closest one got to being accurate was saying an emerge was only 108% of the way through when it finished. Usually they state the process is around 130% to 150% of the way through when the emerge actually finishes. They are a good idea but as I say, not of any actual value or use. /me shrugs, YMMV.

HTH :D
_________________
usefuljaja.com - VPS Tutorials
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 17857

PostPosted: Fri May 13, 2005 4:28 pm    Post subject: Reply with quote

A little bit of search effort should turn up related threads.
_________________

Believing I had supernatural powers I slammed into a brick wall.
I said hey, is this my problem? Is this my fault?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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