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] perfcounter interpretation

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] perfcounter interpretation
From: David Becker <becker@xxxxxxxxxxx>
Date: Thu, 6 Jan 2005 12:53:31 -0500
Delivery-date: Thu, 06 Jan 2005 19:35:57 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040722i
I turned on the perf counters for the first time and ran some iperf tests
to try them out.

This is with yesterday's rev of 2.0-testing with ignorebiostables=1.
iperf is run on xen0.  No xenUs exist, xend is not running, and the
etherbridge is not installed.

The 10 second tx test sent 260MB in 200K packets, and got 95K ACKs back.
xenperf says calls_to_mmu_update and num_page_updates both went up about 180K.
So I guessed these counters should go up once per tx packet.
map_domain_mem went up 95K.  That goes up once per rx packet?

Apparently not though.  The 10 sec rx test also moved 260MB, receiving
180K packets but only sending 30K ACKs (from the ifconfig stats; TCP
must be coalescing lots of ACKs whenever it can squeeze and ACK out).

This time xenperf says calls_to_mmu_update and num_page_updates again
went up 170K, which would seem to correspond more with the rx packets
than tx as I first thought.

map_domain_mem went up 85K, which doesn't match anything.

So what should the perfcounters do while xen0 streams packets?

For each test, about 100K interrupts occured (these are the real PCI intrs?)
and there were 900 apic timer interrupts, 2500 context switches, and 7000 runs
thru sceduler.


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] perfcounter interpretation, David Becker <=