WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: how to avoid lost trace records?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: how to avoid lost trace records?
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Fri, 19 Nov 2010 22:30:41 +0100
Delivery-date: Fri, 19 Nov 2010 13:32:43 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1290202251; l=3123; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=JbPKjIuXQ92pEzIRj3t/kZrV4G4=; b=jgVzBA+b+pLN+gfKqtkVLVizhvTqWvE0jgVXkGeJqdBDT6R4V9PxONt/lRAxLKTRPEj GTy4QnmJOhDt71hncHMP/0BLkX+4KjMgovFc5d5FASO7g+DUNg7xH9t7BQ8EKsMbUolYe R3sGoBzEainv0nIy0Ok6EbfpTmYUB6g+yqo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101119154652.GA11544@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20101119154652.GA11544@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Fri, Nov 19, Olaf Hering wrote:

> Today I inspected the xenalyze and the dump-raw output and noticed that
> huge number of lost trace records, even when booted with tbuf_size=200:

Adding some silly debug to insert_lost_records() to record the count of
the individual lost events shows lots of hypercall and stuff.
However, its odd that 20f101 gets past the 10f000 tb_event_mask in
__trace_var().

                 array index, cpu, event, number
(XEN) tb_control tb_event_mask 10f000
(XEN) trace.c:256:d0 tb_set_size from 239 to 20 not implemented
(XEN) insert_lost_records #0 c 2 e 20f101 n 7545b
(XEN) insert_lost_records #1 c 2 e 20f104 n 22de8
(XEN) insert_lost_records #2 c 2 e 21211 n 169e
(XEN) insert_lost_records #3 c 2 e 28004 n 16f2
(XEN) insert_lost_records #4 c 2 e 28006 n 183a
(XEN) insert_lost_records #5 c 2 e 2800e n 2fdb
(XEN) insert_lost_records #6 c 2 e 2800f n 2fdb
(XEN) insert_lost_records #7 c 2 e 2800a n 2fdb
(XEN) insert_lost_records #8 c 2 e 21021 n 17f2
(XEN) insert_lost_records #9 c 2 e 21101 n 2fdb
(XEN) insert_lost_records #10 c 2 e 21011 n 17df
(XEN) insert_lost_records #11 c 2 e 20f008 n ce
(XEN) insert_lost_records #12 c 2 e 20f103 n 717
(XEN) insert_lost_records #13 c 2 e 20f10b n 1145
(XEN) insert_lost_records #14 c 2 e 20f106 n 16f
(XEN) insert_lost_records #15 c 2 e 21002 n 97
(XEN) insert_lost_records #16 c 2 e 801001 n 5a
(XEN) insert_lost_records #17 c 2 e 802001 n 21b4
(XEN) insert_lost_records #18 c 2 e 802002 n 21b3
(XEN) insert_lost_records #19 c 2 e 21031 n a
(XEN) insert_lost_records #20 c 2 e 21311 n a
(XEN) insert_lost_records #21 c 2 e 1f004 n 1
(XEN) insert_lost_records #22 c 2 e 10f005 n 800
(XEN) insert_lost_records #23 c 2 e 10f03b n 800
(XEN) cpupool_add_domain(dom=1,pool=0) n_dom 2
(XEN) insert_lost_records #0 c 3 e 20f101 n 7c4df
(XEN) insert_lost_records #1 c 3 e 20f104 n 219b6
(XEN) insert_lost_records #2 c 3 e 20f103 n b28
(XEN) insert_lost_records #3 c 3 e 28006 n 1a31
(XEN) insert_lost_records #4 c 3 e 2800e n 33e2
(XEN) insert_lost_records #5 c 3 e 2800f n 33e2
(XEN) insert_lost_records #6 c 3 e 2800a n 33e2
(XEN) insert_lost_records #7 c 3 e 21021 n 19db
(XEN) insert_lost_records #8 c 3 e 21101 n 33e2
(XEN) insert_lost_records #9 c 3 e 802001 n 29db
(XEN) insert_lost_records #10 c 3 e 802002 n 29da
(XEN) insert_lost_records #11 c 3 e 21011 n 19f9
(XEN) insert_lost_records #12 c 3 e 21211 n 1b99
(XEN) insert_lost_records #13 c 3 e 28004 n 1de4
(XEN) insert_lost_records #14 c 3 e 20f008 n f3
(XEN) insert_lost_records #15 c 3 e 801001 n 53
(XEN) insert_lost_records #16 c 3 e 20f10b n 10d7
(XEN) insert_lost_records #17 c 3 e 21002 n ad
(XEN) insert_lost_records #18 c 3 e 21031 n e
(XEN) insert_lost_records #19 c 3 e 21311 n e
(XEN) insert_lost_records #20 c 3 e 20f106 n 28c
(XEN) insert_lost_records #21 c 3 e 1f004 n 529
(XEN) insert_lost_records #0 c 3 e 10f005 n 1c7a6
(XEN) insert_lost_records #1 c 3 e 10f03b n f1
(XEN) insert_lost_records #0 c 5 e 20f101 n 7134e
(XEN) insert_lost_records #1 c 5 e 20f104 n 23dc3
(XEN) insert_lost_records #2 c 5 e 20f103 n 62b
...

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel