From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EdSul-0000RV-LP for garchives@archives.gentoo.org; Sat, 19 Nov 2005 13:38:00 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAJDb5vL029476; Sat, 19 Nov 2005 13:37:05 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAJDXN4D031077 for ; Sat, 19 Nov 2005 13:33:23 GMT Received: from xproxy.gmail.com ([66.249.82.195]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1EdSqJ-0000XF-BD for gentoo-user@lists.gentoo.org; Sat, 19 Nov 2005 13:33:23 +0000 Received: by xproxy.gmail.com with SMTP id h26so405712wxd for ; Sat, 19 Nov 2005 05:33:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=FE3heoeAX2KUro/EQ9qe3qzF8Ggq/LYzh7/8WZKrdkNLXOIIFNmDMFHDsUqs1IWT+cpNpdYQvCPhaen8cM6XVP5QpTkIvJgI3P7RpEABwAmsxLnHKqiDB23bV/uWdz3/sXYBSeL6MrEHKHqDdLwAthYh5B8DDeFGXYzcCuKxDzQ= Received: by 10.65.237.12 with SMTP id o12mr942882qbr; Sat, 19 Nov 2005 05:33:23 -0800 (PST) Received: by 10.65.194.1 with HTTP; Sat, 19 Nov 2005 05:33:23 -0800 (PST) Message-ID: <85901b690511190533x57175e4fgb23de50f7986d66e@mail.gmail.com> Date: Sat, 19 Nov 2005 15:33:23 +0200 From: sempsteen To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] about ccache permission adjusting Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14304_20965992.1132407203120" X-Archives-Salt: 645b09bb-b9cb-46c7-9728-cdfefd8e65b7 X-Archives-Hash: 4475cc2c425ba69466b3ff17dbacaade ------=_Part_14304_20965992.1132407203120 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I've changed my CFLAGS settings and merged ccache for later works. Now i'm updating my system with "emerge -e world". During merge i realize that ccache is adjusting permissions for 4 times per package; before merge, before unmerge of existing packages, after unmerge and after merge. It's something like this: --- !targe sym /usr/lib/libglib-2.0.so * Adjusting permissions on ccache in /root/.ccache >>> original instance of package unmerged safely. * Adjusting permissions on ccache in /root/.ccache >>> Regenerating /etc/ld.so.cache... >>> dev-libs/glib-2.6.5 merged. * Adjusting permissions on ccache in /root/.ccache >>> clean: No packages selected for removal. >>> emerge (133 of 405) x11-libs/pango-1.8.1-r1 to / * Adjusting permissions on ccache in /root/.ccache My question is about this adjusting process, each adjusting process longs about 5 to 6 seconds. For whole update this makes 135 to 162 minutes and if this really is only an permission adjusting process i thought this is just loosing time. Can you help to understand this and if there is a setting for this that i've missed would you show me? ----------------------- My make.conf file ----------------------- CFLAGS=3D"-march=3Dpentium4 -mcpu=3Dpentium4 -O2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -fno-ident" CHOST=3D"i686-pc-linux-gnu" CXXFLAGS=3D"${CFLAGS}" MAKEOPTS=3D"-j2" GENTOO_MIRRORS=3D"http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror= / http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de http://mirror.aiya.ru/pub/gentoo/ http://ftp.citkit.ru/pub/Linux/gentoo http://ftp.ankara.edu.tr/gentoo/" SYNC=3D"rsync://rsync.de.gentoo.org/gentoo-portage" USE=3D"-3dfx -3dnow -3dnowext -afs -aim -qt -kde -ipv6 -nsplugin -doc -debu= g -spell -arts oss esd unicode gnome alsa mmx sse sse2 nls X gtk gtk2" PORT_LOGDIR=3D/home/portage/logs CLEAN_DELAY=3D0 FEATURES=3D"ccache" CCACHE_SIZE=3D"2G" CCACHE_DIR=3D"/root/.ccache" ------=_Part_14304_20965992.1132407203120 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,
I've changed my CFLAGS settings and merged ccache for later works. Now i'm updating my system with "emerge -e world". During merge i rea= lize that ccache is adjusting permissions for 4 times per package; before merge, before unmerge of existing packages, after unmerge and after merge. It's something like this:

--- !targe sym /usr/lib/libglib-2.0.so
* Adjusting permissions on ccache in /root/.ccache
>>> original instance of package unmerged safely.
* Adjusting permissions on ccache in /root/.ccache
>>> Regenerating /etc/ld.so.cache...
>>> dev-libs/glib-2.6.5 merged.
* Adjusting permissions on ccache in /root/.ccache

>>> clean: No packages selected for removal.

>>> emerge (133 of 405) x11-libs/pango-1.8.1-r1 to /
* Adjusting permissions on ccache in /root/.ccache

My question is about this adjusting process, each adjusting process longs about 5 to 6 seconds. For whole update this makes 135 to 162 minutes and if this really is only an permission adjusting process i thought this is just loosing time. Can you help to understand this and if there is a setting for this that i've missed would you show me?

-----------------------
My make.conf file
-----------------------

CFLAGS=3D"-march=3Dpentium4 -mcpu=3Dpentium4 -O2 -pipe -fomit-frame-po= inter -momit-leaf-frame-pointer -fno-ident"
CHOST=3D"i686-pc-linux-gnu"
CXXFLAGS=3D"${CFLAGS}"
MAKEOPTS=3D"-j2"
GENTOO_MIRRORS=3D"http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirro= r/ http://ftp.uni-er= langen.de/pub/mirrors/gentoo http://mi= rrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp= -stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.ti= scali.de/pub/gentoo/ http://gentoo.intergenia.de http://mirror.aiya.ru/pub/gen= too/ http://ftp.citkit.ru/pub/Linux/gentoo http://ftp.ankara.edu.tr/gento= o/"
SYNC=3D"rsync://rsync.de.gentoo.org/gentoo-portage"
USE=3D"-3dfx -3dnow -3dnowext -afs -aim -qt -kde -ipv6 -nsplugin -doc -debug -spell -arts oss esd unicode gnome alsa mmx sse sse2 nls X gtk gtk2"
PORT_LOGDIR=3D/home/portage/logs
CLEAN_DELAY=3D0
FEATURES=3D"ccache"
CCACHE_SIZE=3D"2G"
CCACHE_DIR=3D"/root/.ccache" ------=_Part_14304_20965992.1132407203120-- -- gentoo-user@gentoo.org mailing list