Skip to content

High CPU load using jssc #77

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Just using 2 or more COM-Ports 

What is the expected output? What do you see instead?
Without COM-Ports 2-5% CPU load. 10% and more CPU load when using 2 or more 
COM-Ports.

What version of the product are you using? On what operating system?
2.8.0 on UbuntuServer 14.04

Please provide any additional information below.
Even without any thing happening on the cables (no sending or receiving) the 
load is high.
We discovered that the EventThread in PortHandle sleeps for only 100 
nanoseconds. We assume this is the problem - it is to low. Could it be 
parametrized with a standard of a 100ns? I think there's no necessity for a 
thread to sleep so little, or is there?

Original issue reported on code.google.com by Philippe...@gmail.com on 8 Dec 2014 at 11:12

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions