[mythtv-users] compile times for mythtv?

Stuart Auchterlonie stuarta at squashedfrog.net
Mon Nov 16 19:24:59 UTC 2020


On 16/11/2020 17:41, John P Poet wrote:
> On Mon, Nov 16, 2020 at 10:31 AM Stuart Auchterlonie 
> <stuarta at squashedfrog.net <mailto:stuarta at squashedfrog.net>> wrote:
> 
>     On 16/11/2020 17:05, John P Poet wrote:
>      > On Mon, Nov 16, 2020 at 10:00 AM James Abernathy
>     <jfabernathy at gmail.com <mailto:jfabernathy at gmail.com>
>      > <mailto:jfabernathy at gmail.com <mailto:jfabernathy at gmail.com>>> wrote:
>      >
>      >     With my old system, building from source would take 10-15
>     minutes.
>      >
>      >     However, with my new system it takes only 40 seconds.
>      >
>      >     The hardware is Ryzen 5 3600, B550 motherboard with attached M.2
>      >     2280 NVMe SSD.
>      >
>      >     I ran it once with make -j 6 and it ran in 5 minutes.  Then I
>      >     completely deleted the build/mythtv directories and recloned
>      >     mythtv.git again. However, this time I used make -j 12.
>      >     That seems too good to be true.
>      >
>      >     Jim A
>      >
>      >
>      > If you want a truly fresh environment to test with, also make
>     sure you
>      > delete your ~/.ccache directory between builds.
>      >
> 
>     That trashes your ccache config. Use `ccache -C`
> 
> 
> I was not aware there was a "ccache config". Thanks for the tip.
> 

The main use I have for the config is to increase the size of the cache
from its default of 5Gb up to 10Gb, as i build both fixes/31 and master
on a regular basis. If I don't I get a lot more cache misses because the
cache is too small.


Regards
Stuart



More information about the mythtv-users mailing list