Date: Tue, 03 Nov 2015 14:47:40 +0100 From: Mathieu Arnold <mat@FreeBSD.org> To: Scott Bennett <bennett@sdf.org>, freebsd-ports@freebsd.org Subject: Re: ccache's cleanup algorithm Message-ID: <3F3F0A2D2CA8DF3108F4CD6E@ogg.in.absolight.net> In-Reply-To: <201511031326.tA3DQkGW004763@sdf.org> References: <201511031326.tA3DQkGW004763@sdf.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--==========5AB6D5A8E1B829661D0C========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, +--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: https://ccache.samba.org/ I'm sure they have a mailing list where you can ask your questions. -- Mathieu Arnold --==========5AB6D5A8E1B829661D0C========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJWOLr8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85Iw3UP/ijcTR7TSUiedBbgmVwVtWvL Kex33zkZduAkniW3ql2DCj/Dwjf+q3ie+QAkDUffC8kEfl37aK9rENMYQ+i1iBxW +uJH8nyPwDJm12XnwrvdtJQPPCJDVdsgjFT74NL0z1Q/ESjXBO80ZF6cRfvZWYNF NL3zvIzCT5Kin/17a4oi7s5DfveJ8RR9uUEAhbdrDgwI6UF31bgMpnMLVzc8Amcf 8CD+6jIsksDyFhj3ozrl+fKWYkYV3QC57Aa8evoor3GdHWnZ6NPuEMmbKVTu4BYU +ORFvl7yX6IntPy02McBmSJiLejrz6GjQPqOLMkSiVW00FX6d7MS1N7mpfCA/sbq NJ4veP3VQGTzGXfL9NdVAi6EiExZH+3gpN9DI3j6e58N8h5DO+ydQfGpiaX7xMw9 trML8cym+nB5f3BSb4Gh40VNrbxC9YM+ZdXljMAKocitGpQsDxnVX3FhvAVh4PqK h4o1Ts6YlUaHoFKRBJRaQ8qX0uzE38tIhhKl7ZgxdECdCZbvck5DSrL2ZGmPgGV2 MmQQfzqmlZiV6+5VEAu2bo7CPtIzpqysmXtoNhsFw+47eWjDl0GUryXfRbdrlZQB IEfWr/GFpKgajMZTw+sxf8Z6KVCWscv0K+BhUaH02zX6RFpN9NmY/2AdRXiWJoW1 gBNJm7DHDTiRJy4qhYUn =KOYF -----END PGP SIGNATURE----- --==========5AB6D5A8E1B829661D0C==========--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F3F0A2D2CA8DF3108F4CD6E>