speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix high CPU usage when the output module unexpectedly stops


From: Chris Brannon
Subject: [PATCH] Fix high CPU usage when the output module unexpectedly stops
Date: Wed, 25 Sep 2013 11:04:41 -0700

Gilles Casse <gcasse at oralux.org> writes:

> Speech-dispatcher can consume most of cpu resources if the output module 
> stops.
>
> For example, this issue can be observed on fedora 19 with speech dispatcher 
> 0.8, when the user logins from a gdm with screen reader on.
> Then, the output modules used by gdm are stopped which is followed by a high 
> cpu usage. 

I looked at your patch.  Basically, you kill Speech Dispatcher if one of
the output modules stops.
That certainly solves the problem.  Maybe it would be nice if SD could
gracefully switch to a new module or restart the one that
stopped.  But what you have here is good enough for me.  If there are no
objections, I'll push it for you.

-- Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]