All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Becker <becker@cs.duke.edu>
To: xen-devel@lists.sourceforge.net
Subject: perfcounter interpretation
Date: Thu, 6 Jan 2005 12:53:31 -0500	[thread overview]
Message-ID: <20050106175331.GY3078@cs.duke.edu> (raw)


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

                 reply	other threads:[~2005-01-06 17:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20050106175331.GY3078@cs.duke.edu \
    --to=becker@cs.duke.edu \
    --cc=xen-devel@lists.sourceforge.net \
    /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.