btpand uses a lot of CPU

View: New views
4 Messages — Rating Filter:   Alert me  

btpand uses a lot of CPU

by Daniel O'Connor-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 (195 bytes) Download Attachment

Re: btpand uses a lot of CPU

by Iain Hibbert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

_______________________________________________
freebsd-bluetooth@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to "freebsd-bluetooth-unsubscribe@..."

Parent Message unknown Re: btpand uses a lot of CPU

by Alexander Motin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
freebsd-bluetooth@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to "freebsd-bluetooth-unsubscribe@..."

Re: btpand uses a lot of CPU

by Daniel O'Connor-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 4 Jul 2009, Alexander Motin wrote:
> 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.

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

Thanks!

--
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 (195 bytes) Download Attachment