I'm migrating from portmaster to centralized poudriere and have question about ccache. I built packages for my laptop, after that I deleted repository and build it one more time.
Cache hit rate is awful and build time is roughly the same. Can it be improved?
Code:
abishai@poudriere:~ % env CCACHE_DIR=/var/cache/ccache ccache -s
cache directory /var/cache/ccache
primary config /var/cache/ccache/ccache.conf
secondary config (readonly) /usr/local/etc/ccache.conf
cache hit (direct) 16101
cache hit (preprocessed) 14592
cache miss 223923
cache hit rate 12.05 %
called for link 22586
called for preprocessing 14685
multiple source files 40
compiler produced stdout 4
compile failed 5472
ccache internal error 21
preprocessor error 4812
can't use precompiled header 64
bad compiler arguments 1888
unsupported source language 50
autoconf compile/link 43201
unsupported compiler option 1989
unsupported code directive 6
no input file 18145
cleanups performed 200
files in cache 147978
cache size 4.4 GB
max cache size 5.0 GB