[yocto] sstate management

Paul Eggleton paul.eggleton at linux.intel.com
Mon Feb 2 09:43:00 PST 2015


On Monday 02 February 2015 17:33:23 Burton, Ross wrote:
> On 2 February 2015 at 16:48, Christopher Larson <clarson at kergoth.com> wrote:
> >   Is there some maintenance to be done on the sstate-cache?
> >   
> >>   I'm thinking I want to set up a shared cache which might
> >>   last for a long time and I would like to only keep the bits
> >>   that are really needed.
> > 
> > In the past i've either used sstate-cache-management.sh or ensured that
> > SSTATE_DIR is on a mount with atime enabled and just periodically wiped
> > anything that hasn't been accessed in over a week.
> 
> Seconded on this - after doing lots of builds in the last few weeks
> involving five machines and new eglibc/gcc patches my sstate was 1.2TB.  A
> quick find -atime -delete did the job.

I don't suppose I can talk one or more of you into writing up some 
documentation for this to add to the manual? (As usual, something raw in the 
form of a wiki page that Scott can then adapt would be ideal.)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list