Comments (2)
Yeah, right now there isn’t any parallelism in that code. Adding parallelism to it (though bounded) would speed up things significantly.
It looks like the fix you wrote for it is for a relatively old version of Buildbarn. In the latest version of the source tree it’s likely easier to implement. All of the build directory population code is now constrained to this type:
https://github.com/buildbarn/bb-remote-execution/blob/master/pkg/builder/naive_build_directory.go
Relatedly, uploads could be parallelized by extending this code:
from bb-remote-execution.
Even though it's still the case that the native input root population is single threaded, I am going to close this issue. In my opinion nobody should spend any time trying to optimise support for native input roots. There is no need to sugar coat it.
FUSE/NFSv4 is the way to go, and the implementation we have is pretty robust at this point. We recently added support for the File System Access Cache, meaning that FUSE/NFSv4 is lazy loading and capable of prefetching files in parallel.
from bb-remote-execution.
Related Issues (20)
- Failed to build bb-remote-execution on Windows HOT 2
- Service resolution via Consul HOT 1
- BuildBarn always resolves symlinks to origin files HOT 9
- Buildbarn allows action to write under user home directory HOT 2
- Support remote persistent workers HOT 1
- Is it possible to allow for the setting of priorities or weights for workers? HOT 3
- Mount '/proc' into chrooted actions HOT 5
- Bazel build fails if remote worker is being downscaled during build HOT 1
- Linux sandboxing / network blocking HOT 4
- Missing output files are ignored by bb-worker HOT 2
- Publish multi-arch images with arm64 HOT 1
- Fuse worker has missing output directories compared to hardlinking worker HOT 3
- Failed to create hardlink to cached file "xxx": file exists HOT 3
- Instance name lost when ExecuteRequest arrives in scheduler HOT 6
- Scheduler does not reschedule on Internal Errors HOT 5
- Scheduler should report action as Executing when it starts, instead of waiting until ExecutionUpdateInterval
- Scheduller validation breaks after docker image: 20210430T150052Z-ed1e2f4 HOT 2
- Building bb_runner and bb_worker fails on Mac M1/arm64 HOT 16
- RequestMetadata extraction does not work with Bazel HOT 2
- scheduler handles workers above maximum size poorly HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bb-remote-execution.