Comments (3)
I'll answer the last question first.
Like with #4 , this can also get a bit site-specific. By default, every scheduler I know of will only request one core by default. Sometimes that will be restricted to one actual core via cgroups or taskset and other times it will just be a gentleman's agreement that if you're requesting a core, you'll only use a core and nothing will actually prevent you from using all the cores on a box.
With Grid Engine and its derivatives, you request more than one core with a "parallel environment". The common ones are named, by convention (but by no means universally) "smp" and "mpi". These are also requested with template.nativeSpecification (nativeSpecification = "-pe smp 10"
will for instance give you 10 cores on the same host. -pe mpi 10
will give you 10 cores, but not guaranteed to be on the same host and the process must be started with MPI. that's likely out of scope for this project. :)
Given that 1-core non-parallel-environment jobs will likely be scheduled fastest, the easiest thing to do is probably to schedule as many of those as possible in an array job (as DRMAACluster seems to be doing) and only use a single thread/core.
from dask-drmaa.
OK, using a single core by default seems like the sane default choice, perhaps coupled with some release valve to let people pass through their own specific options.
from dask-drmaa.
Have opened issue ( #66 ) to discuss more how resources could be configured by checking the scheduler implementation with DRMAA and thus passing through the appropriate flags with such settings. We can also forward this information to the dask-worker
running in that job so that it is aware what the scheduler job was configured with.
from dask-drmaa.
Related Issues (20)
- Munge authentication failure on SGE HOT 6
- Refresh DRMAACluster docstring HOT 1
- test_adaptive's test_adaptive_memory times out HOT 2
- CI failure in test_stop_single_worker on Python 3 HOT 2
- Unable to start SGE workers via docker-compose on Windows 8.1 HOT 6
- Move back towards Distributed's _retire_workers method HOT 5
- Make resource constraints first class citizens
- Release? HOT 2
- How to limit number of threads for a DRMAACluster worker? HOT 7
- Allow setting ip of scheduler HOT 1
- Docstring of `DRMAACluster` does not match function signature HOT 1
- outputPath and errorPath are ignored HOT 3
- New release? HOT 6
- Give absolute path to worker script HOT 4
- Does not work with user install of dask HOT 4
- Closing all workers HOT 2
- test_stop_single_worker failing on CI HOT 4
- worker_info dict has no key 'name' HOT 3
- distributed.utils.ignoring no longer exists - should be replaced with contextlib.suppress HOT 4
- Archive this repository 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 dask-drmaa.