|
From: | Bernd Ocklin |
Subject: | Re: [gpsd-dev] gpsd using excessive cpu |
Date: | Thu, 19 Nov 2015 17:07:30 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
On 2015-11-15 09:45, sean d'epagnier wrote:
From what I can tell, the pselect returns after every single byte received, and there is a lot of overhead between it returning until it is called again. If it could buffer to return only when a complete message is sent then it wouldn't use much cpu.
A super wild guess is that you use odd settings for your device. Maybe you post stty -F <your device> -a?
Bernd
[Prev in Thread] | Current Thread | [Next in Thread] |