Re: ccache mount location questions
- Reply: Dag-Erling_Smørgrav : "Re: ccache mount location questions"
- In reply to: void : "ccache mount location questions"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Jul 2026 11:52:50 UTC
Hi. > 3. would it be advantageous in terms of speed to turn on > compression here? I'm thinking lz4 but maybe other > settings are preferable in the context. Muscle memory > says leave compression off but i have read that > compression can speed up access, which is why I'm > asking for clarification. (asking here because it's the > most likely froup building stuff) LZ4 will not harm anything and can help. These should also help a little. # zfs set atime=off zroot/var/cache/ccache # zfs set xattr=sa zroot/var/cache/ccache # zfs set relatime=off zroot/var/cache/ccache # zfs set primarycache=all zroot/var/cache/ccache # zfs set secondarycache=all zroot/var/cache/ccache # zfs set logbias=throughput zroot/var/cache/ccache # zfs set sync=disabled zroot/var/cache/ccache I left 'sync' disabled as its just a 'compiler cache' - if anything will be lost here - it will be recreated during next compiling process. Regards, vermaden