Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

btpand uses a lot of CPU

3 views
Skip to first unread message

Daniel O'Connor

unread,
Jul 4, 2009, 1:59:53 AM7/4/09
to freebsd-...@freebsd.org
Hi,
I have btpand working OK, however I notice that it uses a lot of CPU
(20-70% of a Pentium-M 1.4GHz) even when idle.

hcidump doesn't show any untoward activity and I'm not sure how to go
about debugging it..

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

signature.asc

Iain Hibbert

unread,
Jul 4, 2009, 4:38:35 AM7/4/09
to Daniel O'Connor, freebsd-...@freebsd.org
On Sat, 4 Jul 2009, Daniel O'Connor wrote:

> I have btpand working OK, however I notice that it uses a lot of CPU
> (20-70% of a Pentium-M 1.4GHz) even when idle.
>
> hcidump doesn't show any untoward activity and I'm not sure how to go
> about debugging it..

perhaps it is looping?

You could build it with -DEVENT_DEBUG and enable LOG_DEBUG messages in
syslogd.conf that might show more information..

iain

Alexander Motin

unread,
Jul 4, 2009, 7:09:01 AM7/4/09
to Daniel O'Connor, freebsd-...@freebsd.org
Daniel O'Connor wrote:
> I have btpand working OK, however I notice that it uses a lot of CPU
> (20-70% of a Pentium-M 1.4GHz) even when idle.

What system version do you use? There was a bug causing high CPU usage
fixed few months ago.

--
Alexander Motin

Daniel O'Connor

unread,
Jul 6, 2009, 7:32:44 AM7/6/09
to Alexander Motin, freebsd-...@freebsd.org

Ah yes, it is a bit stale, I updated event.c and now it's all good.

Thanks!

signature.asc
0 new messages