Skip to content

Loading in large file sets with multi-core processing and 'iris.load' #4406

Closed Answered by trexfeathers
dannymcculloch asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dannymcculloch, are you certain this isn't already happening? Iris is built on top of the Dask package, which in most (🤞) cases takes care of multi-processing automatically. I've just tested on some UM files, merging them together in Iris, and all my processors are engaged while this is happening.

Given this use of Dask, I'd advise extreme caution if you're thinking of adding your own layer of parallelism as they can interact unpredictably (with both layers attempting to engage all processors, giving you n-processes squared!).

If you need your script(s) to run faster, you should therefore hopefully be able to just throw more processors at the problem without any further work.

There ar…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@dannymcculloch
Comment options

@trexfeathers
Comment options

Answer selected by dannymcculloch
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants