[ccache] ccache cache in RAM -- bypassing file cache?

David Coppit david at coppit.org
Wed Jun 29 17:42:09 MDT 2011


We did some more experiments and found that it did indeed perform better with more OS file cache.

> it would be fairly insane if there was.

That was basically my conclusion after reading Justin's reply.

Thanks.

On Jun 28, 2011, at 8:49 AM, Martin Pool wrote:

I think Justin is right that there should be no copying; it would be
fairly insane if there was.

I would speculate that the cause is nothing to do with the cache, but
rather just that on the larger machine, more of the source tree and
the header files used by it can be kept in memory.

You could try with tmpfs instead to see if it's different.
Martin



More information about the ccache mailing list