Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge sync takes forever, uses 98% CPU
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 10, 11, 12  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dalek
Veteran
Veteran


Joined: 19 Sep 2003
Posts: 1280
Location: Mississippi USA

PostPosted: Sat Jun 24, 2006 3:53 am    Post subject: Reply with quote

drescherjm wrote:
Quote:
It would seem that something slowly eats up disk space in /usr/portage, but I am not sure how to go about finding out what it is


:?

Try /usr/portage/distfiles


Then try eclean-dist to clean it out a bit.

:D :D :D :D :D
_________________
My rig: Gigabyte GA-770T-USB3 mobo AMD Phenom II X4 955 3.2GHz ZALMAN CNPS10X Performa CPU cooler
G.SKILL 16GB DDR3 PC3 12800 Memory Nvidia GT-220 video card LG W2253 Monitor
WD1600AAJS & WD2502ABYS hard drives
Cooler Master HAF-932 Case
Back to top
View user's profile Send private message
splun549
n00b
n00b


Joined: 20 Jun 2006
Posts: 29

PostPosted: Sat Jun 24, 2006 11:48 pm    Post subject: Reply with quote

dalek wrote:
drescherjm wrote:
Quote:
It would seem that something slowly eats up disk space in /usr/portage, but I am not sure how to go about finding out what it is


:?

Try /usr/portage/distfiles


Then try eclean-dist to clean it out a bit.

:D :D :D :D :D


Whoops, I missed this....

After eclean-dist (which cleared up ~2gigs of files) everything is running smoothly again. Perhaps others in this thread can do the same to speed up the annoying sync slowness at 50%?
Back to top
View user's profile Send private message
ozbird
Apprentice
Apprentice


Joined: 21 Oct 2003
Posts: 181

PostPosted: Thu Oct 26, 2006 7:06 pm    Post subject: Reply with quote

Sachankara wrote:
Upgrade to 2.1x is the only working solution to make portage fast as it used to be two years ago.

I have portage-2.1.2_pre3-r9 installed, and "Updating Portage cache" is s-l-o-w... (I agree that there was an impovement with 2.1, but that advantage seems to have been lost again.)
Back to top
View user's profile Send private message
cyberjun
Apprentice
Apprentice


Joined: 06 Nov 2005
Posts: 271

PostPosted: Thu Nov 02, 2006 3:32 am    Post subject: Reply with quote

Hi,
Ozbird is right. I also see this drop in performance. Updating portage cache takes forever. Although it doesn't hog the CPU but it takes atleast 3-4 seconds for increase of each percentage point. When portage 2.1 had just come, speed was much better but not anymore. My portage version is sys-apps/portage-2.1.1-r1 ( and thats stable I think ).

--cyberjun
Back to top
View user's profile Send private message
ferringb
Developer
Developer


Joined: 03 Apr 2003
Posts: 355
Location: USA

PostPosted: Thu Nov 02, 2006 3:45 am    Post subject: Reply with quote

cyberjun wrote:
Hi,
Ozbird is right. I also see this drop in performance. Updating portage cache takes forever. Although it doesn't hog the CPU but it takes atleast 3-4 seconds for increase of each percentage point. When portage 2.1 had just come, speed was much better but not anymore. My portage version is sys-apps/portage-2.1.1-r1 ( and thats stable I think ).

--cyberjun

If it's not hogging the cpu... then either
1) it's doing redundant IO
2) it's going as fast as it can.

I'm inclined to think #2 tbh, although strace -eopen emerge --sync, and looking through the log for mass redudant accessing of $PORTDIR/metadata/cache and /var/cache/edb/dep/$PORTDIR would be wise.

Running FEATURES=metadata-transfer I assume also, or?
_________________
I don't want to be buried in a pet cemetery. ~Ramones
Back to top
View user's profile Send private message
_pF_
Apprentice
Apprentice


Joined: 22 Apr 2004
Posts: 195
Location: Central London

PostPosted: Wed Jan 03, 2007 8:20 am    Post subject: Reply with quote

Currently my emerge --syncs - or rather eix-syncs - are taking around seventeen minutes. Whilst still far better than the hours they took before, this still seems longer than most people have commented on in various other threads.

q complains about my "slow" file system at the end of the emerge and recommends I use a faster file system like reiserfs; I am already using Reiser4 though, and my World file is clean.
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
Goto page Previous  1, 2, 3 ... 10, 11, 12
Page 12 of 12

 
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