I installed ccache.
I think it is working because the no of files int he cache are increasing etc.
Code: Select all
djt /home/mikef # !493
CCACHE_DIR="/var/tmp/ccache" ccache -s
cache directory /var/tmp/ccache
primary config /var/tmp/ccache/ccache.conf
secondary config (readonly) /etc/ccache.conf
cache hit (direct) 1757
cache hit (preprocessed) 267
cache miss 3696
called for link 771
called for preprocessing 226
compile failed 59
preprocessor error 36
bad compiler arguments 27
unsupported source language 7
autoconf compile/link 485
no input file 425
files in cache 9061
cache size 325.1 MB
max cache size 2.0 GBThe problem is that the compile times seem to stay constant and there seems to be no benefit from ccache.
The documentation says that if you ARE NOT using portage then you would specify the path as follows:
Code: Select all
FILE ~/.bash_profileSetting the ccache location before any other PATH
PATH="/usr/lib/ccache/bin:${PATH}"
But I am using emerge and so I think that means I am using portage so I don't need to specify the path in this way.
Am I doing something wrong here.
The kaveri box I am using is supposed to have 8GB of RAM in it.
I would appreciate a suggestion of a command I can run to check that there is 8GB of active RAM running here on my system.
There should be.
Comments appreciated.
Michael Fothergill




