[ccache] Cache misses are extremely expensive.
Joel Rosdahl
joel at rosdahl.net
Tue Jul 12 19:23:05 UTC 2016
On 23 June 2016 at 21:14, Guillaume Campagna <guillaume.campagna at gmail.com>
wrote:
> Just started using ccache based on this tutorial and so far I like it.
> However, caches miss being extremely slow. [..] Note that I do use a pch,
> if that changes something. [...]
Since you included pch_defines and time_macros in CCACHE_SLOPPINESS, I
guess you've seen the instructions on
https://ccache.samba.org/manual.html#_precompiled_headers already? If so,
did you also follow the instructions about using -include or
-fpch-preprocess?
To get more information on what's happening, you can set CCACHE_LOGFILE to
a file path and then look in that file for clues.
-- Joel
More information about the ccache
mailing list