Re: guix package build: can distcc be used?

2023-01-09 Thread Simon Tournier
Hi,

On ven., 06 janv. 2023 at 10:48, Vagrant Cascadian  wrote:

> I believe distcc would allow sending the workload of individual parts of
> a single package to multiple machines, so a bit finer grained than guix
> offload, which can only send a single package (or more accurately,
> derivation?) to each of the offloading machines, if I understand
> correctly.

Well, I would be interested to see charts comparing the overall
compilation time versus the number of files vs the number of remote
workers.  Especially for various network connection links between the
client and the volunteer machines versus the performance of the hardware
storage. :-)

Speaking about improving some compilation performances, it could be nice
to have a kind of optional ccache [1].  For instance,

  guix build foo --cache
  edit foo-recipe
  guix build foo --cache

would avoid to rebuild again and again the same parts.


Cheers,
simon

1: 



Re: guix package build: can distcc be used?

2023-01-06 Thread Vagrant Cascadian
On 2023-01-06, zimoun wrote:
> On Sun, 25 Dec 2022 at 18:21, Adam Faiz  wrote:
>
>> It's unknown whether implementing usage of distcc and enabling it in 
>> `guix build` will affect bit-for-bit reproducibility of packages.
>
> The question is how isolated the distributed computational environments
> are.
>
>> The distcc feature request and adding distcc to guix's dependency 
>> closure and should be discussed further on guix-devel before implementing.
>
> Personally, I am missing what distcc brings compared to the current
> Guix offload mechanism.  Could you (distcc user) elaborate?

I believe distcc would allow sending the workload of individual parts of
a single package to multiple machines, so a bit finer grained than guix
offload, which can only send a single package (or more accurately,
derivation?) to each of the offloading machines, if I understand
correctly.


live well,
  vagrant


signature.asc
Description: PGP signature


Re: guix package build: can distcc be used?

2023-01-06 Thread zimoun
Hi,

On Sun, 25 Dec 2022 at 18:21, Adam Faiz  wrote:

> It's unknown whether implementing usage of distcc and enabling it in 
> `guix build` will affect bit-for-bit reproducibility of packages.

The question is how isolated the distributed computational environments
are.

> The distcc feature request and adding distcc to guix's dependency 
> closure and should be discussed further on guix-devel before implementing.

Personally, I am missing what distcc brings compared to the current
Guix offload mechanism.  Could you (distcc user) elaborate?


Cheers,
simon



Re: guix package build: can distcc be used?

2022-12-25 Thread Adam Faiz

curious if distcc can be used for building packages in Guix?

If yes that can reduce the time spent in building significantly.
Currently, guix build doesn't support distcc for distributing individual 
source code files for compilation.
However, guix offload can be used to offload the whole build jobs to 
another trusted machine(s).


It's unknown whether implementing usage of distcc and enabling it in 
`guix build` will affect bit-for-bit reproducibility of packages.


The distcc feature request and adding distcc to guix's dependency 
closure and should be discussed further on guix-devel before implementing.




guix package build: can distcc be used?

2022-12-24 Thread Andy Tai
curious if distcc can be used for building packages in Guix?

If yes that can reduce the time spent in building significantly.