Hey All, I've been working on trying to get asterisk to play nice under Xen and I've run into a bit of a road block. I'm not using any hardware stuff only ztdummy. First I had issues getting ztdummy to work but that was solved by recompiling the xenU kernel to have CONFIG_CRC_CCITT=y which it was missing. Now ztdummy is seen fine in the virtual machine though when I run zttest I get horrible results, so I haven't even bothered to test any config yet. This results are the same for the host machine and the virtual machine. --- Results after 21 passes --- Best: 0.000000 -- Worst: -800.012207 -- Average: -799.998233 Anyone know if this is normal, is there a patch/other kernel options or something that is needed so that ztdummy works correctly? Thanks John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060209/61048944/attachment.htm
Get to answer my own post. I found an article that talks about the need for 1000HZ timing in the kernel for ztdummy to work properly. Xen's kernel builds default to 100HZ just like 2.4 kernels. I changed the values to 1000 in /xen-3.0.0/linux-2.6.12-xenU/include/asm-xen/asm/param.h and xen/include/asm-x86/config.h And recompiled and now I get decent results --- Results after 51 passes --- Best: 99.987793 -- Worst: 99.829102 -- Average: 99.972953 Any other xen "gotchas" I should know about? Thanks John ________________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of John Cianfarani Sent: Thursday, February 09, 2006 5:49 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Asterisk and Xen Hey All, I've been working on trying to get asterisk to play nice under Xen and I've run into a bit of a road block. I'm not using any hardware stuff only ztdummy. First I had issues getting ztdummy to work but that was solved by recompiling the xenU kernel to have CONFIG_CRC_CCITT=y which it was missing. Now ztdummy is seen fine in the virtual machine though when I run zttest I get horrible results, so I haven't even bothered to test any config yet. This results are the same for the host machine and the virtual machine. --- Results after 21 passes --- Best: 0.000000 -- Worst: -800.012207 -- Average: -799.998233 Anyone know if this is normal, is there a patch/other kernel options or something that is needed so that ztdummy works correctly? Thanks John
-----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Tzafrir Cohen Sent: Thursday, February 09, 2006 6:33 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Asterisk and Xen On Thu, Feb 09, 2006 at 06:23:26PM -0500, John Cianfarani wrote:> Get to answer my own post. I found an article that talks about theneed for> 1000HZ timing in the kernel for ztdummy to work properly. Xen'skernel> builds default to 100HZ just like 2.4 kernels. > > I changed the values to 1000 in > /xen-3.0.0/linux-2.6.12-xenU/include/asm-xen/asm/param.h and > xen/include/asm-x86/config.h > And recompiled and now I get decent resultsDoes the RTC code of ztdummy work in Xen? How would I check that?>From thishttp://project-xen.web.cern.ch/project-xen/xen/howto_slcXen.html under Time Sync it seems like the RTC is handled by the host machine by default. Thanks John