From owner-freebsd-current@FreeBSD.ORG Mon Sep 20 10:07:00 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 537431065672 for ; Mon, 20 Sep 2010 10:07:00 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 13D7E8FC1F for ; Mon, 20 Sep 2010 10:07:00 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:f93c:c67a:5a2d:4e81] (unknown [IPv6:2001:7b8:3a7:0:f93c:c67a:5a2d:4e81]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 1C2F65C43; Mon, 20 Sep 2010 12:06:59 +0200 (CEST) Message-ID: <4C97324A.1080100@FreeBSD.org> Date: Mon, 20 Sep 2010 12:07:06 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.10pre) Gecko/20100910 Lanikai/3.1.4pre MIME-Version: 1.0 To: Dmitry Krivenok References: <4C912926.6070409@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: buildworld + ccache trouble X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 10:07:00 -0000 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.