Re: Proposal for Remote Execution



On Thu, 2018-05-10 at 15:31 +0100, Jim MacArthur wrote:
It seems to me that the existing filesystem-based system could just run 
through our CAS-FUSE when we implement that. I can't think of any 
particular reason that would be slow, although it'd be worth testing 
when we have it. If that does turn out to be a viable option, doesn't 
that make the CAS-backed virtual directory implementation (and in fact 
the whole virtual directory system) redundant?

Staging build dependencies and sources will be much faster with the
CAS-backed virtual directory system. You can virtually import/copy a
directory tree with thousands of files with a single Merkle tree
manipulation. Via FUSE you'd still need a syscall for every file and
that syscall would in turn require a context switch on the FUSE
implementation as well, i.e., it would be even slower than the current
staging using the local filesystem.

Jürg


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]