From: Konrad Rzeszutek Wilk <konrad@kernel.org>
To: Javier Marcet <jmarcet@gmail.com>
Cc: Xen Devel Mailing list <xen-devel@lists.xen.org>
Subject: Re: Xen 4.2.0-rc4 issues with DVB tuner
Date: Tue, 18 Sep 2012 13:17:28 -0400 [thread overview]
Message-ID: <20120918171725.GA14462@phenom.dumpdata.com> (raw)
In-Reply-To: <CAAnFQG9PuzRLSsCS8m_0VUeV+ZaCwK3zsbinxtuFBfdSihJknw@mail.gmail.com>
On Tue, Sep 18, 2012 at 10:41:37AM +0200, Javier Marcet wrote:
> On Tue, Sep 18, 2012 at 2:08 AM, Javier Marcet <jmarcet@gmail.com> wrote:
>
> Hi,
>
> > Still nothing. Not even enabling the debug options within the DVB
> > subsystem I get
> > anything which doesn't look perfectly normal, exactly like when it's
> > working fine.
> >
> > I have just posted a message on the linux media mailing list looking
> > for some help
> > from the dvb maintainers.
>
> I have some news from the linux-media mailing list. There, Devin Heitmueller,
> said this:
>
> """
> > Initially I thought Xen would be the cause of the problem, but after
> > having written on
> > the Xen development mailing list and talked about it with a couple
> > developers, it isn't
> > very clear where the problem is. So far I haven't been able to get the
> > smallest warning
> > or error.
>
> This is a very common problem when attempting to use any PCI/PCIe
> tuner under a hypervisor. Essentially the issue is all of the
> virtualization solutions provide very poor interrupt latency, which
> results in the data being lost.
>
> Devices delivering a high bitrate stream of data in realtime are much
> more likely for this problem to be visible since such devices have
> very little buffering (it's not like a hard drive controller where it
> can just deliver the data slower). The problem is not specific to the
> cx23885 - pretty much all of the PCI/PCIe bridges used in tuner cards
> work this way, and they cannot really be blamed for expecting to run
> in an environment with really crappy interrupt latency.
>
> I won't go as far as to say, "abandon all hope", but you're not really
> likely to find any help in this forum.
> """
Not sure about the interrupt latency. If you run this little program
http://darnok.org/xen/read_interrupts.c
when capturing in both dom0 and in baremetal are the rate about the
same?
>
> What I don´t understand is how graphics pass through even works
> and a tuner card has problems due to the introduced latencies in the
> IRQs.
The latency is very very miniscule. One could actually verify that this
is a problem by inserting said latency in the driver so that under
baremetal the latency would show up.
But the other issue is that if the data is being lost you would at least
get some. So the buffers ought to have "something" in them? Maybe that
depends on what compression you use on the coder? If you jus do YUV420
or the RGB variants and just do a simple 'cat /dev/vide0 > /tmp/file'
does the output contain anything? Or is just a blob of empty data?
>
> Do you have any more info about this?
The other issue could be related to the vmalloc_32 being in usage
and not using the DMA API.
I recall posting a patch for this .. Ah:
http://lists.xen.org/archives/html/xen-devel/2012-01/msg01927.html
Perhaps this is the issue?
next prev parent reply other threads:[~2012-09-18 17:17 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-13 12:01 Xen 4.2.0-rc4 issues with DVB tuner Javier Marcet
2012-09-14 20:47 ` Konrad Rzeszutek Wilk
2012-09-16 14:57 ` Javier Marcet
2012-09-17 14:28 ` Konrad Rzeszutek Wilk
2012-09-17 15:02 ` Javier Marcet
2012-09-17 20:09 ` Javier Marcet
2012-09-17 20:56 ` Javier Marcet
2012-09-18 0:08 ` Javier Marcet
2012-09-18 8:41 ` Javier Marcet
2012-09-18 8:57 ` Keir Fraser
2012-09-18 10:52 ` Javier Marcet
2012-09-18 14:33 ` Sander Eikelenboom
2012-09-18 15:12 ` Javier Marcet
2012-09-18 16:08 ` Sander Eikelenboom
2012-09-18 16:22 ` Javier Marcet
2012-09-18 17:17 ` Konrad Rzeszutek Wilk [this message]
2012-09-18 18:26 ` Javier Marcet
2012-09-18 19:34 ` Konrad Rzeszutek Wilk
2012-09-18 19:57 ` Javier Marcet
2012-12-05 22:06 ` The neverending load increase Carsten Schiers
2013-01-07 16:29 ` Konrad Rzeszutek Wilk
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=20120918171725.GA14462@phenom.dumpdata.com \
--to=konrad@kernel.org \
--cc=jmarcet@gmail.com \
--cc=xen-devel@lists.xen.org \
/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;
as well as URLs for NNTP newsgroup(s).