From: "François Delawarde" <fdelawarde@wirelessmundi.com>
To: xen-devel@lists.xensource.com
Subject: Re: Zaptel PCI IRQ problem
Date: Fri, 18 May 2007 16:01:15 +0200 [thread overview]
Message-ID: <464DB1AB.8010604@wirelessmundi.com> (raw)
In-Reply-To: <8A87A9A84C201449A0C56B728ACF491E0BA6B2@liverpoolst.ad.cl.cam.ac.uk>
I actually first asked to asterisk mailing lists, and a few persons told
me that it was Xen's fault, as it was not yet 'mature' enough to have a
good IRQ handling under load.
Note that I made tests the last few days as I wasn't sure if it was Xen
or not, and the exact same system works perfectly with a normal Linux
kernel (same config file except for Xen stuff that are removed). A Dom-0
kernel without any VMs running comports itself the way I described
(bad), and I tried both schedulers (sedf and credit) without success.
It doesn't appear to be a load problem as the load is about the same
with the non-Xen kernel I tried, but with IRQ handling in load period.
I'm talking about a machine that is certainly not over-loaded, but that
once in a while suffers some iowait for disk access. Under Xen kernel,
if I kill everything I can and only leave Asterisk with at most one
simultaneous conversation, it works quite nice.
I'm using the debian (I think they actually come from fedora) patches
for 2.6.18, and just want to know if this issue is known or has/will
been/be resolved somehow in future versions, if there is anyway I can
deal with it with some kernel configuration, or if I should wait a few
months/years more to be able to use Xen in my specific setting.
Thanks,
François.
Ian Pratt wrote:
>> I'm currently trying to run an Asterisk server in a Xen kernel under
>> Dom0 (debian kernel 2.6.18 with xen hypervisor 3.0.4). I had read of
>> some possible timing issues with ztdummy (using rtc) under DomU, but I
>> have a zaptel compatible PCI card (TDM400P), and I experience big
>> problems with IRQ misses every time there is a bit of load on the server
>> (for example, when an HVM DomU is running). The card is supposed to
>> report 1000 interruptions per second, but it doesn't, and consequences
>> are horrible crackling sound in communications. Running the utility
>> zttest to check for the stability of those interrupts under a small bit
>> of load, i get:
>>
>
> I believe folk have had success running asterisk in a domU and assigning the PCI device directly to the guest. It's best to set the affinity masks for other guests and dom0 such that the domU with asterisk in it has a dedicated physical CPU core.
>
> We ran asterisk on an older version of Xen without any problems, and nothing has changed that should effect xen's ability to do this. [you could try using the sedf scheduler if you still have problems with 'credit']
>
> Ian
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>
prev parent reply other threads:[~2007-05-18 14:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-18 11:11 Zaptel PCI IRQ problem François Delawarde
2007-05-18 11:32 ` Ian Pratt
2007-05-18 14:01 ` François Delawarde [this message]
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=464DB1AB.8010604@wirelessmundi.com \
--to=fdelawarde@wirelessmundi.com \
--cc=xen-devel@lists.xensource.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 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.