Skip to content

Batch processing multi-core question #23

Description

@gcmestre

Hey,

Thank you for the work done on this lib.

I was testing the batch processing, in the same computer with the same dataset and got the following results when testing different number of cpu settings on windows and on Linux.

Everything is the same only the number of cores in dataset.process_all(settings, verbose=True, cores=1) changes.
My example has 3 chromatograms.

On windows:

  • 1 core - 589 s
  • 2 cores - 291 s
  • 8 cores - 428 s

On Linux:

  • 1 core - 146 s
  • 2 cores - 135 s
  • 8 cores -170 s

I was not expecting the performance to not increase when setting more cores. Moreover when running mocca2 batch processing on Linux and settings CPU=1 I verify that it actually uses more then 1 core always. It splits the work into multiple cores.

So my question is if anyone has any ideia why I'm experiencing this results and why if I set to run in 1 cores the work is actually done is multiple cores.

Thank you for the support.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions