All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frederic Dalleau <frederic.dalleau@access-company.com>
To: Tim Chick <chick@computergeek.freeserve.co.uk>
Cc: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] Question about poll() - was Re: a2dpd and mplayer - any chance to get it working?
Date: Thu, 05 Apr 2007 10:59:09 +0200	[thread overview]
Message-ID: <4614BA5D.5010701@access-company.com> (raw)
In-Reply-To: <200703271501.49792.chick@computergeek.freeserve.co.uk>

Hi,
I'm investigating the problem tim talked about :
>>> I am using CVS from last night, and I see basically 100% CPU usage
>>> from a2dpd, with mpg321 and mplayer whilst it is streaming.
>>>       =

While I don't get 100% on arm I got a significant cpu usage which the =

previous btsco was not doing.
When streaming a2dpd is calling poll with small timeouts (like 1 ms) to =

ensure packets get sent at right time.
If poll(x,y,1) is replaced by usleep(1); poll(x,y,0) then cpu usage fall =

back to 0.

This means the poll call itself is burning cpu. Mmmm, I think this is =

strange.
Any ideas? What's the best place to find information for question like this?

Fr=E9d=E9ric


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2007-04-05  8:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-15  2:26 [Bluez-devel] a2dpd and mplayer - any chance to get it working? Robert Huitl
2007-01-17  7:03 ` [Bluez-devel] RE : " Frederic Dalleau
2007-01-17 18:05   ` [Bluez-devel] " Robert Huitl
2007-01-17 18:35   ` [Bluez-devel] RE : " Fabien Chevalier
2007-01-17 19:15     ` Brad Midgley
2007-01-18 17:50       ` Fabien Chevalier
2007-01-28 19:30   ` [Bluez-devel] " Robert Huitl
2007-01-29  3:01     ` Brad Midgley
2007-02-02 16:55       ` Frédéric DALLEAU
2007-02-06 19:25         ` Michael Frey
2007-03-27 10:39         ` Tim Chick
2007-03-27 13:33           ` Frederic Dalleau
2007-03-27 14:01             ` Tim Chick
2007-04-05  8:59               ` Frederic Dalleau [this message]
2007-04-06  5:17                 ` [Bluez-devel] Question about poll() - was " Brad Midgley
2007-04-06 16:05               ` [Bluez-devel] " Frederic Dalleau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4614BA5D.5010701@access-company.com \
    --to=frederic.dalleau@access-company.com \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=chick@computergeek.freeserve.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.