Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2010 12:07:06 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Dmitry Krivenok <krivenok.dmitry@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: buildworld + ccache trouble
Message-ID:  <4C97324A.1080100@FreeBSD.org>
In-Reply-To: <AANLkTi=wKc_6ppV83Yb68hRE_E8KO4a5YCzp50N6L64b@mail.gmail.com>
References:  <AANLkTimF79ZPE3MJeHQ=O1ismQCj916Q9kL23SBZOTL9@mail.gmail.com>	<4C912926.6070409@FreeBSD.org> <AANLkTi=wKc_6ppV83Yb68hRE_E8KO4a5YCzp50N6L64b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-09-20 10:43, Dmitry Krivenok wrote:
> Your patch works fine for me, thanks!

Note this patch is just a workaround for now, I'm still working on the
proper solution. :)


> However, I don't see any performance gain when using ccache:
...
> cache miss                        225341
...
> cache miss                        362669
...
> Number of cache hits is very low.

Since ccache depends on the results of preprocessing being exactly the
same every time, there could be something in your setup and/or way of
updating that changes them during each update.

You can experiment with adding '-save-temps' to your compile flags, to
see if any resulting .i files unexpectedly change after you update your
source tree.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C97324A.1080100>