Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --info takes a long time?
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
fangwen
Tux's lil' helper
Tux's lil' helper


Joined: 23 Oct 2011
Posts: 128
Location: Shanghai, China

PostPosted: Tue Nov 08, 2011 12:43 pm    Post subject: emerge --info takes a long time? Reply with quote

I found that every time I ran "emerge --info", it will be at least three seconds for me to see the output? Also, "emerge --pretend something" will take a long time to calculate the dependencies. Is that OK?

I just want to be sure that my Gentoo box is operating normally.
_________________
All operating systems suck. This one just sucks less.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Nov 08, 2011 12:58 pm    Post subject: Reply with quote

Yep, normal.
Code:
~ # time emerge --info >/dev/null

real    0m5.027s
user    0m1.576s
sys     0m0.148s

~ # time emerge --info >/dev/null

real    0m1.703s
user    0m1.556s
sys     0m0.096s
With a cold cache, the Python interpreter has to be loaded from disk, which takes some time. For actually emerging something, then emerge is doing a dependency analysis of the Portage tree and installed packages; these databases are also not small, which is what takes the time.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
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