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.43) id 1EL6HU-0002YP-1E for garchives@archives.gentoo.org; Thu, 29 Sep 2005 21:49:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8TLfD8K012359; Thu, 29 Sep 2005 21:41:13 GMT Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.206]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8TLbUfn026751 for ; Thu, 29 Sep 2005 21:37:30 GMT Received: by nproxy.gmail.com with SMTP id x37so3164nfc for ; Thu, 29 Sep 2005 14:44:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=mF4ZDIyHit+2sjXUDnJAoPzBA3SXuH0PiRA7nk56TFMUq6gFgZzuvgVDHTLlAmE6QdAsvyN0WuZ9ExCt7Mgeji3DpJOG//4xIrzsZl/ZJpAsszbl9bDRYyUhvR3R6OewauNtrxbGyjuLKHHoFcWUMAgbvgY1B9zi2EX502WGV0Y= Received: by 10.48.226.11 with SMTP id y11mr74022nfg; Thu, 29 Sep 2005 14:44:56 -0700 (PDT) Received: by 10.48.142.10 with HTTP; Thu, 29 Sep 2005 14:44:56 -0700 (PDT) Message-ID: Date: Thu, 29 Sep 2005 23:44:56 +0200 From: Fernando Meira To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ccache taking way too long time In-Reply-To: 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_3579_33549504.1128030296845" References: X-Archives-Salt: c05e99ff-5b08-4096-b31b-1d1b46de5648 X-Archives-Hash: 556aca9289d47f1cf850166c20392ed7 ------=_Part_3579_33549504.1128030296845 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/28/05, Tamas Sarga wrote: > > > On Sun, 25 Sep 2005, Fernando Meira wrote: > > > > > Hi, > > > > I been using ccache for sometime since its mail goal is to speedup > common > > compiling sets. > > This is great when updating several packages. > > However, every time that a package is to be emerge/updated my system > waits > > for ccache some long minutes. This happens twice, at the emerge start > and > > end. For some small packages, it takes more time to handle ccache than > > compiling the package itself... so I wondering if this is normal, or it > is > > something mis-configured? > > > > Here is how it looks: > > > > >>> emerge (2 of 10) media-sound/cdparanoia-3.9.8-r2 to / > > * Adjusting permissions on ccache in /root/.ccache > > * Adjusting permissions on ccache in /root/.ccache > > >>> Downloading ftp://ftp.tu-clausthal.de/pub/linux/... > > (...) > > >>> Completed installing cdparanoia-3.9.8-r2 into > > /var/tmp/portage/cdparanoia-3.9.8-r2/image/ > > > > >>> Merging media-sound/cdparanoia-3.9.8-r2 to / > > * Adjusting permissions on ccache in /root/.ccache > > (...) > > > > Fernando > > > > Hi, > > I also use ccache for a some time. > I use > $CCACHE_DIR=3D/var/cache/ccache/ > > ls -la /var/cache/ccache > drwxrws--- 18 portage portage 4096 Sep 25 16:29 . > drwxr-xr-x 7 root root 4096 Oct 14 2004 .. > drwxr-sr-x 18 portage portage 4096 Oct 24 2004 0 > drwxr-sr-x 18 portage portage 4096 Oct 24 2004 1 > drwxr-sr-x 18 portage portage 4096 Oct 24 2004 2 > > > My portage user is portage. > > I haven't got the mentioned problem. > What are your settings? > > Cheers, > Tamas Sarga S=E1rga Tam=E1s Hi, thanks for replying.. My setting are: $CCACHE_DIR=3D/root/.ccache/ Portage user is also portage. # ll .ccache/ total 14 drwxrwS--- 18 root portage 576 Sep 29 00:21 . drwx------ 19 root root 1032 Sep 29 23:39 .. -rw-rw-r-- 1 root portage 0 Aug 25 13:32 .keep drwxrwsr-x 18 root portage 456 Sep 3 21:48 0 drwxrwsr-x 18 root portage 456 Sep 3 21:35 1 drwxrwsr-x 18 root portage 456 Sep 3 21:43 2 drwxrwsr-x 18 root portage 456 Sep 3 21:42 3 drwxrwsr-x 18 root portage 456 Sep 3 22:00 4 drwxrwsr-x 18 root portage 456 Sep 3 21:42 5 drwxrwsr-x 18 root portage 456 Sep 3 20:55 6 drwxrwsr-x 18 root portage 456 Sep 3 21:42 7 drwxrwsr-x 18 root portage 456 Sep 3 21:55 8 drwxrwsr-x 18 root portage 456 Sep 3 21:43 9 drwxrwsr-x 18 root portage 456 Sep 3 21:37 a drwxrwsr-x 18 root portage 456 Sep 3 21:44 b drwxrwsr-x 18 root portage 456 Sep 3 21:48 c drwxrwsr-x 18 root portage 456 Sep 3 21:43 d drwxrwsr-x 18 root portage 456 Sep 3 21:49 e drwxrwsr-x 18 root portage 456 Sep 3 20:55 f -rw-rw-r-- 1 root portage 66 Sep 29 00:21 stats -rw-rw-r-- 1 root portage 120 Sep 24 22:32 tmp.hash.nandux.29184.gcno -rw-rw-r-- 1 root portage 120 Sep 12 00:13 tmp.hash.nandux.6642.gcno # du -sh .ccache/ 965M .ccache/ # ccache -s cache hit 4569 cache miss 32736 called for link 3200 multiple source files 7 compile failed 618 preprocessor error 209 not a C/C++ file 1420 autoconf compile/link 3617 unsupported compiler option 1214 no input file 2570 files in cache 65472 cache size 960.6 Mbytes max cache size 2.0 Gbytes Can it be just because it's inside root's dir? Cheers, Fernando ------=_Part_3579_33549504.1128030296845 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/28/05, Tamas Sarga <tamas@wansite.homelinux.net> wrote= :

