Gentoo Archives: gentoo-dev

From: Robert Moss <robmoss@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] extremely long cache update times
Date: Wed, 10 Nov 2004 18:18:38
Message-Id: 41925B8B.90800@gentoo.org
In Reply to: [gentoo-dev] extremely long cache update times by Rajiv Aaron Manglani
1 Are the contents of the files in /etc/portage, if there are any, valid?
2
3 Rajiv Aaron Manglani wrote:
4 >
5 > hello folks. with portage .51 my machine takes 40-45 minutes to update
6 > metadata after a sync or by running 'emerge metadata'. ferringb
7 > suggested removing calls to portage_locks.lockfile() and
8 > portage_locks.unlockfile() in /usr/lib/portage/pym/portage_db_flat.py
9 > and sure enough, cache update times returned to a respectable 6-8
10 > minutes. any ideas as to how to debug this slowdown? a profile
11 > generated using:
12 >
13 > for x in 1 2 3; do time /usr/lib/portage/bin/pemerge.py metadata \
14 > --quiet --nospinner &> /dev/null; done
15 >
16 > is at: <http://dev.gentoo.org/~rajiv/tmp/prof.bz2>
17 >
18 > machine specs:
19 > dual p3 933, 1gig ram
20 > quantum atlas V scsi drives
21 > /var, /tmp are reiserfs on lvm partitions
22 >
23
24 --
25 gentoo-dev@g.o mailing list

Attachments

File name MIME type
signature.asc application/pgp-signature