Date: Wed, 04 Nov 2015 00:23:39 -0600 From: Scott Bennett <bennett@sdf.org> To: mat@FreeBSD.org Cc: freebsd-ports@freebsd.org Subject: Re: ccache's cleanup algorithm Message-ID: <201511040623.tA46NdFc022098@sdf.org> In-Reply-To: <3F3F0A2D2CA8DF3108F4CD6E@ogg.in.absolight.net> References: <201511031326.tA3DQkGW004763@sdf.org> <3F3F0A2D2CA8DF3108F4CD6E@ogg.in.absolight.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you for your quick reply. Mathieu Arnold <mat@FreeBSD.org> wrote: > +--On 3 novembre 2015 07:26:46 -0600 Scott Bennett <bennett@sdf.org> wrote: > | In ccache's cleanup.c module, the comments say that files are deleted > | from the cache on a LRU basis. However, the code refers to mtime, not > | atime, so it appears that ccache is, in reality, using a Least Recently > | *Modified* basis upon which to expire files from the cache. Is that > | really what ccache does? Or did I miss something? If it's really using > | LRM instead of LRU, can anyone explain why? > > ccache is not a freebsd project, it's a samba project: Neither are nearly all of the other ports in the FreeBSD ports tree, yet we have this mailing list. I had thought, perhaps erroneously, that there might be enough users of ccache on this list that the question might find an answer here. > > https://ccache.samba.org/ > > I'm sure they have a mailing list where you can ask your questions. > Okay. I will try there. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at sdf.org *xor* bennett at freeshell.org * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511040623.tA46NdFc022098>