On Sun, 25 Sep 2005, Fernando Meira wrote:

>
> Hi,
&= gt;
> I been using ccache for sometime since its mail goal is to spee= dup common
> compiling sets.
> This is great when updating seve= ral packages.
> However, every time that a package is to be emerge/updated my syst= em waits
> for ccache some long minutes. This happens twice, at the e= merge start and
> end. For some small packages, it takes more time to= handle ccache than
> compiling the package itself... so I wondering if this is normal, = or it is
> something mis-configured?
>
> Here is how it l= ooks:
>
> >>> emerge (2 of 10) media-sound/cdparanoia- 3.9.8-r2 to /
> * Adjusting permissions on ccache in /root/.ccache> * Adjusting permissions on ccache in /root/.ccache
> >>&g= t; Downloading ftp://ftp.= tu-clausthal.de/pub/linux/. ..
> (...)
> >>> Completed installing cdparanoia-3= .9.8-r2 into
> /var/tmp/portage/cdparanoia-3.9.8-r2/image/
>> >>> Merging media-sound/cdparanoia-3.9.8-r2 to /
> * A= djusting permissions on ccache in /root/.ccache
> (...)
>
> Fernando
>

Hi,

I also us= e ccache for a some time.
I use
$CCACHE_DIR=3D/var/cache/ccache/
<= br>ls -la /var/cache/ccache
drwxrws---  18 portage portage&nbs= p;   4096 Sep 25 16:29 .
drwxr-xr-x   7 root    root  &n= bsp;    4096 Oct 14  2004 ..
drwxr-sr-x &n= bsp;18 portage portage    4096 Oct 24  2004 0=
drwxr-sr-x  18 portage portage    4096 Oc= t 24  2004 1
drwxr-sr-x  18 portage portage &nb= sp;  4096 Oct 24  2004 2
<snip>

My portage user is portage.

I haven't got th= e mentioned problem.
What are your settings?

Cheers,
Tamas Sarga           &nbs= p;            &= nbsp;    S=E1rga Tam=E1s

Hi,
thanks for replying..

My setting are:

$CCACHE_DIR=3D/root/.ccache/

Portage user is also portage.

# ll .ccache/
total 14
drwxrwS---  18 root portage  576 Sep 29 00:21 .
drwx------  19 root root    1032 Sep 29 23:39 ..
-rw-rw-r--   1 root portage    0 Aug 25 13:32 .kee= p
drwxrwsr-x  18 root portage  456 Sep  3 21:48 0
drwxrwsr-x  18 root portage  456 Sep  3 21:35 1
drwxrwsr-x  18 root portage  456 Sep  3 21:43 2
drwxrwsr-x  18 root portage  456 Sep  3 21:42 3
drwxrwsr-x  18 root portage  456 Sep  3 22:00 4
drwxrwsr-x  18 root portage  456 Sep  3 21:42 5
drwxrwsr-x  18 root portage  456 Sep  3 20:55 6
drwxrwsr-x  18 root portage  456 Sep  3 21:42 7
drwxrwsr-x  18 root portage  456 Sep  3 21:55 8
drwxrwsr-x  18 root portage  456 Sep  3 21:43 9
drwxrwsr-x  18 root portage  456 Sep  3 21:37 a
drwxrwsr-x  18 root portage  456 Sep  3 21:44 b
drwxrwsr-x  18 root portage  456 Sep  3 21:48 c
drwxrwsr-x  18 root portage  456 Sep  3 21:43 d
drwxrwsr-x  18 root portage  456 Sep  3 21:49 e
drwxrwsr-x  18 root portage  456 Sep  3 20:55 f
-rw-rw-r--   1 root portage   66 Sep 29 00:21 stats
-rw-rw-r--   1 root portage  120 Sep 24 22:32 tmp.hash.nandu= x.29184.gcno
-rw-rw-r--   1 root portage  120 Sep 12 00:13 tmp.hash.nandu= x.6642.gcno

# du -sh .ccache/
965M    .ccache/

 # ccache -s
cache hit            =             &nb= sp;  4569
cache miss            = ;             32736
called for link            = ;         3200
multiple source files         =          7
compile failed           &nb= sp;           618
preprocessor error           &nbs= p;       209
not a C/C++ file            = ;        1420
autoconf compile/link         =       3617
unsupported compiler option        = 1214
no input file            = ;           2570
files in cache           &nbs= p;         65472
cache size            = ;             960.6 Mbytes
max cache size            = ;           2.0 Gbytes

Can it be just because it's inside root's dir?

Cheers,
Fernando
------=_Part_3579_33549504.1128030296845-- -- gentoo-user@gentoo.org mailing list