Skip to content

Multiple Envs performance #271

@leopt4

Description

@leopt4

Hi!
I am running learn.py with n_envs=8, open htop and see at one time, there is only one cpu core 100% while another are approximately 0. And there is only 1 thread running. Meanwhile I tried ./parallelism.sh, at least 4 cores running and there are 4 or 16 thread running.
It means I am running all envs in one core, right?
There are 16 cores in my cpu. Can I run each env in each core of cpu?
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions