public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Markus Rechberger <mrechberger@empiatech.com>
Cc: Video <video4linux-list@redhat.com>
Subject: Re: [ANNOUNCE] Videobuf improvements to allow its usage with USB drivers
Date: Sun, 13 Apr 2008 18:42:47 -0300	[thread overview]
Message-ID: <20080413184247.0e413896@areia> (raw)
In-Reply-To: <674190.766.qm@web906.biz.mail.mud.yahoo.com>

On Sun, 13 Apr 2008 23:38:24 +0200 (CEST)
Markus Rechberger <mrechberger@empiatech.com> wrote:

> 
> --- Mauro Carvalho Chehab <mchehab@infradead.org>
> schrieb:
> 
> > > my eeePC shows up 0-5% CPU usage with mplayer
> > > fullscreen without videobuf, seems more like
> > > something's broken in your testapplication or
> > > somewhere else?
> > 
> > The test application (capture_example) is the one
> > documented at the V4L2 spec.
> > The only difference is that I've incremented count
> > to 1000, to get more frames.
> > I don't see what's wrong on it.
> > 
> 
> I just tested capture_example on the eeePC (again non
> videobuf).
> 
> $ time ./capture_example
> .................. (printed this around 100 times?)
> real   0m4.312s
> user   0m0.010s
> sys    0m0.000s
> 
> strace clearly shows up VIDIOC_QBUF, VIDIOC_DQBUF.
> 
> So the question is rather what makes the results so
> bad on your system. 
> How can the userspace application go up to 100%, while
> the system isn't that busy?

Are you running your tests against the in-kernel version? Also, you're running
with count = 100 (the 100 dots). You need to edit the example code, and move to
1000 to have the same basement as I used here.

Cheers,
Mauro

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2008-04-13 21:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-13 15:28 [ANNOUNCE] Videobuf improvements to allow its usage with USB drivers Mauro Carvalho Chehab
2008-04-13 15:43 ` Markus Rechberger
2008-04-13 16:17   ` Markus Rechberger
2008-04-13 20:22     ` Mauro Carvalho Chehab
2008-04-13 20:34       ` Markus Rechberger
2008-04-13 20:49         ` H. Willstrand
2008-04-13 20:55           ` Markus Rechberger
     [not found]           ` <6gvfio$4n3l24@rrcs-agw-01.hrndva.rr.com>
2008-04-14  0:08             ` video4linux help Markus Rechberger
2008-04-14 10:26               ` H. Willstrand
2008-04-14 20:26             ` Mauro Carvalho Chehab
2008-04-13 21:10         ` [ANNOUNCE] Videobuf improvements to allow its usage with USB drivers Mauro Carvalho Chehab
2008-04-13 21:38           ` Markus Rechberger
2008-04-13 21:42             ` Mauro Carvalho Chehab [this message]
2008-04-13 21:54               ` Markus Rechberger
2008-04-13 22:02                 ` Markus Rechberger

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=20080413184247.0e413896@areia \
    --to=mchehab@infradead.org \
    --cc=mrechberger@empiatech.com \
    --cc=video4linux-list@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox