Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge compilation time estimation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Logicien
Guru
Guru


Joined: 16 Sep 2005
Posts: 483
Location: Montréal

PostPosted: Fri May 04, 2012 9:40 am    Post subject: Emerge compilation time estimation Reply with quote

Is there a switch or a tool for that? It would be usefull to know how long emerge gone work.
_________________
Paul
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9464
Location: Córdoba (Spain)

PostPosted: Fri May 04, 2012 10:17 am    Post subject: Reply with quote

You can measure the time that a command (like emerge) takes to run by using the "time" command.

You might also be interested in genlop (which you need to install separately). I don't think you will have any problem finding usage examples around the net and in this very forum.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
Logicien
Guru
Guru


Joined: 16 Sep 2005
Posts: 483
Location: Montréal

PostPosted: Fri May 04, 2012 6:18 pm    Post subject: Reply with quote

Thank's. Genlop can be good to know the time after emerge finish to work. I am looking for something to estimate it before it start to compile.
_________________
Paul
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1931
Location: Zurich, Switzerland

PostPosted: Fri May 04, 2012 6:25 pm    Post subject: Reply with quote

genlop also works for current emerges, but needs a completed emerge to give you an estimate.
Code:
genlop -tc

_________________
read the portage output!
If my answer is too short, just ask for an explanation.
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 7622

PostPosted: Fri May 04, 2012 10:36 pm    Post subject: Reply with quote

If you have not yet built the package, then estimating the time requirement is difficult. The time requirement depends on what features you enabled and how much CPU/memory/disk are available to the build process.
Back to top
View user's profile Send private message
piedar
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2010
Posts: 80

PostPosted: Fri May 04, 2012 10:44 pm    Post subject: Reply with quote

See genlop's -q flag. It'll only work if your CPU/package combination is in the database though.
Code:
genlop -tq package
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1239
Location: Austin, Texas

PostPosted: Sat May 05, 2012 1:29 am    Post subject: Reply with quote

genlop also has a -pretend option. Just pipe an emerge to genlop -p. Just like others have said, genlop needs previously installed packages to be accurate.
Code:
emerge world -uDNpv --with-bdeps=y | genlop -p
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 3911
Location: india

PostPosted: Sat May 05, 2012 4:23 am    Post subject: Reply with quote

gentoo-portage.com

was showing emerge time required for some packages
now i can't see it there :(
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9464
Location: Córdoba (Spain)

PostPosted: Sat May 05, 2012 7:19 am    Post subject: Reply with quote

Again, genlop. There's nothing else. The more you use it the better the estimation should be. Still an estimation, though.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
Logicien
Guru
Guru


Joined: 16 Sep 2005
Posts: 483
Location: Montréal

PostPosted: Sat May 05, 2012 7:28 am    Post subject: Reply with quote

I am installing Genlop. I need to read the man page and more to know what it can do. The Compile time estimator is interesting to. All your answers where helpfull. Thank-you all.
:!:
_________________
Paul
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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