2007-10-14 03:21:06

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: [Bluez-devel] PATCH2/2: bluez-utils - avoid-unnecessary-polls

Hi Kai,

On 10/12/07, Kai Vehmanen <[email protected]> wrote:
> Hello again,
>
> here's the second patch to ALSA A2DP plugin in bluez-utils
> (see my previous mail).
>
> This patch changes the worker thread poll timeout to be
> calculated according to application chosen period size.
> This allows to decrease the CPU load significantly for those
> applications that do not require an ultra small period
> size. Without the patch (poll timeout of 1msec), the system
> call load is pretty heavy...

This was done before but I guess for some reason I don't remember
now we remove it in favor of fixed timeout. Thought we should
reconsider it if it has a good impact on CPU load.

-- =

Luiz Augusto von Dentz
Engenheiro de Computa=E7=E3o

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel