From: Lei Ye Subject: synchronization between domUs Date: Fri, 5 Jun 2009 15:52:46 -0700 Message-ID: <98754e800906051552q15b5472dvdc54776a49cb26ef@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0918874166==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0918874166== Content-Type: multipart/alternative; boundary=001636e1faec40bb6f046ba1c0f0 --001636e1faec40bb6f046ba1c0f0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all, I am doing the tracing work in Xen. I run two DomUs, and both have the same built xen 2.6.18.8 kernel. Each domain U has a filesystem image file mounted as root and run X11 GUI mode. I modfiy the kernel source code and direct the two domU logs to remote syslog server via printk/syslog. The problem I found is that multiple domainUs are to some extents time-correlated if both are idle, for example, the crond daemons execute the scripts almost at the same period although the domUs boots at different time. Can someone tell whether there is explicit synchronization done for DomUs in Xen? Why are they synchronized, like some system daemons? Another problem is because I use the kernel ring buffer to cache the log information from kernel, some log in the kernel ring buffer has been wrapped by new log so that some log can't be written to log file. The default kernel buffer size config is 16KB, and I tried to increase it to 128KB. However, log missing problem is still there. Especially running I/O benchmarks, the trace missing problem is more severe. These tracing log records the I/O activity within the domU kernels, covering read and write paths. Does someone have alternative ideas for this problem. Your answers are appreciated. Alex --001636e1faec40bb6f046ba1c0f0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Hi all,
=A0
I am doing the tracing work in Xen. I run two DomUs, a= nd both have the same built xen 2.6.18.8 kernel. Each domain U has a filesy= stem image file mounted as root and run X11 GUI mode. I modfiy the kernel s= ource code and direct the two domU logs to remote syslog server via printk/= syslog. The problem I found is that multiple domainUs are to some extents t= ime-correlated if both are idle, for example, the crond daemons execute the= scripts almost at the same period although the domUs boots at different ti= me. Can someone tell whether there is explicit synchronization done for Dom= Us in Xen? Why are they synchronized, like some system daemons?

Another problem is because I use the kernel ring buffer to cache the log= information from kernel, some log in the kernel ring buffer has been wrapp= ed by new log so that some log can't be written to log file. The defaul= t kernel buffer size config is 16KB, and I tried to increase it to 128KB. H= owever, log missing problem is still there. Especially running I/O benchmar= ks, the trace missing problem is more severe. These tracing log records the= I/O activity within the domU kernels, covering read and write paths. Does = someone have alternative ideas for this problem.

Your answers are appreciated.

Alex

--001636e1faec40bb6f046ba1c0f0-- --===============0918874166== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0918874166==--