From: Jacob Gorm Hansen <jacobg@diku.dk>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: Small address spaces update
Date: Mon, 25 Apr 2005 20:41:45 -0700 [thread overview]
Message-ID: <426DB879.40805@diku.dk> (raw)
hi,
I have managed to get the 'small address spaces' hack running in
xen-unstable. I have relinked my dom0 userspace (busybox + vmtools) and
kernel to share the range 0xf0000000 - 0xfc000000, and my domU kernel to
stay below 0xf0000000, on x86-32.
I use the top part of the domU page directories as a cache for the
currently running I/O-domain (right now I only have one, dom0), and so
unless I need to update this cache I can context switch without flushing
the TLB. This saves more 99% af TLB flushes when doing simple I/O-bound
stuff such as running iPerf inside a domU.
In some cases (when dom0 has updated or switched its page directory) I
need to update the cache in the domU page directory, that involves doing
a memcpy of 48*4 = 192 bytes. How frequently this happens depends on the
kind of stuff running in dom0 userspace, i.e. for the iperf test is very
rare.
At this point I have no idea if this increases domU I/O performance, as
right now I am getting bad iperf numbers in domU both with and without
this patch applied to Xen, but just wanted to let people know that I am
still working on this thing when I can find the time.
Best regards,
Jacob
reply other threads:[~2005-04-26 3:41 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=426DB879.40805@diku.dk \
--to=jacobg@diku.dk \
--cc=xen-devel@lists.xensource.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.