Skip to content

Parallel processing slowing down with time on a large dataset #835

Description

@Karltlbm

Hello lidR,

Not sure if it is a lidR or future topic, or even something else because I am not an expert in parallel computing.

I am using the catalog_apply function along with the future library for parallel processing and my data originates from drone acquisitions which makes them very heavy in terms of size, which is why I have set a relatively small tile size.

The main catalog engine parameters are:
resolution = 1.0
n_cores = 20
size_tile = 100
size_buffer = 25

At the beginning of the process, I can clearly see around 20 tiles and cores active, which is perfect.

Then, it seems that the processing speed slows down as the processing advances.

For example, almost at the end of the tile processing:

Image

We can see that only 7 tiles are being processed.

Image

Also, my cores do not seem to work at their full potential, looking at the htop screenshot, right ?

Have you already experienced this behavior ?

Thanks in advance :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions