-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JobManagerType documentation? #10
Comments
Original comment by alan piszcz (Bitbucket: apiszcz, GitHub: apiszcz).
|
Original comment by Sam Gillingham (Bitbucket: gillins, GitHub: gillins). You may have to use the |
Original comment by alan piszcz (Bitbucket: apiszcz, GitHub: apiszcz). The version below with addThem outside of the scope of main runs, however it is ~17% slower compared to no multiprocessing. No multiprocessing: 130 seconds
|
Original comment by Neil Flood (Bitbucket: neilflood, GitHub: neilflood). Hi Alan, sounds like Sam's suggestion was the key to getting it working on Windows. That's good. I should remind you of the documentation at [http:https://rioshome.org/en/latest/rios_parallel_jobmanager.html#module-rios.parallel.jobmanager](Link URL), which emphasizes that the use of parallel sub-jobs is only of benefit for tasks which are substantially compute-bound. Most simple raster processing tasks (like adding two rasters together) are I/O bound, and do not benefit at all. As your test shows, the overhead of passing the data out to the sub-jobs makes the performance worse. I am glad you got a simple example to work, though. Neil |
Original report by Anonymous.
I'm getting the following error with muliprocessing JobManagerType using the addimage sample. Single threaded it works fine.
The text was updated successfully, but these errors were encountered: