Skip to content

Too many threads -> go green ? #118

@asmodehn

Description

@asmodehn

rospy create multiple threads in a few places...

This means there is one thread per topic (publisher side for async send) it seems.

These threads being OS threads, there will be fighting for CPU resources in OS scheduler (with context switching overhead).

It would be nice to propose alternatives to the user...

Maybe pyros could duck punch the threading module for rospy and allow using greenthreads ?

or maybe a patch directly in rospy ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions