From: Andrew Theurer <habanero@us.ibm.com>
To: "Santos, Jose Renato G" <joserenato.santos@hp.com>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>,
xen-devel@lists.xensource.com, "Turner,
Yoshio" <yoshio_turner@hp.com>,
Aravind Menon <aravind.menon@epfl.ch>,
G John Janakiraman <john@arivalai.hpl.hp.com>,
William Cohen <wcohen@redhat.com>
Subject: Re: More network tests with xenoprofile this time
Date: Tue, 21 Jun 2005 21:22:20 -0500 [thread overview]
Message-ID: <42B8CB5C.7060106@us.ibm.com> (raw)
In-Reply-To: <6C21311CEE34E049B74CC0EF339464B924B3E0@cacexc12.americas.cpqcorp.net>
FWIW, I took a look at find_domain_by_id() and swapped out the rw lock
with a spin lock for domlist_lock. The time spent in the this function
was reduced by 18%. This function was certainly not the "hottest" one I
recorded while running netperf, but every little bit helps I suppose.
Below are before/after xenoprofile snippets:
before:
547036 6.32 xen-unstable-syms mask_and_ack_level_ioapic_irq
510448 5.90 xen-unstable-syms end_level_ioapic_irq
463386 5.35 vmlinux-2.6.11-xen0-up net_tx_action
371072 4.29 tg3.ko tg3_interrupt
261341 3.02 xen-unstable-syms find_domain_by_id
237601 2.75 xen-unstable-syms hypercall
228649 2.64 vmlinux-2.6.11-xen0-up nf_iterate
215634 2.49 xen-unstable-syms do_update_va_mapping
214077 2.47 vmlinux-2.6.11-xen0-up net_rx_action
after:
549276 6.35 xen-unstable-syms mask_and_ack_level_ioapic_irq
511693 5.91 xen-unstable-syms end_level_ioapic_irq
466873 5.39 vmlinux-2.6.11-xen0-up net_tx_action
375702 4.34 tg3.ko tg3_interrupt
239219 2.76 xen-unstable-syms hypercall
230641 2.67 vmlinux-2.6.11-xen0-up nf_iterate
220480 2.55 xen-unstable-syms do_update_va_mapping
217472 2.51 tg3.ko tg3_rx
217029 2.51 vmlinux-2.6.11-xen0-up net_rx_action
214271 2.48 xen-unstable-syms find_domain_by_id
Has anyone thought about using read-copy-update in Xen?
I plan on looking at the two irq functions next.
-Andrew
next prev parent reply other threads:[~2005-06-22 2:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-17 19:39 More network tests with xenoprofile this time Santos, Jose Renato G
2005-06-22 2:22 ` Andrew Theurer [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-06-01 0:15 Santos, Jose Renato G
2005-06-07 21:47 ` William Cohen
2005-06-08 19:20 ` Andrew Theurer
2005-05-31 22:48 Ian Pratt
2005-06-01 20:03 ` Jon Mason
2005-06-01 20:21 ` Andrew Theurer
2005-06-02 14:53 ` Andrew Theurer
2005-05-31 22:16 Ian Pratt
2005-05-31 22:38 ` Andrew Theurer
2005-05-31 22:01 Andrew Theurer
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=42B8CB5C.7060106@us.ibm.com \
--to=habanero@us.ibm.com \
--cc=aravind.menon@epfl.ch \
--cc=john@arivalai.hpl.hp.com \
--cc=joserenato.santos@hp.com \
--cc=m+Ian.Pratt@cl.cam.ac.uk \
--cc=wcohen@redhat.com \
--cc=xen-devel@lists.xensource.com \
--cc=yoshio_turner@hp.com \
/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.