Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POSTPONED] Put ccache on a tmpfs #6

Closed
moul opened this issue Dec 19, 2014 · 4 comments
Closed

[POSTPONED] Put ccache on a tmpfs #6

moul opened this issue Dec 19, 2014 · 4 comments
Assignees

Comments

@moul
Copy link
Contributor

moul commented Dec 19, 2014

To create a persistent tmpfs, we can try to :

  • mount a tmpfs
  • rsync the persistent directory to the tmpfs
  • docker run with the tmpfs as a volume
  • rsync back the tmpfs to the persistent directory
@moul moul self-assigned this Dec 19, 2014
@moul
Copy link
Contributor Author

moul commented Dec 20, 2014

@moul
Copy link
Contributor Author

moul commented Feb 4, 2015

This eats too much memory, so we need to be able to disable this feature for common computers

@EvaSDK
Copy link

EvaSDK commented Feb 6, 2015

You can set a maximum value for ccache to use with ccache -M 1G and expand the amount of RAM by using compression using zram module for example

@moul moul changed the title Put ccache on a tmpfs [POSTPONED] Put ccache on a tmpfs Mar 11, 2015
@moul
Copy link
Contributor Author

moul commented Mar 11, 2015

Postponed for now

@moul moul closed this as completed Mar 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants